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)
commit998eb8079f03f44d4017d7941c082b4a57eb2db8
tree75dc9acfc1527604786d6747bf1ad6def40ad7cc
parente9829b9745b6e1683fd2a90842da498a2197299e
parent1a49a2fbf8c15d63a0b5e60d935ec7d5d3d07fd5
Merge branch 'dsa-port_fdb_dump'

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>