Skip to content

Commit dd92a7d

Browse files
Jakub Kicinskidavem330
authored andcommitted
nfp: print PCIe link bandwidth on probe
To aid debugging of performance issues caused by limited PCIe bandwidth print the PCIe link information on probe. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3e3e9fd commit dd92a7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ struct nfp_cpp *nfp_cpp_from_nfp6000_pcie(struct pci_dev *pdev)
13301330
/* Finished with card initialization. */
13311331
dev_info(&pdev->dev,
13321332
"Netronome Flow Processor NFP4000/NFP6000 PCIe Card Probe\n");
1333+
pcie_print_link_status(pdev);
13331334

13341335
nfp = kzalloc(sizeof(*nfp), GFP_KERNEL);
13351336
if (!nfp) {

0 commit comments

Comments
 (0)