bnxt_en: Enhance autoneg support.

[ Upstream commit 286ef9d64e ]

On some dual port NICs, the speed setting on one port can affect the
available speed on the other port.  Add logic to detect these changes
and adjust the advertised speed settings when necessary.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michael Chan 2016-11-16 21:13:08 -05:00 • committed by Greg Kroah-Hartman
commit e89ffe41e9
2 changed files with 24 additions and 0 deletions