aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index fbca63ba8f73..6356f437e911 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -296,12 +296,17 @@ struct dsa_switch_driver {
296 u32 br_port_mask); 296 u32 br_port_mask);
297 int (*port_stp_update)(struct dsa_switch *ds, int port, 297 int (*port_stp_update)(struct dsa_switch *ds, int port,
298 u8 state); 298 u8 state);
299 int (*fdb_add)(struct dsa_switch *ds, int port, 299
300 const unsigned char *addr, u16 vid); 300 /*
301 int (*fdb_del)(struct dsa_switch *ds, int port, 301 * Forwarding database
302 const unsigned char *addr, u16 vid); 302 */
303 int (*fdb_getnext)(struct dsa_switch *ds, int port, 303 int (*port_fdb_add)(struct dsa_switch *ds, int port,
304 unsigned char *addr, bool *is_static); 304 const unsigned char *addr, u16 vid);
305 int (*port_fdb_del)(struct dsa_switch *ds, int port,
306 const unsigned char *addr, u16 vid);
307 int (*port_fdb_getnext)(struct dsa_switch *ds, int port,
308 unsigned char *addr, u16 *vid,
309 bool *is_static);
305}; 310};
306 311
307void register_switch_driver(struct dsa_switch_driver *type); 312void register_switch_driver(struct dsa_switch_driver *type);