diff options
Diffstat (limited to 'include/linux/mlx4/device.h')
| -rw-r--r-- | include/linux/mlx4/device.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 6d1acb04cd1..21821da2abf 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
| @@ -142,6 +142,8 @@ enum { | |||
| 142 | MLX4_DEV_CAP_FLAG_COUNTERS = 1LL << 48, | 142 | MLX4_DEV_CAP_FLAG_COUNTERS = 1LL << 48, |
| 143 | MLX4_DEV_CAP_FLAG_SENSE_SUPPORT = 1LL << 55, | 143 | MLX4_DEV_CAP_FLAG_SENSE_SUPPORT = 1LL << 55, |
| 144 | MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV = 1LL << 59, | 144 | MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV = 1LL << 59, |
| 145 | MLX4_DEV_CAP_FLAG_64B_EQE = 1LL << 61, | ||
| 146 | MLX4_DEV_CAP_FLAG_64B_CQE = 1LL << 62 | ||
| 145 | }; | 147 | }; |
| 146 | 148 | ||
| 147 | enum { | 149 | enum { |
| @@ -151,6 +153,20 @@ enum { | |||
| 151 | MLX4_DEV_CAP_FLAG2_FS_EN = 1LL << 3 | 153 | MLX4_DEV_CAP_FLAG2_FS_EN = 1LL << 3 |
| 152 | }; | 154 | }; |
| 153 | 155 | ||
| 156 | enum { | ||
| 157 | MLX4_DEV_CAP_64B_EQE_ENABLED = 1LL << 0, | ||
| 158 | MLX4_DEV_CAP_64B_CQE_ENABLED = 1LL << 1 | ||
| 159 | }; | ||
| 160 | |||
| 161 | enum { | ||
| 162 | MLX4_USER_DEV_CAP_64B_CQE = 1L << 0 | ||
| 163 | }; | ||
| 164 | |||
| 165 | enum { | ||
| 166 | MLX4_FUNC_CAP_64B_EQE_CQE = 1L << 0 | ||
| 167 | }; | ||
| 168 | |||
| 169 | |||
| 154 | #define MLX4_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90) | 170 | #define MLX4_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90) |
| 155 | 171 | ||
| 156 | enum { | 172 | enum { |
| @@ -419,6 +435,11 @@ struct mlx4_caps { | |||
| 419 | u32 max_counters; | 435 | u32 max_counters; |
| 420 | u8 port_ib_mtu[MLX4_MAX_PORTS + 1]; | 436 | u8 port_ib_mtu[MLX4_MAX_PORTS + 1]; |
| 421 | u16 sqp_demux; | 437 | u16 sqp_demux; |
| 438 | u32 eqe_size; | ||
| 439 | u32 cqe_size; | ||
| 440 | u8 eqe_factor; | ||
| 441 | u32 userspace_caps; /* userspace must be aware of these */ | ||
| 442 | u32 function_caps; /* VFs must be aware of these */ | ||
| 422 | }; | 443 | }; |
| 423 | 444 | ||
| 424 | struct mlx4_buf_list { | 445 | struct mlx4_buf_list { |
