]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Add async event handling for speed config changes.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 11 Apr 2016 08:11:14 +0000 (04:11 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:37:19 +0000 (17:37 -0700)
commitbd11c2d989916241baab6ab31f7a8b810bd8f7ee
tree2e7c69f46c4ce08cbb9641c709e6a2e93a2a258f
parent57687de2aa15d4ea43cf9640102af5a1e3e16a28
bnxt_en: Add async event handling for speed config changes.

Orabug: 23221795

On some dual port cards, link speeds on both ports have to be compatible.
Firmware will inform the driver when a certain speed is no longer
supported if the other port has linked up at a certain speed.  Add
logic to handle this event by logging a message and getting the
updated list of supported speeds.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 8cbde1175e3c8565edbb777cd09cbfdb93c78397)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c