net/mlx4: introducing consumer index mask
authorMoti Haimovsky <motih@mellanox.com>
Wed, 25 Oct 2017 15:37:26 +0000 (18:37 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 23:05:55 +0000 (01:05 +0200)
commit096134582c4e505d95228ef640741d2aacca2e6f
tree481875896e530d86639fa8583fbdf98229201d3a
parent1a2ba426a62ef143c8d91c1ffbabc42749f9ddb5
net/mlx4: introducing consumer index mask

This commit defines MLX4_CQ_DB_CI_MASK which is used when updating
the consumer index of the completion queue instead of the hardcoded
0xffffff used until now.

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx4/mlx4_prm.h
drivers/net/mlx4/mlx4_rxtx.c