Lines Matching refs:fdb
129 const struct net_bridge_fdb_entry *fdb, in br_switchdev_fdb_populate() argument
132 const struct net_bridge_port *p = READ_ONCE(fdb->dst); in br_switchdev_fdb_populate()
134 item->addr = fdb->key.addr.addr; in br_switchdev_fdb_populate()
135 item->vid = fdb->key.vlan_id; in br_switchdev_fdb_populate()
136 item->added_by_user = test_bit(BR_FDB_ADDED_BY_USER, &fdb->flags); in br_switchdev_fdb_populate()
137 item->offloaded = test_bit(BR_FDB_OFFLOADED, &fdb->flags); in br_switchdev_fdb_populate()
138 item->is_local = test_bit(BR_FDB_LOCAL, &fdb->flags); in br_switchdev_fdb_populate()
145 const struct net_bridge_fdb_entry *fdb, int type) in br_switchdev_fdb_notify() argument
149 br_switchdev_fdb_populate(br, &item, fdb, NULL); in br_switchdev_fdb_notify()
288 const struct net_bridge_fdb_entry *fdb, in br_switchdev_fdb_replay_one() argument
294 br_switchdev_fdb_populate(br, &item, fdb, ctx); in br_switchdev_fdb_replay_one()
304 struct net_bridge_fdb_entry *fdb; in br_switchdev_fdb_replay() local
324 hlist_for_each_entry_rcu(fdb, &br->fdb_list, fdb_node) { in br_switchdev_fdb_replay()
325 err = br_switchdev_fdb_replay_one(br, nb, fdb, action, ctx); in br_switchdev_fdb_replay()