Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c168 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()
Dnfp_net.h835 #define NFP_QCP_QUEUE_ADDR_SZ 0x800 macro
836 #define NFP_QCP_QUEUE_OFF(_x) ((_x) * NFP_QCP_QUEUE_ADDR_SZ)
Dnfp_net_main.c119 nn->tx_bar = qc_bar + tx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()
120 nn->rx_bar = qc_bar + rx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()
Dnfp_net_common.c75 return dev_info->qc_addr_offset + NFP_QCP_QUEUE_ADDR_SZ * queue; in nfp_qcp_queue_offset()
2893 nn->qcp_cfg = nn->tx_bar + NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_init()