Lines Matching refs:fdb_info

1785 		      struct switchdev_notifier_fdb_info *fdb_info, bool adding)  in mlxsw_sp_port_fdb_set()  argument
1788 struct net_device *orig_dev = fdb_info->info.dev; in mlxsw_sp_port_fdb_set()
1801 fdb_info->vid); in mlxsw_sp_port_fdb_set()
1811 fdb_info->addr, fid_index, vid, in mlxsw_sp_port_fdb_set()
1816 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set()
3266 struct switchdev_notifier_fdb_info fdb_info; member
3280 struct switchdev_notifier_fdb_info *fdb_info; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() local
3286 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3287 err = vxlan_fdb_find_uc(dev, fdb_info->addr, vni, &vxlan_fdb_info); in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3307 fdb_info->vid, dev, true, false); in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3339 (!switchdev_work->fdb_info.added_by_user || in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3340 switchdev_work->fdb_info.is_local)) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3358 switchdev_work->fdb_info.vid); in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3378 struct switchdev_notifier_fdb_info *fdb_info; in mlxsw_sp_switchdev_bridge_fdb_event_work() local
3394 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_fdb_event_work()
3395 if (!fdb_info->added_by_user || fdb_info->is_local) in mlxsw_sp_switchdev_bridge_fdb_event_work()
3397 err = mlxsw_sp_port_fdb_set(mlxsw_sp_port, fdb_info, true); in mlxsw_sp_switchdev_bridge_fdb_event_work()
3401 fdb_info->addr, in mlxsw_sp_switchdev_bridge_fdb_event_work()
3402 fdb_info->vid, dev, true, false); in mlxsw_sp_switchdev_bridge_fdb_event_work()
3405 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_fdb_event_work()
3406 mlxsw_sp_port_fdb_set(mlxsw_sp_port, fdb_info, false); in mlxsw_sp_switchdev_bridge_fdb_event_work()
3420 kfree(switchdev_work->fdb_info.addr); in mlxsw_sp_switchdev_bridge_fdb_event_work()
3629 struct switchdev_notifier_fdb_info *fdb_info; in mlxsw_sp_switchdev_event() local
3662 fdb_info = container_of(info, in mlxsw_sp_switchdev_event()
3667 memcpy(&switchdev_work->fdb_info, ptr, in mlxsw_sp_switchdev_event()
3668 sizeof(switchdev_work->fdb_info)); in mlxsw_sp_switchdev_event()
3669 switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); in mlxsw_sp_switchdev_event()
3670 if (!switchdev_work->fdb_info.addr) in mlxsw_sp_switchdev_event()
3672 ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, in mlxsw_sp_switchdev_event()
3673 fdb_info->addr); in mlxsw_sp_switchdev_event()