Skip to content

Commit f09ed83

Browse files
Cosmin Ratiurleon
authored andcommitted
net/mlx5: qos: Add ifc support for cross-esw scheduling
This adds the capability bit and the vport element fields related to cross-esw scheduling. Signed-off-by: Cosmin Ratiu <[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 0371310 commit f09ed83

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
@@ -1095,7 +1095,9 @@ struct mlx5_ifc_qos_cap_bits {
10951095
u8 log_esw_max_sched_depth[0x4];
10961096
u8 reserved_at_10[0x10];
10971097

1098-
u8 reserved_at_20[0xb];
1098+
u8 reserved_at_20[0x9];
1099+
u8 esw_cross_esw_sched[0x1];
1100+
u8 reserved_at_2a[0x1];
10991101
u8 log_max_qos_nic_queue_group[0x5];
11001102
u8 reserved_at_30[0x10];
11011103

@@ -4139,13 +4141,16 @@ struct mlx5_ifc_tsar_element_bits {
41394141
};
41404142

41414143
struct mlx5_ifc_vport_element_bits {
4142-
u8 reserved_at_0[0x10];
4144+
u8 reserved_at_0[0x4];
4145+
u8 eswitch_owner_vhca_id_valid[0x1];
4146+
u8 eswitch_owner_vhca_id[0xb];
41434147
u8 vport_number[0x10];
41444148
};
41454149

41464150
struct mlx5_ifc_vport_tc_element_bits {
41474151
u8 traffic_class[0x4];
4148-
u8 reserved_at_4[0xc];
4152+
u8 eswitch_owner_vhca_id_valid[0x1];
4153+
u8 eswitch_owner_vhca_id[0xb];
41494154
u8 vport_number[0x10];
41504155
};
41514156

0 commit comments

Comments
 (0)