aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2018-11-07 14:34:52 +0000
committerSaeed Mahameed <[email protected]>2018-12-17 19:03:27 +0000
commitaec002f6f82cbfb39f92605614a88dd7a200a766 (patch)
tree90343cc5c6e919693df6ad397902c96989253dad /net/tipc/node.c
parentnet/mlx5e: Remove leftover code from the PF netdev being uplink rep (diff)
downloadkernel-aec002f6f82cbfb39f92605614a88dd7a200a766.tar.gz
kernel-aec002f6f82cbfb39f92605614a88dd7a200a766.zip
net/mlx5e: Uninstantiate esw manager vport netdev on switchdev mode
Now, when we have a dedicated uplink representor, the netdev instance set over the esw manager vport (PF) is of no-use. As such, remove it once we're on switchdev mode and get it back to life when off switchdev. This is done by reloading the Ethernet interface as well (we already do that for the IB interface) from the eswitch code while going in/out of switchdev mode. The Eth add/remove entries are modified to act differently when called in switchdev mode. In this case we only deal with registration of the eth vport representors. The rep netdevices are created from the eswitch call to load the registered eth representors. Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions