net/bnxt: fix link speed setting with autoneg off
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 7 Feb 2018 01:16:14 +0000 (17:16 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Feb 2018 17:42:14 +0000 (18:42 +0100)
commit90cc14d77359bb3f8e48f4ef966ee77a52703949
tree17595c2f02e6dfd3efffbff58dfc024dbd8ae206
parenta0f5e472674bef596b0767a36d66964186bccd88
net/bnxt: fix link speed setting with autoneg off

When Autoneg is turned off especially on remote side,
link does not come up. This patch fixes that.

Fixes: 7bc8e9a227cc ("net/bnxt: support async link notification")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_hwrm.c