Home
last modified time | relevance | path

Searched refs:ida_idx (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c591 int ida_idx = NFP_MAX_MAC_INDEX, err; in nfp_tunnel_add_shared_mac() local
611 ida_idx = ida_simple_get(&priv->tun.mac_off_ids, 0, in nfp_tunnel_add_shared_mac()
613 if (ida_idx < 0) in nfp_tunnel_add_shared_mac()
614 return ida_idx; in nfp_tunnel_add_shared_mac()
617 nfp_tunnel_get_global_mac_idx_from_ida(ida_idx); in nfp_tunnel_add_shared_mac()
666 if (ida_idx != NFP_MAX_MAC_INDEX) in nfp_tunnel_add_shared_mac()
667 ida_simple_remove(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_add_shared_mac()
680 int ida_idx; in nfp_tunnel_del_shared_mac() local
731 ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); in nfp_tunnel_del_shared_mac()
732 ida_simple_remove(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_del_shared_mac()
[all …]