switchdev: add support for fdb add/del/dump via switchdev_port_obj ops.
authorSamudrala, Sridhar <sridhar.samudrala@intel.com>
Thu, 14 May 2015 04:55:43 +0000 (21:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2015 02:49:09 +0000 (22:49 -0400)
commit45d4122ca7cdb3a4b91f392605cd22cfa75f1d99
tree5b4524c25f701e345a1526ce9379ea5b3c1beee2
parent5d48ef3e954cae2f237ff8e006322d2f3b672375
switchdev: add support for fdb add/del/dump via switchdev_port_obj ops.

- introduce port fdb obj and generic switchdev_port_fdb_add/del/dump()
- use switchdev_port_fdb_add/del/dump in rocker/team/bonding ndo ops.
- add support for fdb obj in switchdev_port_obj_add/del/dump()
- switch rocker to implement fdb ops via switchdev_ops

v3: updated to sync with named union changes.

Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/ethernet/rocker/rocker.c
drivers/net/team/team.c
include/net/switchdev.h
net/switchdev/switchdev.c