Refactor vmx(4) receive offloading.
authorjan <jan@openbsd.org>
Tue, 21 May 2024 19:49:06 +0000 (19:49 +0000)
committerjan <jan@openbsd.org>
Tue, 21 May 2024 19:49:06 +0000 (19:49 +0000)
commit1171ef0cf0b18d5ac21286a5586c74806fe0144c
treed217bb50fb8a59c9c3163d8b3faaa5739c1c41af
parentdedce11a1560cba2d8b68e528fd3ff52c5e7044c
Refactor vmx(4) receive offloading.

 - avoid combination of M_TCP_CSUM_IN_OK and M_UDP_CSUM_IN_OK
 - remove useless letoh32() calls
 - simplify the IPv4 checksum flag check

ok bluhm@
sys/dev/pci/if_vmx.c