diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-10-08 15:35:14 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-11 12:28:52 (GMT) |
commit | 8057b3e7a1cfb4da61717ba609e1ea642bb82f9b (patch) | |
tree | 079695ca71bcde8fcb2b7ce89beec414d64082ce /include/net/dsa.h | |
parent | 1f36faf26943f5f5fc1d1a7be6ce252d2ff25e1a (diff) | |
download | linux-8057b3e7a1cfb4da61717ba609e1ea642bb82f9b.tar.xz |
net: dsa: use switchdev obj in port_fdb_del
For consistency with the FDB add operation, propagate the
switchdev_obj_port_fdb structure in the DSA drivers.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r-- | include/net/dsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index ce8f9b7..e005886 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -326,7 +326,7 @@ struct dsa_switch_driver { const struct switchdev_obj_port_fdb *fdb, struct switchdev_trans *trans); int (*port_fdb_del)(struct dsa_switch *ds, int port, - const unsigned char *addr, u16 vid); + const struct switchdev_obj_port_fdb *fdb); int (*port_fdb_getnext)(struct dsa_switch *ds, int port, unsigned char *addr, u16 *vid, bool *is_static); |