Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c926 int ida_idx = -1, err; in nfp_tunnel_add_shared_mac() local
945 ida_idx = ida_simple_get(&priv->tun.mac_off_ids, 0, in nfp_tunnel_add_shared_mac()
947 if (ida_idx < 0) in nfp_tunnel_add_shared_mac()
948 return ida_idx; in nfp_tunnel_add_shared_mac()
951 nfp_tunnel_get_global_mac_idx_from_ida(ida_idx); in nfp_tunnel_add_shared_mac()
1000 if (ida_idx != -1) in nfp_tunnel_add_shared_mac()
1001 ida_simple_remove(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_add_shared_mac()
1015 int ida_idx; in nfp_tunnel_del_shared_mac() local
1063 ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); in nfp_tunnel_del_shared_mac()
1064 ida_simple_remove(&priv->tun.mac_off_ids, ida_idx); in nfp_tunnel_del_shared_mac()
[all …]