Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c878 static int nfp_tunnel_get_ida_from_global_mac_idx(u16 nfp_mac_idx) in nfp_tunnel_get_ida_from_global_mac_idx() argument
880 return nfp_mac_idx >> 8; in nfp_tunnel_get_ida_from_global_mac_idx()
883 static bool nfp_tunnel_is_mac_idx_global(u16 nfp_mac_idx) in nfp_tunnel_is_mac_idx_global() argument
885 return (nfp_mac_idx & 0xff) == NFP_FLOWER_CMSG_PORT_TYPE_OTHER_PORT; in nfp_tunnel_is_mac_idx_global()
927 u16 nfp_mac_idx = 0; in nfp_tunnel_add_shared_mac() local
939 nfp_mac_idx = entry->index | NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()
942 if (!nfp_mac_idx) { in nfp_tunnel_add_shared_mac()
950 nfp_mac_idx = in nfp_tunnel_add_shared_mac()
954 nfp_mac_idx |= NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()
957 nfp_mac_idx = in nfp_tunnel_add_shared_mac()
[all …]