nfp_mac_idx 544 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c static int nfp_tunnel_get_ida_from_global_mac_idx(u16 nfp_mac_idx) nfp_mac_idx 546 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c return nfp_mac_idx >> 8; nfp_mac_idx 549 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c static bool nfp_tunnel_is_mac_idx_global(u16 nfp_mac_idx) nfp_mac_idx 551 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c return (nfp_mac_idx & 0xff) == NFP_FLOWER_CMSG_PORT_TYPE_OTHER_PORT; nfp_mac_idx 593 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c u16 nfp_mac_idx = 0; nfp_mac_idx 605 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx = entry->index | NFP_TUN_PRE_TUN_IDX_BIT; nfp_mac_idx 608 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (!nfp_mac_idx) { nfp_mac_idx 616 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx = nfp_mac_idx 620 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx |= NFP_TUN_PRE_TUN_IDX_BIT; nfp_mac_idx 623 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx = nfp_mac_idx 647 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx, false); nfp_mac_idx 655 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->index = nfp_mac_idx; nfp_mac_idx 698 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c u16 nfp_mac_idx; nfp_mac_idx 700 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx = entry->index & ~NFP_TUN_PRE_TUN_IDX_BIT; nfp_mac_idx 701 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (__nfp_tunnel_offload_mac(app, mac, nfp_mac_idx, nfp_mac_idx 708 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->index = nfp_mac_idx; nfp_mac_idx 715 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c u16 nfp_mac_idx; nfp_mac_idx 723 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx = nfp_tunnel_get_mac_idx_from_phy_port_id(port); nfp_mac_idx 724 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c err = __nfp_tunnel_offload_mac(app, mac, nfp_mac_idx, false); nfp_mac_idx 733 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->index = nfp_mac_idx;