Searched refs:NFP_QCP_QUEUE_ADDR_SZ (Results 1 – 4 of 4) sorted by relevance
168 tx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_tx_rings * stride; in nfp_netvf_pci_probe()169 rx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_rx_rings * stride; in nfp_netvf_pci_probe()176 max_tx_rings = (tx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()182 max_rx_rings = (rx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()
766 #define NFP_QCP_QUEUE_ADDR_SZ 0x800 macro767 #define NFP_QCP_QUEUE_OFF(_x) ((_x) * NFP_QCP_QUEUE_ADDR_SZ)
120 nn->tx_bar = qc_bar + tx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()121 nn->rx_bar = qc_bar + rx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()
73 return dev_info->qc_addr_offset + NFP_QCP_QUEUE_ADDR_SZ * queue; in nfp_qcp_queue_offset()2547 nn->qcp_cfg = nn->tx_bar + NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_init()