diff options
author | Ido Schimmel <idosch@mellanox.com> | 2015-12-15 16:03:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-15 11:58:20 -0500 |
commit | 9d547833f02fb8b52ab824adae8f850f3c22fd4f (patch) | |
tree | 9d0e5195728668b230c60e9d843336425b26eb4c /net/switchdev | |
parent | 335b320940ef938c39e68eb363d26096c260057e (diff) |
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 <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions