Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c931 static int nfp_tunnel_get_ida_from_global_mac_idx(u16 nfp_mac_idx) in nfp_tunnel_get_ida_from_global_mac_idx() argument
933 return nfp_mac_idx >> 8; in nfp_tunnel_get_ida_from_global_mac_idx()
936 static bool nfp_tunnel_is_mac_idx_global(u16 nfp_mac_idx) in nfp_tunnel_is_mac_idx_global() argument
938 return (nfp_mac_idx & 0xff) == NFP_FLOWER_CMSG_PORT_TYPE_OTHER_PORT; in nfp_tunnel_is_mac_idx_global()
980 u16 nfp_mac_idx = 0; in nfp_tunnel_add_shared_mac() local
992 nfp_mac_idx = entry->index | NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()
995 if (!nfp_mac_idx) { in nfp_tunnel_add_shared_mac()
1003 nfp_mac_idx = in nfp_tunnel_add_shared_mac()
1007 nfp_mac_idx |= NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()
1010 nfp_mac_idx = in nfp_tunnel_add_shared_mac()
[all …]