]> 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)
commit4ea60991c20ba0afe40d8c7d9b597082a2b0b881
tree0d830a198b504eb3e23a02d0d6da78a415da930e
parentd46c741ec3be2dbf87449bd801a8747477a210e5
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