Skip to content

Commit

Permalink
net/mlx5: Add IPoIB enhanced offloads bits to mlx5_ifc
Browse files Browse the repository at this point in the history
New capability bit: ipoib_enhanced_offloads, indicates new ability for UD
QP to do RSS and enhanced IPoIB offloads and acceleration.

Add underlay_qpn to the TIS and flow_table objects In order to support
SET_ROOT command, to connect between IPoIB QPs and flow steering tables.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Erez Shitrit authored and David S. Miller committed Apr 17, 2017
1 parent f72860a commit 500a3d0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions include/linux/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {

u8 compact_address_vector[0x1];
u8 striding_rq[0x1];
u8 reserved_at_202[0x2];
u8 reserved_at_202[0x1];
u8 ipoib_enhanced_offloads[0x1];
u8 ipoib_basic_offloads[0x1];
u8 reserved_at_205[0xa];
u8 drain_sigerr[0x1];
Expand Down Expand Up @@ -2293,7 +2294,9 @@ struct mlx5_ifc_tisc_bits {
u8 reserved_at_120[0x8];
u8 transport_domain[0x18];

u8 reserved_at_140[0x3c0];
u8 reserved_at_140[0x8];
u8 underlay_qpn[0x18];
u8 reserved_at_160[0x3a0];
};

enum {
Expand Down Expand Up @@ -8218,7 +8221,9 @@ struct mlx5_ifc_set_flow_table_root_in_bits {
u8 reserved_at_a0[0x8];
u8 table_id[0x18];

u8 reserved_at_c0[0x140];
u8 reserved_at_c0[0x8];
u8 underlay_qpn[0x18];
u8 reserved_at_e0[0x120];
};

enum {
Expand Down

0 comments on commit 500a3d0

Please sign in to comment.