]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c
nfp: allow allocation and initialization of netdev-less vNICs
[karo-tx-linux.git] / drivers / net / ethernet / netronome / nfp / nfp_netvf_main.c
index 3f1c7f0f392e46497e2a91c0538f05ead792f49b..0bf3b0febd07f8f77c4be7a748160370ca56a09e 100644 (file)
@@ -202,7 +202,7 @@ static int nfp_netvf_pci_probe(struct pci_dev *pdev,
        rx_bar_off = NFP_PCIE_QUEUE(startq);
 
        /* Allocate and initialise the netdev */
-       nn = nfp_net_alloc(pdev, max_tx_rings, max_rx_rings);
+       nn = nfp_net_alloc(pdev, true, max_tx_rings, max_rx_rings);
        if (IS_ERR(nn)) {
                err = PTR_ERR(nn);
                goto err_ctrl_unmap;