netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shannon Nelson <snelson@pensando.io>
To: davem@davemloft.net, netdev@vger.kernel.org
Cc: Shannon Nelson <snelson@pensando.io>
Subject: [PATCH v2 net-next 6/8] ionic: print pci bus lane info
Date: Tue,  3 Mar 2020 20:20:11 -0800	[thread overview]
Message-ID: <20200304042013.51970-7-snelson@pensando.io> (raw)
In-Reply-To: <20200304042013.51970-1-snelson@pensando.io>

Print the PCI bus lane information so people can keep an
eye out for poor configurations that might not support
the advertised speed.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
---
 drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c b/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
index 554bafac1147..59b0091146e6 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
+++ b/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
@@ -248,6 +248,7 @@ static int ionic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 	}
 
 	pci_set_master(pdev);
+	pcie_print_link_status(pdev);
 
 	err = ionic_map_bars(ionic);
 	if (err)
-- 
2.17.1


  parent reply	other threads:[~2020-03-04  4:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04  4:20 [PATCH v2 net-next 0/8] ionic updates Shannon Nelson
2020-03-04  4:20 ` [PATCH v2 net-next 1/8] ionic: keep ionic dev on lif init fail Shannon Nelson
2020-03-04  4:20 ` [PATCH v2 net-next 2/8] ionic: remove pragma packed Shannon Nelson
2020-03-04 19:54   ` Jakub Kicinski
2020-03-05  0:05     ` Shannon Nelson
2020-03-04  4:20 ` [PATCH v2 net-next 3/8] ionic: improve irq numa locality Shannon Nelson
2020-03-04  4:20 ` [PATCH v2 net-next 4/8] ionic: clean up bitflag usage Shannon Nelson
2020-03-04  4:20 ` [PATCH v2 net-next 5/8] ionic: support ethtool rxhash disable Shannon Nelson
2020-03-04 19:59   ` Jakub Kicinski
2020-03-05  0:24     ` Shannon Nelson
2020-03-05  1:32       ` Jakub Kicinski
2020-03-04  4:20 ` Shannon Nelson [this message]
2020-03-04  4:20 ` [PATCH v2 net-next 7/8] ionic: add support for device id 0x1004 Shannon Nelson
2020-03-04  4:20 ` [PATCH v2 net-next 8/8] ionic: drop ethtool driver version Shannon Nelson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200304042013.51970-7-snelson@pensando.io \
    --to=snelson@pensando.io \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).