net/mlx5: CQ hold/put API
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 1 Feb 2018 11:32:00 +0000 (03:32 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 15 Feb 2018 08:30:01 +0000 (00:30 -0800)
commitf105b45bf77ced96e516e1cd771c41bb7e8c830b
treebc86d8533f9f0ffc3187d7bf13565610f2e3f15e
parentd5c07157dd4f5ab9123eaab7db572ca360c19a55
net/mlx5: CQ hold/put API

Now as the CQ table is per EQ, add an API to hold/put CQ to be used from
eq.c in downstream patch.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Gal Pressman <galp@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cq.c
include/linux/mlx5/cq.h