]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: add port_vlan_dump routine
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 23 Feb 2016 17:13:54 +0000 (12:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 20:20:20 +0000 (15:20 -0500)
commit508275c749af6469d3396ab6fc11a7ef70b9ac8a
tree60a6298a94bbee916fd1853059b4dff31be40596
parent3258625066822a8b6683283e23b185bd56d7fbc4
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>
Documentation/networking/dsa/dsa.txt
include/net/dsa.h
net/dsa/slave.c