Searched refs:ida_idx (Results 1 – 1 of 1) sorted by relevance
1020 int ida_idx = -1, err; in nfp_tunnel_add_shared_mac() local1039 ida_idx = ida_alloc_max(&priv->tun.mac_off_ids, in nfp_tunnel_add_shared_mac()1041 if (ida_idx < 0) in nfp_tunnel_add_shared_mac()1042 return ida_idx; in nfp_tunnel_add_shared_mac()1045 nfp_tunnel_get_global_mac_idx_from_ida(ida_idx); in nfp_tunnel_add_shared_mac()1094 if (ida_idx != -1) in nfp_tunnel_add_shared_mac()1095 ida_free(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_add_shared_mac()1109 int ida_idx; in nfp_tunnel_del_shared_mac() local1157 ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); in nfp_tunnel_del_shared_mac()1158 ida_free(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_del_shared_mac()[all …]