Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c1083 int ida_idx = -1, err; in nfp_tunnel_add_shared_mac() local
1102 ida_idx = ida_alloc_max(&priv->tun.mac_off_ids, in nfp_tunnel_add_shared_mac()
1104 if (ida_idx < 0) in nfp_tunnel_add_shared_mac()
1105 return ida_idx; in nfp_tunnel_add_shared_mac()
1108 nfp_tunnel_get_global_mac_idx_from_ida(ida_idx); in nfp_tunnel_add_shared_mac()
1157 if (ida_idx != -1) in nfp_tunnel_add_shared_mac()
1158 ida_free(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_add_shared_mac()
1172 int ida_idx; in nfp_tunnel_del_shared_mac() local
1220 ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); in nfp_tunnel_del_shared_mac()
1221 ida_free(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_del_shared_mac()
[all …]