]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: E-Switch, Move vport acls root namespaces creation to eswitch
authorSaeed Mahameed <saeedm@nvidia.com>
Fri, 29 Aug 2025 22:37:17 +0000 (15:37 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 2 Sep 2025 13:18:16 +0000 (15:18 +0200)
commitfaa6ac53cdaa26f80e4b44e6255a52bd67b83acb
treeac0d98fba97c13e53c8de50a4f3b6134d10e44dd
parent2e894b99c0172759f89af506cdd898ced0b14e13
net/mlx5: E-Switch, Move vport acls root namespaces creation to eswitch

Move the loop that creates the vports ACLs root name spaces to eswitch,
since it is the eswitch responsibility to decide when and how many
vports ACLs root namespaces to create, in the next patches we will use
the fs_core vport ACL root namespace APIs to create/remove root ns
ACLs dynamically for dynamically created vports.

Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250829223722.900629-3-saeed@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h