Searched refs:rx_bar_sz (Results 1 – 1 of 1) sorted by relevance
84 u32 tx_bar_sz, rx_bar_sz; in nfp_netvf_pci_probe() local169 rx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_rx_rings * stride; in nfp_netvf_pci_probe()178 if (rx_bar_sz > pci_resource_len(pdev, rx_bar_no)) { in nfp_netvf_pci_probe()181 rx_bar_sz = pci_resource_len(pdev, rx_bar_no); in nfp_netvf_pci_probe()182 max_rx_rings = (rx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()213 if ((tx_bar_off + tx_bar_sz) > (rx_bar_off + rx_bar_sz)) in nfp_netvf_pci_probe()216 bar_sz = (rx_bar_off + rx_bar_sz) - bar_off; in nfp_netvf_pci_probe()244 nn->rx_bar = ioremap(map_addr, rx_bar_sz); in nfp_netvf_pci_probe()