summaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-06-04 06:43:42 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-04 09:47:23 +0300
commit4b5364fbdce7e4b947e6e76d7341675ea2e12f4d (patch)
treef8e491787edb050d8a628534c4a873563303ebcc /Documentation/networking
parentd290f1fc7092814ee0e14b80ad09b06af7bd3484 (diff)
downloadlinux-4b5364fbdce7e4b947e6e76d7341675ea2e12f4d.tar.xz
switchdev: documentation: for static FDB ops, use switchdev_port_fdb_xxx ops
Signed-off-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/switchdev.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/switchdev.txt b/Documentation/networking/switchdev.txt
index 0554b68e1fab..00c703ce6903 100644
--- a/Documentation/networking/switchdev.txt
+++ b/Documentation/networking/switchdev.txt
@@ -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) ?