Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c544 static int nfp_tunnel_get_ida_from_global_mac_idx(u16 nfp_mac_idx) in nfp_tunnel_get_ida_from_global_mac_idx() argument
546 return nfp_mac_idx >> 8; in nfp_tunnel_get_ida_from_global_mac_idx()
549 static bool nfp_tunnel_is_mac_idx_global(u16 nfp_mac_idx) in nfp_tunnel_is_mac_idx_global() argument
551 return (nfp_mac_idx & 0xff) == NFP_FLOWER_CMSG_PORT_TYPE_OTHER_PORT; in nfp_tunnel_is_mac_idx_global()
593 u16 nfp_mac_idx = 0; in nfp_tunnel_add_shared_mac() local
605 nfp_mac_idx = entry->index | NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()
608 if (!nfp_mac_idx) { in nfp_tunnel_add_shared_mac()
616 nfp_mac_idx = in nfp_tunnel_add_shared_mac()
620 nfp_mac_idx |= NFP_TUN_PRE_TUN_IDX_BIT; in nfp_tunnel_add_shared_mac()
623 nfp_mac_idx = in nfp_tunnel_add_shared_mac()
[all …]