Lines Matching refs:br_dev
317 br_switchdev_fdb_replay(const struct net_device *br_dev, const void *ctx, in br_switchdev_fdb_replay() argument
328 if (!netif_is_bridge_master(br_dev)) in br_switchdev_fdb_replay()
331 br = netdev_priv(br_dev); in br_switchdev_fdb_replay()
351 static int br_switchdev_vlan_attr_replay(struct net_device *br_dev, in br_switchdev_vlan_attr_replay() argument
358 .dev = br_dev, in br_switchdev_vlan_attr_replay()
363 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_attr_replay()
370 attr.orig_dev = br_dev; in br_switchdev_vlan_attr_replay()
449 static int br_switchdev_vlan_replay(struct net_device *br_dev, in br_switchdev_vlan_replay() argument
454 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_replay()
464 if (!netif_is_bridge_master(br_dev)) in br_switchdev_vlan_replay()
472 err = br_switchdev_vlan_replay_group(nb, br_dev, br_vlan_group(br), in br_switchdev_vlan_replay()
488 err = br_switchdev_vlan_attr_replay(br_dev, ctx, nb, extack); in br_switchdev_vlan_replay()
682 br_switchdev_mdb_replay(struct net_device *br_dev, struct net_device *dev, in br_switchdev_mdb_replay() argument
699 if (!netif_is_bridge_master(br_dev) || !netif_is_bridge_port(dev)) in br_switchdev_mdb_replay()
702 br = netdev_priv(br_dev); in br_switchdev_mdb_replay()
728 mp, br_dev); in br_switchdev_mdb_replay()
780 struct net_device *br_dev = p->br->dev; in nbp_switchdev_sync_objs() local
784 err = br_switchdev_vlan_replay(br_dev, ctx, true, blocking_nb, extack); in nbp_switchdev_sync_objs()
788 err = br_switchdev_mdb_replay(br_dev, dev, ctx, true, blocking_nb, in nbp_switchdev_sync_objs()
795 err = br_switchdev_fdb_replay(br_dev, ctx, true, atomic_nb); in nbp_switchdev_sync_objs()
807 struct net_device *br_dev = p->br->dev; in nbp_switchdev_unsync_objs() local
810 br_switchdev_fdb_replay(br_dev, ctx, false, atomic_nb); in nbp_switchdev_unsync_objs()
812 br_switchdev_mdb_replay(br_dev, dev, ctx, false, blocking_nb, NULL); in nbp_switchdev_unsync_objs()
814 br_switchdev_vlan_replay(br_dev, ctx, false, blocking_nb, NULL); in nbp_switchdev_unsync_objs()