Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net/mlx5: Add max_tx_speed and its CAP bit to IFC

Introduce the max_tx_speed field to the query and modify_vport_state
structures.

Add the esw_vport_state_max_tx_speed capability bit, indicating
the firmware support modifying the max_tx_speed field via the
MODIFY_VPORT_STATE command.

Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
Reviewed-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>

authored by

Or Har-Toov and committed by
Leon Romanovsky
3df5dd46 f8f9c1f4

+6 -3
+6 -3
include/linux/mlx5/mlx5_ifc.h
··· 1071 1071 u8 esw_shared_ingress_acl[0x1]; 1072 1072 u8 esw_uplink_ingress_acl[0x1]; 1073 1073 u8 root_ft_on_other_esw[0x1]; 1074 - u8 reserved_at_a[0xf]; 1074 + u8 reserved_at_a[0x1]; 1075 + u8 esw_vport_state_max_tx_speed[0x1]; 1076 + u8 reserved_at_c[0xd]; 1075 1077 u8 esw_functions_changed[0x1]; 1076 1078 u8 reserved_at_1a[0x1]; 1077 1079 u8 ecpf_vport_exists[0x1]; ··· 5447 5445 5448 5446 u8 reserved_at_40[0x20]; 5449 5447 5450 - u8 reserved_at_60[0x18]; 5448 + u8 max_tx_speed[0x10]; 5449 + u8 reserved_at_70[0x8]; 5451 5450 u8 admin_state[0x4]; 5452 5451 u8 state[0x4]; 5453 5452 }; ··· 7781 7778 u8 reserved_at_41[0xf]; 7782 7779 u8 vport_number[0x10]; 7783 7780 7784 - u8 reserved_at_60[0x10]; 7781 + u8 max_tx_speed[0x10]; 7785 7782 u8 ingress_connect[0x1]; 7786 7783 u8 egress_connect[0x1]; 7787 7784 u8 ingress_connect_valid[0x1];