Commit ea7006a7 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

docs: net: dsa: re-explain what port_fdb_dump actually does

Switchdev has changed radically from its initial implementation, and the
currently provided definition is incorrect and very confusing.

Rewrite it in light of what it actually does.

Fixes: 2bedde1a ("net: dsa: Move FDB dump implementation inside DSA")
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e9d9bb6
...@@ -970,9 +970,12 @@ Bridge VLAN filtering ...@@ -970,9 +970,12 @@ Bridge VLAN filtering
the specified MAC address from the specified VLAN ID if it was mapped into the specified MAC address from the specified VLAN ID if it was mapped into
this port forwarding database this port forwarding database
- ``port_fdb_dump``: bridge layer function invoked with a switchdev callback - ``port_fdb_dump``: bridge bypass function invoked by ``ndo_fdb_dump`` on the
function that the driver has to call for each MAC address known to be behind physical DSA port interfaces. Since DSA does not attempt to keep in sync its
the given port. A switchdev object is used to carry the VID and FDB info. hardware FDB entries with the software bridge, this method is implemented as
a means to view the entries visible on user ports in the hardware database.
The entries reported by this function have the ``self`` flag in the output of
the ``bridge fdb show`` command.
- ``port_mdb_add``: bridge layer function invoked when the bridge wants to install - ``port_mdb_add``: bridge layer function invoked when the bridge wants to install
a multicast database entry. If the operation is not supported, this function a multicast database entry. If the operation is not supported, this function
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment