Lines Matching refs:br_dev

314 br_switchdev_fdb_replay(const struct net_device *br_dev, const void *ctx,  in br_switchdev_fdb_replay()  argument
325 if (!netif_is_bridge_master(br_dev)) in br_switchdev_fdb_replay()
328 br = netdev_priv(br_dev); in br_switchdev_fdb_replay()
348 static int br_switchdev_vlan_attr_replay(struct net_device *br_dev, in br_switchdev_vlan_attr_replay() argument
355 .dev = br_dev, in br_switchdev_vlan_attr_replay()
360 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_attr_replay()
367 attr.orig_dev = br_dev; in br_switchdev_vlan_attr_replay()
446 static int br_switchdev_vlan_replay(struct net_device *br_dev, in br_switchdev_vlan_replay() argument
451 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_replay()
461 if (!netif_is_bridge_master(br_dev)) in br_switchdev_vlan_replay()
469 err = br_switchdev_vlan_replay_group(nb, br_dev, br_vlan_group(br), in br_switchdev_vlan_replay()
485 err = br_switchdev_vlan_attr_replay(br_dev, ctx, nb, extack); in br_switchdev_vlan_replay()
674 br_switchdev_mdb_replay(struct net_device *br_dev, struct net_device *dev, in br_switchdev_mdb_replay() argument
691 if (!netif_is_bridge_master(br_dev) || !netif_is_bridge_port(dev)) in br_switchdev_mdb_replay()
694 br = netdev_priv(br_dev); in br_switchdev_mdb_replay()
720 mp, br_dev); in br_switchdev_mdb_replay()
772 struct net_device *br_dev = p->br->dev; in nbp_switchdev_sync_objs() local
776 err = br_switchdev_vlan_replay(br_dev, ctx, true, blocking_nb, extack); in nbp_switchdev_sync_objs()
780 err = br_switchdev_mdb_replay(br_dev, dev, ctx, true, blocking_nb, in nbp_switchdev_sync_objs()
787 err = br_switchdev_fdb_replay(br_dev, ctx, true, atomic_nb); in nbp_switchdev_sync_objs()
799 struct net_device *br_dev = p->br->dev; in nbp_switchdev_unsync_objs() local
802 br_switchdev_fdb_replay(br_dev, ctx, false, atomic_nb); in nbp_switchdev_unsync_objs()
804 br_switchdev_mdb_replay(br_dev, dev, ctx, false, blocking_nb, NULL); in nbp_switchdev_unsync_objs()
806 br_switchdev_vlan_replay(br_dev, ctx, false, blocking_nb, NULL); in nbp_switchdev_unsync_objs()