vxlan_fdb_info
struct switchdev_notifier_vxlan_fdb_info vxlan_fdb_info;
struct switchdev_notifier_vxlan_fdb_info vxlan_fdb_info;
err = vxlan_fdb_find_uc(dev, fdb_info->addr, vni, &vxlan_fdb_info);
mlxsw_sp_switchdev_vxlan_addr_convert(&vxlan_fdb_info.remote_ip,
vxlan_fdb_info.eth_addr,
vxlan_fdb_info.offloaded = true;
&vxlan_fdb_info.info, NULL);
vxlan_fdb_info.eth_addr,
vxlan_fdb_info.eth_addr,
vxlan_fdb_info.offloaded = false;
&vxlan_fdb_info.info, NULL);
struct switchdev_notifier_vxlan_fdb_info *vxlan_fdb_info;
vxlan_fdb_info = &switchdev_work->vxlan_fdb_info;
fid = mlxsw_sp_fid_lookup_by_vni(mlxsw_sp, vxlan_fdb_info->vni);
mlxsw_sp_switchdev_vxlan_addr_convert(&vxlan_fdb_info->remote_ip,
if (is_zero_ether_addr(vxlan_fdb_info->eth_addr)) {
vxlan_fdb_info->offloaded = true;
&vxlan_fdb_info->info, NULL);
if (br_fdb_find_port(br_dev, vxlan_fdb_info->eth_addr, vid) != dev)
err = mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp, vxlan_fdb_info->eth_addr,
vxlan_fdb_info->offloaded = true;
&vxlan_fdb_info->info, NULL);
vxlan_fdb_info->eth_addr, vid, dev, true,
struct switchdev_notifier_vxlan_fdb_info *vxlan_fdb_info;
vxlan_fdb_info = &switchdev_work->vxlan_fdb_info;
if (!vxlan_fdb_info->offloaded)
fid = mlxsw_sp_fid_lookup_by_vni(mlxsw_sp, vxlan_fdb_info->vni);
mlxsw_sp_switchdev_vxlan_addr_convert(&vxlan_fdb_info->remote_ip,
if (is_zero_ether_addr(vxlan_fdb_info->eth_addr)) {
mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp, vxlan_fdb_info->eth_addr,
vxlan_fdb_info->eth_addr, vid, dev, false,
struct switchdev_notifier_vxlan_fdb_info *vxlan_fdb_info;
vxlan_fdb_info = container_of(info,
if (vxlan_fdb_info->remote_port != cfg->dst_port) {
if (vxlan_fdb_info->remote_vni != cfg->vni ||
vxlan_fdb_info->vni != cfg->vni) {
if (vxlan_fdb_info->remote_ifindex) {
if (is_multicast_ether_addr(vxlan_fdb_info->eth_addr)) {
if (vxlan_addr_multicast(&vxlan_fdb_info->remote_ip)) {
switchdev_work->vxlan_fdb_info = *vxlan_fdb_info;
err = vxlan_fdb_info(skb, vxlan, f,
err = vxlan_fdb_info(skb, vxlan, f,
err = vxlan_fdb_info(skb, vxlan, f, portid, seq,
err = vxlan_fdb_info(skb, vxlan, fdb, 0, 0, type, 0, rd);