Lines Matching refs:fdb
724 const struct switchdev_obj_port_fdb *fdb, in bcm_sf2_sw_fdb_prepare() argument
732 const struct switchdev_obj_port_fdb *fdb, in bcm_sf2_sw_fdb_add() argument
737 return bcm_sf2_arl_op(priv, 0, port, fdb->addr, fdb->vid, true); in bcm_sf2_sw_fdb_add()
741 const struct switchdev_obj_port_fdb *fdb) in bcm_sf2_sw_fdb_del() argument
745 return bcm_sf2_arl_op(priv, 0, port, fdb->addr, fdb->vid, false); in bcm_sf2_sw_fdb_del()
780 struct switchdev_obj_port_fdb *fdb, in bcm_sf2_sw_fdb_copy() argument
789 ether_addr_copy(fdb->addr, ent->mac); in bcm_sf2_sw_fdb_copy()
790 fdb->vid = ent->vid; in bcm_sf2_sw_fdb_copy()
791 fdb->ndm_state = ent->is_static ? NUD_NOARP : NUD_REACHABLE; in bcm_sf2_sw_fdb_copy()
793 return cb(&fdb->obj); in bcm_sf2_sw_fdb_copy()
797 struct switchdev_obj_port_fdb *fdb, in bcm_sf2_sw_fdb_dump() argument
816 ret = bcm_sf2_sw_fdb_copy(dev, port, &results[0], fdb, cb); in bcm_sf2_sw_fdb_dump()
821 ret = bcm_sf2_sw_fdb_copy(dev, port, &results[1], fdb, cb); in bcm_sf2_sw_fdb_dump()