OSDN Git Service

switchdev: convert fib_ipv4_add/del over to switchdev_port_obj_add/del
authorScott Feldman <sfeldma@gmail.com>
Sun, 10 May 2015 16:48:06 +0000 (09:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2015 22:43:55 +0000 (18:43 -0400)
commit58c2cb16b116d7feace621bd6b647bbabacfa225
tree01dba341543ad33607c95eee011fded948a755e0
parent85fdb956726ff2af609e2f6ea7be781e4db74a07
switchdev: convert fib_ipv4_add/del over to switchdev_port_obj_add/del

The IPv4 FIB ops convert nicely to the switchdev objs and we're left with
only four switchdev ops: port get/set and port add/del.  Other objs will
follow, such as FDB.  So go ahead and convert IPv4 FIB over to switchdev
obj for consistency, anticipating more objs to come.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c
include/net/switchdev.h
net/switchdev/switchdev.c