From: David S. Miller Date: Thu, 22 Oct 2015 14:39:07 +0000 (-0700) Subject: Merge branch 'dsa-port_fdb_dump' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=998eb8079f03f44d4017d7941c082b4a57eb2db8;p=linux-beck.git 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 --- 998eb8079f03f44d4017d7941c082b4a57eb2db8