]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: add port_fdb_dump function
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 22 Oct 2015 13:34:38 +0000 (09:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 14:38:35 +0000 (07:38 -0700)
commit60d10660060fbd9e1a469531305cf16e2df56b5e
tree0d830a198b504eb3e23a02d0d6da78a415da930e
parent415aba896040b32f005ba4f5909e035bd483ce6f
net: dsa: add port_fdb_dump function

Not all switch chips support a Get Next operation to iterate on its FDB.
So add a more simple port_fdb_dump function for them.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/slave.c