]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'dsa-port_fdb_dump'
authorDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 14:39:07 +0000 (07:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 14:39:07 +0000 (07:39 -0700)
Vivien Didelot says:

====================
net: dsa: implement port_fdb_dump in drivers

Not all switch chips provide a Get Next kind of operation to dump FDB entries.
It is preferred to let the driver handle the dump operation the way it works
best for the chip. Thus, drop port_fdb_getnext and implement the port_fdb_dump
operation in DSA, which pushes the switchdev FDB dump callback down to the
drivers. mv88e6xxx is the only driver affected and is updated accordingly.

v3 -> v4: fix rejects on latest net-next

v2 -> v3: opencode switchdev_obj_dump_cb_t to avoid multiple typedef;
          use ether_addr_copy in fdb_dump

v1 -> v2: fix a few "return err" instead of "goto unlock" in mv88e6xxx.c
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge