Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c924 int ida_idx = NFP_MAX_MAC_INDEX, err; in nfp_tunnel_add_shared_mac() local
944 ida_idx = ida_simple_get(&priv->tun.mac_off_ids, 0, in nfp_tunnel_add_shared_mac()
946 if (ida_idx < 0) in nfp_tunnel_add_shared_mac()
947 return ida_idx; in nfp_tunnel_add_shared_mac()
950 nfp_tunnel_get_global_mac_idx_from_ida(ida_idx); in nfp_tunnel_add_shared_mac()
999 if (ida_idx != NFP_MAX_MAC_INDEX) in nfp_tunnel_add_shared_mac()
1000 ida_simple_remove(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_add_shared_mac()
1013 int ida_idx; in nfp_tunnel_del_shared_mac() local
1064 ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); in nfp_tunnel_del_shared_mac()
1065 ida_simple_remove(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_del_shared_mac()
[all …]