Skip to content

Commit 99407d8

Browse files
haukedavem330
authored andcommitted
net: dsa: Remove documentation for port_fdb_prepare
This callback was removed some time ago, also remove the documentation. Fixes: 1b6dd55 ("net: dsa: Remove prepare phase for FDB") Signed-off-by: Hauke Mehrtens <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 278e214 commit 99407d8

File tree

1 file changed

+3
-7
lines changed
  • Documentation/networking/dsa

1 file changed

+3
-7
lines changed

Documentation/networking/dsa/dsa.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -533,16 +533,12 @@ Bridge VLAN filtering
533533
function that the driver has to call for each VLAN the given port is a member
534534
of. A switchdev object is used to carry the VID and bridge flags.
535535

536-
- port_fdb_prepare: bridge layer function invoked when the bridge prepares the
537-
installation of a Forwarding Database entry. If the operation is not
538-
supported, this function should return -EOPNOTSUPP to inform the bridge code
539-
to fallback to a software implementation. No hardware setup must be done in
540-
this function. See port_fdb_add for this and details.
541-
542536
- port_fdb_add: bridge layer function invoked when the bridge wants to install a
543537
Forwarding Database entry, the switch hardware should be programmed with the
544538
specified address in the specified VLAN Id in the forwarding database
545-
associated with this VLAN ID
539+
associated with this VLAN ID. If the operation is not supported, this
540+
function should return -EOPNOTSUPP to inform the bridge code to fallback to
541+
a software implementation.
546542

547543
Note: VLAN ID 0 corresponds to the port private database, which, in the context
548544
of DSA, would be the its port-based VLAN, used by the associated bridge device.

0 commit comments

Comments
 (0)