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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 18:58:45 +0000 (14:58 -0400)
commit8cbde1175e3c8565edbb777cd09cbfdb93c78397
treeca15a29ae475eef0d982b7899efde6a4d4f55a77
parent84c33dd342ad596a271a61da0119bf34e80bb1c5
bnxt_en: Add async event handling for speed config changes.

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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c