common/mlx5: share CQ entry check
authorMatan Azrad <matan@mellanox.com>
Wed, 29 Jan 2020 12:38:31 +0000 (12:38 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commit8fc742175945d05ee75a537b10c28a707364c9d3
tree887c6db09ef39b628159af91c53002daaf7e0f6f
parente415f348e3e9d10e9c2c244f441374083b151575
common/mlx5: share CQ entry check

The CQE has owner bit to indicate if it is in SW control or HW.

Share a CQE check for all the mlx5 drivers.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/common/mlx5/mlx5_common.h
drivers/net/mlx5/mlx5_rxtx.h