OSDN Git Service

ice: print PCI link speed and width
authorPaul Greenwalt <paul.greenwalt@intel.com>
Wed, 9 Oct 2019 14:09:50 +0000 (07:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Nov 2019 00:41:45 +0000 (16:41 -0800)
Print message to inform user of PCI link speed and width.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c

index 7a90243..32684fc 100644 (file)
@@ -3305,6 +3305,9 @@ ice_probe(struct pci_dev *pdev, const struct pci_device_id __always_unused *ent)
                ice_cfg_lldp_mib_change(&pf->hw, true);
        }
 
+       /* print PCI link speed and width */
+       pcie_print_link_status(pf->pdev);
+
        return 0;
 
 err_alloc_sw_unroll: