Searched refs:ida_idx (Results 1 – 1 of 1) sorted by relevance
979 int ida_idx = -1, err; in nfp_tunnel_add_shared_mac() local998 ida_idx = ida_alloc_max(&priv->tun.mac_off_ids, in nfp_tunnel_add_shared_mac()1000 if (ida_idx < 0) in nfp_tunnel_add_shared_mac()1001 return ida_idx; in nfp_tunnel_add_shared_mac()1004 nfp_tunnel_get_global_mac_idx_from_ida(ida_idx); in nfp_tunnel_add_shared_mac()1053 if (ida_idx != -1) in nfp_tunnel_add_shared_mac()1054 ida_free(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_add_shared_mac()1068 int ida_idx; in nfp_tunnel_del_shared_mac() local1116 ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); in nfp_tunnel_del_shared_mac()1117 ida_free(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_del_shared_mac()[all …]