net/mlx4_core: Enable CQE/EQE stride support
[cascardo/linux.git] / drivers / net / ethernet / mellanox / mlx4 / mlx4.h
index b508c78..de10dbb 100644 (file)
@@ -285,6 +285,9 @@ struct mlx4_icm_table {
 #define MLX4_MPT_STATUS_SW             0xF0
 #define MLX4_MPT_STATUS_HW             0x00
 
+#define MLX4_CQE_SIZE_MASK_STRIDE      0x3
+#define MLX4_EQE_SIZE_MASK_STRIDE      0x30
+
 /*
  * Must be packed because mtt_seg is 64 bits but only aligned to 32 bits.
  */