Searched refs:rx_bar_sz (Results 1 – 1 of 1) sorted by relevance
71 u32 tx_bar_sz, rx_bar_sz; in nfp_netvf_pci_probe() local153 rx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_rx_rings * stride; in nfp_netvf_pci_probe()162 if (rx_bar_sz > pci_resource_len(pdev, rx_bar_no)) { in nfp_netvf_pci_probe()165 rx_bar_sz = pci_resource_len(pdev, rx_bar_no); in nfp_netvf_pci_probe()166 max_rx_rings = (rx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe()197 if ((tx_bar_off + tx_bar_sz) > (rx_bar_off + rx_bar_sz)) in nfp_netvf_pci_probe()200 bar_sz = (rx_bar_off + rx_bar_sz) - bar_off; in nfp_netvf_pci_probe()228 nn->rx_bar = ioremap_nocache(map_addr, rx_bar_sz); in nfp_netvf_pci_probe()