Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f951a9a authored by Kalesh AP's avatar Kalesh AP Committed by David S. Miller
Browse files

be2net: enable PCIe error reporting on VFs too



Currently PCIe error reporting is enabled only on PFs. This patch enables
this feature on VFs too as Lancer VFs support it.

Signed-off-by: default avatarKalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93676703
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -4877,11 +4877,9 @@ static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id)
		}
	}

	if (be_physfn(adapter)) {
	status = pci_enable_pcie_error_reporting(pdev);
	if (!status)
		dev_info(&pdev->dev, "PCIe error reporting enabled\n");
	}

	status = be_ctrl_init(adapter);
	if (status)