]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Fix VF PCIe link speed and width logic.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Sat, 14 Oct 2017 01:09:31 +0000 (21:09 -0400)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 9 Mar 2018 04:51:03 +0000 (20:51 -0800)
commit9052ddf760bb0a2f77ec15101882bba03a706c3c
treee266795e89c50d6810785ae4399ce545a51c95fb
parentf4782b7f05e224c9dd78adc0c3ce4a2452afab4e
bnxt_en: Fix VF PCIe link speed and width logic.

Orabug: 2764835527648339

PCIE PCIE_EP_REG_LINK_STATUS_CONTROL register is only defined in PF
config space, so we must read it from the PF.

Fixes: 90c4f788f6c0 ("bnxt_en: Report PCIe link speed and width during driver load")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 7ab0760f5178169c4c218852f51646ea90817d7c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c