Lines Matching refs:br_dev

301 br_switchdev_fdb_replay(const struct net_device *br_dev, const void *ctx,  in br_switchdev_fdb_replay()  argument
312 if (!netif_is_bridge_master(br_dev)) in br_switchdev_fdb_replay()
315 br = netdev_priv(br_dev); in br_switchdev_fdb_replay()
335 static int br_switchdev_vlan_attr_replay(struct net_device *br_dev, in br_switchdev_vlan_attr_replay() argument
342 .dev = br_dev, in br_switchdev_vlan_attr_replay()
347 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_attr_replay()
354 attr.orig_dev = br_dev; in br_switchdev_vlan_attr_replay()
433 static int br_switchdev_vlan_replay(struct net_device *br_dev, in br_switchdev_vlan_replay() argument
438 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_replay()
448 if (!netif_is_bridge_master(br_dev)) in br_switchdev_vlan_replay()
456 err = br_switchdev_vlan_replay_group(nb, br_dev, br_vlan_group(br), in br_switchdev_vlan_replay()
472 err = br_switchdev_vlan_attr_replay(br_dev, ctx, nb, extack); in br_switchdev_vlan_replay()
642 br_switchdev_mdb_replay(struct net_device *br_dev, struct net_device *dev, in br_switchdev_mdb_replay() argument
659 if (!netif_is_bridge_master(br_dev) || !netif_is_bridge_port(dev)) in br_switchdev_mdb_replay()
662 br = netdev_priv(br_dev); in br_switchdev_mdb_replay()
684 mp, br_dev); in br_switchdev_mdb_replay()
739 struct net_device *br_dev = p->br->dev; in nbp_switchdev_sync_objs() local
743 err = br_switchdev_vlan_replay(br_dev, ctx, true, blocking_nb, extack); in nbp_switchdev_sync_objs()
747 err = br_switchdev_mdb_replay(br_dev, dev, ctx, true, blocking_nb, in nbp_switchdev_sync_objs()
752 err = br_switchdev_fdb_replay(br_dev, ctx, true, atomic_nb); in nbp_switchdev_sync_objs()
764 struct net_device *br_dev = p->br->dev; in nbp_switchdev_unsync_objs() local
767 br_switchdev_fdb_replay(br_dev, ctx, false, atomic_nb); in nbp_switchdev_unsync_objs()
769 br_switchdev_mdb_replay(br_dev, dev, ctx, false, blocking_nb, NULL); in nbp_switchdev_unsync_objs()
771 br_switchdev_vlan_replay(br_dev, ctx, false, blocking_nb, NULL); in nbp_switchdev_unsync_objs()