Lines Matching refs:fdb_info

1414 		      struct switchdev_notifier_fdb_info *fdb_info, bool adding)  in mlxsw_sp_port_fdb_set()  argument
1417 struct net_device *orig_dev = fdb_info->info.dev; in mlxsw_sp_port_fdb_set()
1430 fdb_info->vid); in mlxsw_sp_port_fdb_set()
1440 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set()
1445 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set()
2859 struct switchdev_notifier_fdb_info fdb_info; member
2873 struct switchdev_notifier_fdb_info *fdb_info; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() local
2879 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2880 err = vxlan_fdb_find_uc(dev, fdb_info->addr, vni, &vxlan_fdb_info); in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2900 fdb_info->vid, dev, true); in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2932 (!switchdev_work->fdb_info.added_by_user || in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2933 switchdev_work->fdb_info.is_local)) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2951 switchdev_work->fdb_info.vid); in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2971 struct switchdev_notifier_fdb_info *fdb_info; in mlxsw_sp_switchdev_bridge_fdb_event_work() local
2987 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_fdb_event_work()
2988 if (!fdb_info->added_by_user || fdb_info->is_local) in mlxsw_sp_switchdev_bridge_fdb_event_work()
2990 err = mlxsw_sp_port_fdb_set(mlxsw_sp_port, fdb_info, true); in mlxsw_sp_switchdev_bridge_fdb_event_work()
2994 fdb_info->addr, in mlxsw_sp_switchdev_bridge_fdb_event_work()
2995 fdb_info->vid, dev, true); in mlxsw_sp_switchdev_bridge_fdb_event_work()
2998 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_fdb_event_work()
2999 mlxsw_sp_port_fdb_set(mlxsw_sp_port, fdb_info, false); in mlxsw_sp_switchdev_bridge_fdb_event_work()
3013 kfree(switchdev_work->fdb_info.addr); in mlxsw_sp_switchdev_bridge_fdb_event_work()
3218 struct switchdev_notifier_fdb_info *fdb_info; in mlxsw_sp_switchdev_event() local
3251 fdb_info = container_of(info, in mlxsw_sp_switchdev_event()
3256 memcpy(&switchdev_work->fdb_info, ptr, in mlxsw_sp_switchdev_event()
3257 sizeof(switchdev_work->fdb_info)); in mlxsw_sp_switchdev_event()
3258 switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); in mlxsw_sp_switchdev_event()
3259 if (!switchdev_work->fdb_info.addr) in mlxsw_sp_switchdev_event()
3261 ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, in mlxsw_sp_switchdev_event()
3262 fdb_info->addr); in mlxsw_sp_switchdev_event()