Skip to content

Commit 500a3d0

Browse files
Erez Shitritdavem330
authored andcommitted
net/mlx5: Add IPoIB enhanced offloads bits to mlx5_ifc
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 <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f72860a commit 500a3d0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
872872

873873
u8 compact_address_vector[0x1];
874874
u8 striding_rq[0x1];
875-
u8 reserved_at_202[0x2];
875+
u8 reserved_at_202[0x1];
876+
u8 ipoib_enhanced_offloads[0x1];
876877
u8 ipoib_basic_offloads[0x1];
877878
u8 reserved_at_205[0xa];
878879
u8 drain_sigerr[0x1];
@@ -2293,7 +2294,9 @@ struct mlx5_ifc_tisc_bits {
22932294
u8 reserved_at_120[0x8];
22942295
u8 transport_domain[0x18];
22952296

2296-
u8 reserved_at_140[0x3c0];
2297+
u8 reserved_at_140[0x8];
2298+
u8 underlay_qpn[0x18];
2299+
u8 reserved_at_160[0x3a0];
22972300
};
22982301

22992302
enum {
@@ -8218,7 +8221,9 @@ struct mlx5_ifc_set_flow_table_root_in_bits {
82188221
u8 reserved_at_a0[0x8];
82198222
u8 table_id[0x18];
82208223

8221-
u8 reserved_at_c0[0x140];
8224+
u8 reserved_at_c0[0x8];
8225+
u8 underlay_qpn[0x18];
8226+
u8 reserved_at_e0[0x120];
82228227
};
82238228

82248229
enum {

0 commit comments

Comments
 (0)