Lines Matching refs:fdb_info
2737 struct switchdev_notifier_fdb_info fdb_info; member
2760 struct switchdev_notifier_fdb_info *fdb_info; in rocker_switchdev_event_work() local
2766 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2767 if (!fdb_info->added_by_user) in rocker_switchdev_event_work()
2769 err = rocker_world_port_fdb_add(rocker_port, fdb_info); in rocker_switchdev_event_work()
2774 rocker_fdb_offload_notify(rocker_port, fdb_info); in rocker_switchdev_event_work()
2777 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2778 if (!fdb_info->added_by_user) in rocker_switchdev_event_work()
2780 err = rocker_world_port_fdb_del(rocker_port, fdb_info); in rocker_switchdev_event_work()
2787 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work()
2798 struct switchdev_notifier_fdb_info *fdb_info = ptr; in rocker_switchdev_event() local
2819 memcpy(&switchdev_work->fdb_info, ptr, in rocker_switchdev_event()
2820 sizeof(switchdev_work->fdb_info)); in rocker_switchdev_event()
2821 switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); in rocker_switchdev_event()
2822 if (unlikely(!switchdev_work->fdb_info.addr)) { in rocker_switchdev_event()
2827 ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, in rocker_switchdev_event()
2828 fdb_info->addr); in rocker_switchdev_event()