Searched refs:nfp_mac_idx (Results 1 – 1 of 1) sorted by relevance
972 static int nfp_tunnel_get_ida_from_global_mac_idx(u16 nfp_mac_idx) in nfp_tunnel_get_ida_from_global_mac_idx() argument974 return nfp_mac_idx >> 8; in nfp_tunnel_get_ida_from_global_mac_idx()977 static bool nfp_tunnel_is_mac_idx_global(u16 nfp_mac_idx) in nfp_tunnel_is_mac_idx_global() argument979 return (nfp_mac_idx & 0xff) == NFP_FLOWER_CMSG_PORT_TYPE_OTHER_PORT; in nfp_tunnel_is_mac_idx_global()1021 u16 nfp_mac_idx = 0; in nfp_tunnel_add_shared_mac() local1033 nfp_mac_idx = entry->index | NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()1036 if (!nfp_mac_idx) { in nfp_tunnel_add_shared_mac()1044 nfp_mac_idx = in nfp_tunnel_add_shared_mac()1048 nfp_mac_idx |= NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()1051 nfp_mac_idx = in nfp_tunnel_add_shared_mac()[all …]