aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2015-12-15 15:03:34 +0000
committerDavid S. Miller <[email protected]>2015-12-15 16:58:20 +0000
commit9d547833f02fb8b52ab824adae8f850f3c22fd4f (patch)
tree9d0e5195728668b230c60e9d843336425b26eb4c /net/switchdev/switchdev.c
parentMerge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher... (diff)
downloadkernel-9d547833f02fb8b52ab824adae8f850f3c22fd4f.tar.gz
kernel-9d547833f02fb8b52ab824adae8f850f3c22fd4f.zip
switchdev: vlan: Use switchdev_port* in vlan_netdev_ops
We need to be able to propagate static FDB entries and certain bridge port attributes (e.g. learning, flooding) down to the port netdev driver when bridge port is a VLAN interface. Achieve that by setting ndo_bridge* and ndo_fdb* in vlan_netdev_ops to the corresponding switchdev_port* functions. This is consistent with team and bond devices. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions