Lines Matching refs:fdb_info
2698 struct switchdev_notifier_fdb_info fdb_info; member
2721 struct switchdev_notifier_fdb_info *fdb_info; in rocker_switchdev_event_work() local
2727 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2728 if (!fdb_info->added_by_user || fdb_info->is_local) in rocker_switchdev_event_work()
2730 err = rocker_world_port_fdb_add(rocker_port, fdb_info); in rocker_switchdev_event_work()
2735 rocker_fdb_offload_notify(rocker_port, fdb_info); in rocker_switchdev_event_work()
2738 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2739 if (!fdb_info->added_by_user || fdb_info->is_local) in rocker_switchdev_event_work()
2741 err = rocker_world_port_fdb_del(rocker_port, fdb_info); in rocker_switchdev_event_work()
2748 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work()
2759 struct switchdev_notifier_fdb_info *fdb_info = ptr; in rocker_switchdev_event() local
2780 memcpy(&switchdev_work->fdb_info, ptr, in rocker_switchdev_event()
2781 sizeof(switchdev_work->fdb_info)); in rocker_switchdev_event()
2782 switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); in rocker_switchdev_event()
2783 if (unlikely(!switchdev_work->fdb_info.addr)) { in rocker_switchdev_event()
2788 ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, in rocker_switchdev_event()
2789 fdb_info->addr); in rocker_switchdev_event()