]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5346f75cd1c1c6f8a90a77051f2478763d7f36c7
tree9277cbd912780d9b74f33859783037e34ed9e6e5
parentc0ca6a43a8fbd0036adc21bd87884052ea8b3b2a
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