net: dsa: add port fdb dump
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 20 Sep 2017 23:32:14 +0000 (19:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 22:24:01 +0000 (15:24 -0700)
commitde40fc5d210f2c31f2c25a9b920861276a71b70d
tree085a2d7298d060e6eb28c2582a60f41170eceb77
parent4fa7b718881a5358286903b796968cea80993820
net: dsa: add port fdb dump

Dumping a DSA port's FDB entries is not specific to a DSA slave, so add
a dsa_port_fdb_dump function, similarly to dsa_port_fdb_add and
dsa_port_fdb_del.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa_priv.h
net/dsa/port.c
net/dsa/slave.c