net/bnxt: fix link handling and configuration
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 9 Nov 2017 17:46:28 +0000 (11:46 -0600)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Nov 2017 09:42:25 +0000 (09:42 +0000)
commit9a82633c27cdfbc33e34876dff41abdbfa71bb97
tree942a9de8ea306a808616e3f0dceca2ed0691a578
parent1ccdd771d6a00b681d346033ad274d68a2af7a4c
net/bnxt: fix link handling and configuration

Remove a case where we were sending a deprecated field to the FW.
There is no need to send auto_link_speed to the FW.
Also set the auto_mode correctly depending on the setting requested.

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_cpr.c
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c