switchdev: documentation: for static FDB ops, use switchdev_port_fdb_xxx ops
authorScott Feldman <sfeldma@gmail.com>
Thu, 4 Jun 2015 03:43:42 +0000 (20:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 06:47:23 +0000 (23:47 -0700)
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/switchdev.txt

index 0554b68e1fabe8fbaed59cd5339aa71d154ce7a9..00c703ce690339b33a773512197756d7bc683d9f 100644 (file)
@@ -177,6 +177,10 @@ entries are installed, for example, using iproute2 bridge cmd:
 
        bridge fdb add ADDR dev DEV [vlan VID] [self]
 
+The driver should use the helper switchdev_port_fdb_xxx ops for ndo_fdb_xxx
+ops, and handle add/delete/dump of SWITCHDEV_OBJ_PORT_FDB object using
+switchdev_port_obj_xxx ops.
+
 XXX: what should be done if offloading this rule to hardware fails (for
 example, due to full capacity in hardware tables) ?