]> www.infradead.org Git - users/dwmw2/linux.git/commit
mlxsw: spectrum_switchdev: Remove VXLAN checks during FID membership
authorIdo Schimmel <idosch@mellanox.com>
Mon, 17 Feb 2020 14:29:34 +0000 (16:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 22:42:53 +0000 (14:42 -0800)
commit578e55124c102a8fe695f353853fc8252ba53fcb
tree891026cb151bcc583f02805a2bc6032bd48595e7
parent71afb45a14d670d9009c4aef8477aa4fc8c11288
mlxsw: spectrum_switchdev: Remove VXLAN checks during FID membership

As explained in previous patch, VXLAN devices now take a reference on
the FID and not only local ports. Therefore, there is no need for local
ports to check if they need to set a VNI on the FID when they join the
FID.

Remove these unnecessary checks.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c