Lines Matching refs:fdb
128 const struct net_bridge_fdb_entry *fdb, in br_switchdev_fdb_populate() argument
131 const struct net_bridge_port *p = READ_ONCE(fdb->dst); in br_switchdev_fdb_populate()
133 item->addr = fdb->key.addr.addr; in br_switchdev_fdb_populate()
134 item->vid = fdb->key.vlan_id; in br_switchdev_fdb_populate()
135 item->added_by_user = test_bit(BR_FDB_ADDED_BY_USER, &fdb->flags); in br_switchdev_fdb_populate()
136 item->offloaded = test_bit(BR_FDB_OFFLOADED, &fdb->flags); in br_switchdev_fdb_populate()
137 item->is_local = test_bit(BR_FDB_LOCAL, &fdb->flags); in br_switchdev_fdb_populate()
144 const struct net_bridge_fdb_entry *fdb, int type) in br_switchdev_fdb_notify() argument
148 br_switchdev_fdb_populate(br, &item, fdb, NULL); in br_switchdev_fdb_notify()
286 const struct net_bridge_fdb_entry *fdb, in br_switchdev_fdb_replay_one() argument
292 br_switchdev_fdb_populate(br, &item, fdb, ctx); in br_switchdev_fdb_replay_one()
302 struct net_bridge_fdb_entry *fdb; in br_switchdev_fdb_replay() local
322 hlist_for_each_entry_rcu(fdb, &br->fdb_list, fdb_node) { in br_switchdev_fdb_replay()
323 err = br_switchdev_fdb_replay_one(br, nb, fdb, action, ctx); in br_switchdev_fdb_replay()