Skip to content

Commit aeb3ec9

Browse files
lrw514rleon
authored andcommitted
net/mlx5: Add device cap abs_native_port_num
When the abs_native_port_num is set, the native_port_num reported by the device may not be continuous and bigger than the num_lag_ports. Signed-off-by: Rongwei Liu <[email protected]> Reviewed-by: Shay Drory <[email protected]> Reviewed-by: Saeed Mahameed <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
1 parent f09ed83 commit aeb3ec9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1599,7 +1599,8 @@ enum {
15991599
struct mlx5_ifc_cmd_hca_cap_bits {
16001600
u8 reserved_at_0[0x6];
16011601
u8 page_request_disable[0x1];
1602-
u8 reserved_at_7[0x9];
1602+
u8 abs_native_port_num[0x1];
1603+
u8 reserved_at_8[0x8];
16031604
u8 shared_object_to_user_object_allowed[0x1];
16041605
u8 reserved_at_13[0xe];
16051606
u8 vhca_resource_manager[0x1];

0 commit comments

Comments
 (0)