diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
| -rw-r--r-- | drivers/infiniband/hw/mlx4/mlx4_ib.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/mlx4_ib.h b/drivers/infiniband/hw/mlx4/mlx4_ib.h index a230683af940..febc8f9bc59a 100644 --- a/drivers/infiniband/hw/mlx4/mlx4_ib.h +++ b/drivers/infiniband/hw/mlx4/mlx4_ib.h | |||
| @@ -241,6 +241,22 @@ struct mlx4_ib_proxy_sqp_hdr { | |||
| 241 | struct mlx4_rcv_tunnel_hdr tun; | 241 | struct mlx4_rcv_tunnel_hdr tun; |
| 242 | } __packed; | 242 | } __packed; |
| 243 | 243 | ||
| 244 | struct mlx4_roce_smac_vlan_info { | ||
| 245 | u64 smac; | ||
| 246 | int smac_index; | ||
| 247 | int smac_port; | ||
| 248 | u64 candidate_smac; | ||
| 249 | int candidate_smac_index; | ||
| 250 | int candidate_smac_port; | ||
| 251 | u16 vid; | ||
| 252 | int vlan_index; | ||
| 253 | int vlan_port; | ||
| 254 | u16 candidate_vid; | ||
| 255 | int candidate_vlan_index; | ||
| 256 | int candidate_vlan_port; | ||
| 257 | int update_vid; | ||
| 258 | }; | ||
| 259 | |||
| 244 | struct mlx4_ib_qp { | 260 | struct mlx4_ib_qp { |
| 245 | struct ib_qp ibqp; | 261 | struct ib_qp ibqp; |
| 246 | struct mlx4_qp mqp; | 262 | struct mlx4_qp mqp; |
| @@ -273,8 +289,9 @@ struct mlx4_ib_qp { | |||
| 273 | struct list_head gid_list; | 289 | struct list_head gid_list; |
| 274 | struct list_head steering_rules; | 290 | struct list_head steering_rules; |
| 275 | struct mlx4_ib_buf *sqp_proxy_rcv; | 291 | struct mlx4_ib_buf *sqp_proxy_rcv; |
| 292 | struct mlx4_roce_smac_vlan_info pri; | ||
| 293 | struct mlx4_roce_smac_vlan_info alt; | ||
| 276 | u64 reg_id; | 294 | u64 reg_id; |
| 277 | |||
| 278 | }; | 295 | }; |
| 279 | 296 | ||
| 280 | struct mlx4_ib_srq { | 297 | struct mlx4_ib_srq { |
