diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-02-23 18:13:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-25 21:20:20 +0100 |
commit | 65aebfc002abc1827ac7c8644a2bba0459ce3ce2 (patch) | |
tree | 60a6298a94bbee916fd1853059b4dff31be40596 /Documentation/networking | |
parent | Merge branch 'vxlan-rx-cleanups' (diff) | |
download | linux-65aebfc002abc1827ac7c8644a2bba0459ce3ce2.tar.xz linux-65aebfc002abc1827ac7c8644a2bba0459ce3ce2.zip |
net: dsa: add port_vlan_dump routine
Similar to port_fdb_dump, add a port_vlan_dump function to DSA drivers
which gets passed the switchdev VLAN object and callback.
This function, if implemented, takes precedence over the soon legacy
vlan_getnext/port_pvid_get approach.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/dsa/dsa.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/dsa/dsa.txt b/Documentation/networking/dsa/dsa.txt index ebf21530471f..350a502e031f 100644 --- a/Documentation/networking/dsa/dsa.txt +++ b/Documentation/networking/dsa/dsa.txt @@ -554,6 +554,10 @@ Bridge VLAN filtering - port_vlan_del: bridge layer function invoked when a VLAN is removed from the given switch port +- port_vlan_dump: bridge layer function invoked with a switchdev callback + function that the driver has to call for each VLAN the given port is a member + of. A switchdev object is used to carry the VID and bridge flags. + - vlan_getnext: bridge layer function invoked to query the next configured VLAN in the switch, i.e. returns the bitmaps of members and untagged ports |