Lines Matching refs:bridge_dev

787 	struct net_device *bridge_dev = felix_classify_db(db);  in felix_fdb_add()  local
791 if (IS_ERR(bridge_dev)) in felix_fdb_add()
792 return PTR_ERR(bridge_dev); in felix_fdb_add()
794 if (dsa_port_is_cpu(dp) && !bridge_dev && in felix_fdb_add()
801 return ocelot_fdb_add(ocelot, port, addr, vid, bridge_dev); in felix_fdb_add()
808 struct net_device *bridge_dev = felix_classify_db(db); in felix_fdb_del() local
812 if (IS_ERR(bridge_dev)) in felix_fdb_del()
813 return PTR_ERR(bridge_dev); in felix_fdb_del()
815 if (dsa_port_is_cpu(dp) && !bridge_dev && in felix_fdb_del()
822 return ocelot_fdb_del(ocelot, port, addr, vid, bridge_dev); in felix_fdb_del()
829 struct net_device *bridge_dev = felix_classify_db(db); in felix_lag_fdb_add() local
832 if (IS_ERR(bridge_dev)) in felix_lag_fdb_add()
833 return PTR_ERR(bridge_dev); in felix_lag_fdb_add()
835 return ocelot_lag_fdb_add(ocelot, lag.dev, addr, vid, bridge_dev); in felix_lag_fdb_add()
842 struct net_device *bridge_dev = felix_classify_db(db); in felix_lag_fdb_del() local
845 if (IS_ERR(bridge_dev)) in felix_lag_fdb_del()
846 return PTR_ERR(bridge_dev); in felix_lag_fdb_del()
848 return ocelot_lag_fdb_del(ocelot, lag.dev, addr, vid, bridge_dev); in felix_lag_fdb_del()
855 struct net_device *bridge_dev = felix_classify_db(db); in felix_mdb_add() local
858 if (IS_ERR(bridge_dev)) in felix_mdb_add()
859 return PTR_ERR(bridge_dev); in felix_mdb_add()
861 if (dsa_is_cpu_port(ds, port) && !bridge_dev && in felix_mdb_add()
868 return ocelot_port_mdb_add(ocelot, port, mdb, bridge_dev); in felix_mdb_add()
875 struct net_device *bridge_dev = felix_classify_db(db); in felix_mdb_del() local
878 if (IS_ERR(bridge_dev)) in felix_mdb_del()
879 return PTR_ERR(bridge_dev); in felix_mdb_del()
881 if (dsa_is_cpu_port(ds, port) && !bridge_dev && in felix_mdb_del()
888 return ocelot_port_mdb_del(ocelot, port, mdb, bridge_dev); in felix_mdb_del()