Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c152 tx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_tx_rings * stride; in nfp_netvf_pci_probe()
153 rx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_rx_rings * stride; in nfp_netvf_pci_probe()
160 max_tx_rings = (tx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()
166 max_rx_rings = (rx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()
Dnfp_net.h759 #define NFP_QCP_QUEUE_ADDR_SZ 0x800 macro
761 #define NFP_QCP_QUEUE_OFF(_x) ((_x) * NFP_QCP_QUEUE_ADDR_SZ)
770 #define NFP_PCIE_QUEUE(_q) (0x80000 + (NFP_QCP_QUEUE_ADDR_SZ * ((_q) & 0xff)))
Dnfp_net_main.c126 nn->tx_bar = qc_bar + tx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()
127 nn->rx_bar = qc_bar + rx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()
Dnfp_net_common.c4147 nn->qcp_cfg = nn->tx_bar + NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_init()