Kalesh AP 99ad2abc02 net/bnxt: fix speed setting on certain adapters
On BCM957508-N2100 adapters, FW will not allow any user other
than BMC to shutdown the port. As a result, bnxt_get_hwrm_link_config()
always returns link up.

Because of this, driver will not update the new port configurations
such as speed, autoneg during a port start.

Fixed the condition to invoke bnxt_set_hwrm_link_config() in
bnxt_init_chip().

Fixes: 7bc8e9a227cc ("net/bnxt: support async link notification")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-09-18 18:55:07 +02:00
..
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-05-28 17:57:07 +02:00
2020-09-18 18:55:07 +02:00
2020-02-05 09:51:19 +01:00
2020-05-28 17:57:07 +02:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00
2020-05-28 17:57:07 +02:00
2020-07-11 06:18:52 +02:00
2019-11-08 23:15:04 +01:00
2020-08-12 11:32:16 +02:00