bnxt_en: Do not include ETH_FCS_LEN in the max packet length sent to fw.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Mon, 4 May 2020 08:50:30 +0000 (04:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 17:44:10 +0000 (10:44 -0700)
commitd0b82c5461c9b9bfcb572fe0b50d8e2662e281f1
tree9277cbd912780d9b74f33859783037e34ed9e6e5
parentc7dd7ab4b204ac0142e0d05e71e05e71ae6cb270
bnxt_en: Do not include ETH_FCS_LEN in the max packet length sent to fw.

The firmware does not expect the CRC to be included in the length
passed from the driver.  The firmware always configures the chip
to strip out the CRC.

Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
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_sriov.c