Searched refs:nfp_mac_idx (Results 1 – 1 of 1) sorted by relevance
878 static int nfp_tunnel_get_ida_from_global_mac_idx(u16 nfp_mac_idx) in nfp_tunnel_get_ida_from_global_mac_idx() argument880 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() argument885 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() local939 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 …]