mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-27 15:40:10 -04:00
net/mlx5: Update IFC allowed_list_size field bits
The vport context allowed_list_size was increased from 12 to 16 bits. Writing to this field is protected by the log_max_current_uc/mc_list capabilities. On older FW versions these capabilities are limited to < 2K and only the high bits of the field are extended. This means that the change is backward compatible with older FW versions. Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260529052359.389413-2-tariqt@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
committed by
Leon Romanovsky
parent
02c54621e8
commit
cc71b7f32f
@@ -4487,8 +4487,8 @@ struct mlx5_ifc_nic_vport_context_bits {
|
||||
u8 promisc_all[0x1];
|
||||
u8 reserved_at_783[0x2];
|
||||
u8 allowed_list_type[0x3];
|
||||
u8 reserved_at_788[0xc];
|
||||
u8 allowed_list_size[0xc];
|
||||
u8 reserved_at_788[0x8];
|
||||
u8 allowed_list_size[0x10];
|
||||
|
||||
struct mlx5_ifc_mac_address_layout_bits permanent_address;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user