summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDragos Tatulea <dtatulea@nvidia.com>2026-05-29 08:23:58 +0300
committerLeon Romanovsky <leon@kernel.org>2026-06-07 06:10:07 -0400
commitcc71b7f32f0ba8bd95f57e519303ce79f01fd467 (patch)
tree20c2021bfde77a319cc4c360a0606217868ef650 /include/linux
parent02c54621e81ccdc1907e2d735bcda751f2caade1 (diff)
downloadlwn-cc71b7f32f0ba8bd95f57e519303ce79f01fd467.tar.gz
lwn-cc71b7f32f0ba8bd95f57e519303ce79f01fd467.zip
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 6a675f918c40..d23332cdd9b3 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -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;