summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2023-06-12 18:31:00 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-06-14 14:12:20 +0300
commite0db883b6949bd0b5b221893e30afd5f838783b1 (patch)
tree97bb16a21a8eaf7dbeb0d36158cffd7a15592902 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h
parent2bddad9ec65a925da4ab4f73a9377d80540ca67b (diff)
downloadlinux-e0db883b6949bd0b5b221893e30afd5f838783b1.tar.xz
mlxsw: spectrum_router: Extract a helper from mlxsw_sp_port_vlan_router_join()
Split out of mlxsw_sp_port_vlan_router_join() the part that checks for RIF and dispatches to __mlxsw_sp_port_vlan_router_join(), leaving it as wrapper that just manages the router lock. The new function, mlxsw_sp_port_vlan_router_join_existing(), will be useful as an atom in later patches. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
0 files changed, 0 insertions, 0 deletions