]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r336610 (partial), r339207, r339267
authormarius <marius@FreeBSD.org>
Sat, 5 Jan 2019 19:32:48 +0000 (19:32 +0000)
committermarius <marius@FreeBSD.org>
Sat, 5 Jan 2019 19:32:48 +0000 (19:32 +0000)
commitd403fe77784e34b5ac057802c73ab89e54610d4b
tree1df72acb211ae1bc811f3e29e9b2b8bf541964dd
parent2ced8c3a54b78e3f326dc986a65476481a8de3cf
MFC: r336610 (partial), r339207, r339267

- Or in the DMA coalescing Rx threshold so the other bits set in E1000_DMACR
  remain intact as intended in igb_init_dmac(). [1]

- Fix igb corrupting checksums with BPF and VLAN
  In stable/11, this merely syncs the code with head as the problem was
  introduced with r311849 in the latter and then fixed by r339207 with
  a different approach than the code used pre-r311849 and in stable/11.

- Use mbuf defines to construct csum offload masks rather than literals

Reported by: Coverity
CID: 1304929 [1]
sys/dev/e1000/if_em.h
sys/dev/e1000/if_igb.c
sys/dev/e1000/if_lem.h