bnxt_en: Check maximum supported MTU from firmware.
authorMichael Chan <michael.chan@broadcom.com>
Thu, 26 Oct 2017 15:51:25 +0000 (11:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:02:44 +0000 (00:02 +0900)
commit7eb9bb3a0c7c29741df2249cc3b99f06a7978d61
tree201afb0a2d3bc96922e639fd7fb76c9f8f8dc429
parentc1a7bdff17247332ecff7f243e42d269b3f74c65
bnxt_en: Check maximum supported MTU from firmware.

Some NICs have a firmware enforced maximum MTU setting by management
firmware.  Set up netdev->max_mtu accordingly.

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