]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
em: skip rxcsum offload processing when disabled
authorVincenzo Maffione <vmaffione@FreeBSD.org>
Wed, 1 Dec 2021 21:10:46 +0000 (21:10 +0000)
committerVincenzo Maffione <vmaffione@FreeBSD.org>
Sat, 18 Dec 2021 12:00:25 +0000 (12:00 +0000)
commit56eeb84f1093a81ff9e103b09dcd12983609d1de
treed0bf7e0681aa508bd9ac06c8d77e1296bfd9a757
parenta00d9c7f8cd954d4fcff810b0217dbd48c3c0f1a
em: skip rxcsum offload processing when disabled

Similarly to the other Intel drivers, don't try to process
RX checksum offloads when this feature (IFCAP_RXCSUM) is
disabled.

Reviewed by: gallatin, kbowling, erj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D33155

(cherry picked from commit d0633af7658fe02bc1af8639ef6dbb0d029c1b65)
sys/dev/e1000/em_txrx.c