Lines Matching refs:fdb_info
17 struct switchdev_notifier_fdb_info fdb_info; member
304 struct switchdev_notifier_fdb_info *fdb_info; in sparx5_switchdev_bridge_fdb_event_work() local
320 fdb_info = &switchdev_work->fdb_info; in sparx5_switchdev_bridge_fdb_event_work()
325 if (fdb_info->vid == 0) in sparx5_switchdev_bridge_fdb_event_work()
328 vid = fdb_info->vid; in sparx5_switchdev_bridge_fdb_event_work()
334 fdb_info->addr, vid); in sparx5_switchdev_bridge_fdb_event_work()
337 fdb_info->addr, vid); in sparx5_switchdev_bridge_fdb_event_work()
340 sparx5_del_mact_entry(sparx5, fdb_info->addr, vid); in sparx5_switchdev_bridge_fdb_event_work()
345 kfree(switchdev_work->fdb_info.addr); in sparx5_switchdev_bridge_fdb_event_work()
360 struct switchdev_notifier_fdb_info *fdb_info; in sparx5_switchdev_event() local
384 fdb_info = container_of(info, in sparx5_switchdev_event()
389 memcpy(&switchdev_work->fdb_info, ptr, in sparx5_switchdev_event()
390 sizeof(switchdev_work->fdb_info)); in sparx5_switchdev_event()
391 switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); in sparx5_switchdev_event()
392 if (!switchdev_work->fdb_info.addr) in sparx5_switchdev_event()
395 ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, in sparx5_switchdev_event()
396 fdb_info->addr); in sparx5_switchdev_event()