]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit173a4d6ba8b84ceac6ee78064f198c43e3b4dd2e
tree5b4524c25f701e345a1526ce9379ea5b3c1beee2
parent7fd42250d2097e529ff64de6428bbe8df941623d
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