Lines Matching refs:fdb_info

2211 	struct switchdev_notifier_fdb_info fdb_info;  member
2221 struct switchdev_notifier_fdb_info *fdb_info; in dpaa2_switch_event_work() local
2225 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work()
2229 if (!fdb_info->added_by_user || fdb_info->is_local) in dpaa2_switch_event_work()
2231 if (is_unicast_ether_addr(fdb_info->addr)) in dpaa2_switch_event_work()
2233 fdb_info->addr); in dpaa2_switch_event_work()
2236 fdb_info->addr); in dpaa2_switch_event_work()
2239 fdb_info->offloaded = true; in dpaa2_switch_event_work()
2241 &fdb_info->info, NULL); in dpaa2_switch_event_work()
2244 if (!fdb_info->added_by_user || fdb_info->is_local) in dpaa2_switch_event_work()
2246 if (is_unicast_ether_addr(fdb_info->addr)) in dpaa2_switch_event_work()
2247 dpaa2_switch_port_fdb_del_uc(netdev_priv(dev), fdb_info->addr); in dpaa2_switch_event_work()
2249 dpaa2_switch_port_fdb_del_mc(netdev_priv(dev), fdb_info->addr); in dpaa2_switch_event_work()
2254 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work()
2266 struct switchdev_notifier_fdb_info *fdb_info = ptr; in dpaa2_switch_port_event() local
2286 memcpy(&switchdev_work->fdb_info, ptr, in dpaa2_switch_port_event()
2287 sizeof(switchdev_work->fdb_info)); in dpaa2_switch_port_event()
2288 switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); in dpaa2_switch_port_event()
2289 if (!switchdev_work->fdb_info.addr) in dpaa2_switch_port_event()
2292 ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, in dpaa2_switch_port_event()
2293 fdb_info->addr); in dpaa2_switch_port_event()