]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Support IFF_SUPP_NOFCS feature to transmit without ethernet FCS.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 25 Apr 2021 17:45:26 +0000 (13:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Apr 2021 01:37:39 +0000 (18:37 -0700)
commit3611c3f38d6f03e4c5cee62bd72391b695104681
tree408082e30e2ed48055fe008671db0af6097f541f
parent7491a5aad98f74cce1fe43d06714dbf15a4ed568
bnxt_en: Support IFF_SUPP_NOFCS feature to transmit without ethernet FCS.

If firmware is capable, set the IFF_SUPP_NOFCS flag to support the
sockets option to transmit packets without FCS.  This is mainly used
for testing.

Reviewed-by: Edwin Peer <edwin.peer@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.h