diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-10-08 11:35:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-11 08:28:50 -0400 |
commit | 1f36faf26943f5f5fc1d1a7be6ce252d2ff25e1a (patch) | |
tree | 3b36239e3821ef482868190b74f63187ef559807 /include/net/dsa.h | |
parent | 146a32067b3fde1424d737d7fb333eb0951e6419 (diff) |
net: dsa: push prepare phase in port_fdb_add
Now that the prepare phase is pushed down to the DSA drivers, propagate
it to the port_fdb_add function.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 4f66f8411583..ce8f9b748a77 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h | |||
@@ -323,7 +323,8 @@ struct dsa_switch_driver { | |||
323 | const struct switchdev_obj_port_fdb *fdb, | 323 | const struct switchdev_obj_port_fdb *fdb, |
324 | struct switchdev_trans *trans); | 324 | struct switchdev_trans *trans); |
325 | int (*port_fdb_add)(struct dsa_switch *ds, int port, | 325 | int (*port_fdb_add)(struct dsa_switch *ds, int port, |
326 | const unsigned char *addr, u16 vid); | 326 | const struct switchdev_obj_port_fdb *fdb, |
327 | struct switchdev_trans *trans); | ||
327 | int (*port_fdb_del)(struct dsa_switch *ds, int port, | 328 | int (*port_fdb_del)(struct dsa_switch *ds, int port, |
328 | const unsigned char *addr, u16 vid); | 329 | const unsigned char *addr, u16 vid); |
329 | int (*port_fdb_getnext)(struct dsa_switch *ds, int port, | 330 | int (*port_fdb_getnext)(struct dsa_switch *ds, int port, |