• Home
  • Raw
  • Download

Lines Matching refs:fdb_info

394 			    struct switchdev_notifier_vxlan_fdb_info *fdb_info)  in vxlan_fdb_switchdev_notifier_info()  argument
396 fdb_info->info.dev = vxlan->dev; in vxlan_fdb_switchdev_notifier_info()
397 fdb_info->info.extack = extack; in vxlan_fdb_switchdev_notifier_info()
398 fdb_info->remote_ip = rd->remote_ip; in vxlan_fdb_switchdev_notifier_info()
399 fdb_info->remote_port = rd->remote_port; in vxlan_fdb_switchdev_notifier_info()
400 fdb_info->remote_vni = rd->remote_vni; in vxlan_fdb_switchdev_notifier_info()
401 fdb_info->remote_ifindex = rd->remote_ifindex; in vxlan_fdb_switchdev_notifier_info()
402 memcpy(fdb_info->eth_addr, fdb->eth_addr, ETH_ALEN); in vxlan_fdb_switchdev_notifier_info()
403 fdb_info->vni = fdb->vni; in vxlan_fdb_switchdev_notifier_info()
404 fdb_info->offloaded = rd->offloaded; in vxlan_fdb_switchdev_notifier_info()
405 fdb_info->added_by_user = fdb->flags & NTF_VXLAN_ADDED_BY_USER; in vxlan_fdb_switchdev_notifier_info()
569 struct switchdev_notifier_vxlan_fdb_info *fdb_info) in vxlan_fdb_find_uc() argument
592 vxlan_fdb_switchdev_notifier_info(vxlan, f, rdst, NULL, fdb_info); in vxlan_fdb_find_uc()
606 struct switchdev_notifier_vxlan_fdb_info fdb_info; in vxlan_fdb_notify_one() local
609 vxlan_fdb_switchdev_notifier_info(vxlan, f, rdst, extack, &fdb_info); in vxlan_fdb_notify_one()
611 &fdb_info); in vxlan_fdb_notify_one()
4551 struct switchdev_notifier_vxlan_fdb_info *fdb_info) in vxlan_fdb_offloaded_set() argument
4558 hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_offloaded_set()
4562 f = vxlan_find_mac(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_offloaded_set()
4566 rdst = vxlan_fdb_find_rdst(f, &fdb_info->remote_ip, in vxlan_fdb_offloaded_set()
4567 fdb_info->remote_port, in vxlan_fdb_offloaded_set()
4568 fdb_info->remote_vni, in vxlan_fdb_offloaded_set()
4569 fdb_info->remote_ifindex); in vxlan_fdb_offloaded_set()
4573 rdst->offloaded = fdb_info->offloaded; in vxlan_fdb_offloaded_set()
4581 struct switchdev_notifier_vxlan_fdb_info *fdb_info) in vxlan_fdb_external_learn_add() argument
4588 hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_external_learn_add()
4589 extack = switchdev_notifier_info_to_extack(&fdb_info->info); in vxlan_fdb_external_learn_add()
4592 err = vxlan_fdb_update(vxlan, fdb_info->eth_addr, &fdb_info->remote_ip, in vxlan_fdb_external_learn_add()
4595 fdb_info->remote_port, in vxlan_fdb_external_learn_add()
4596 fdb_info->vni, in vxlan_fdb_external_learn_add()
4597 fdb_info->remote_vni, in vxlan_fdb_external_learn_add()
4598 fdb_info->remote_ifindex, in vxlan_fdb_external_learn_add()
4608 struct switchdev_notifier_vxlan_fdb_info *fdb_info) in vxlan_fdb_external_learn_del() argument
4615 hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_external_learn_del()
4618 f = vxlan_find_mac(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_external_learn_del()
4622 err = __vxlan_fdb_delete(vxlan, fdb_info->eth_addr, in vxlan_fdb_external_learn_del()
4623 fdb_info->remote_ip, in vxlan_fdb_external_learn_del()
4624 fdb_info->remote_port, in vxlan_fdb_external_learn_del()
4625 fdb_info->vni, in vxlan_fdb_external_learn_del()
4626 fdb_info->remote_vni, in vxlan_fdb_external_learn_del()
4627 fdb_info->remote_ifindex, in vxlan_fdb_external_learn_del()
4639 struct switchdev_notifier_vxlan_fdb_info *fdb_info; in vxlan_switchdev_event() local
4647 fdb_info = ptr; in vxlan_switchdev_event()
4648 err = vxlan_fdb_external_learn_add(dev, fdb_info); in vxlan_switchdev_event()
4653 fdb_info->offloaded = true; in vxlan_switchdev_event()
4654 vxlan_fdb_offloaded_set(dev, fdb_info); in vxlan_switchdev_event()
4657 fdb_info = ptr; in vxlan_switchdev_event()
4658 err = vxlan_fdb_external_learn_del(dev, fdb_info); in vxlan_switchdev_event()
4663 fdb_info->offloaded = false; in vxlan_switchdev_event()
4664 vxlan_fdb_offloaded_set(dev, fdb_info); in vxlan_switchdev_event()