Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2022 20:04:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 235607] Incorrect checksums with NAT on vtnet with offloading
Message-ID:  <bug-235607-7501-CydEVOOF5u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235607-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235607-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235607

--- Comment #15 from Eugene Grosbein <eugen@freebsd.org> ---
FreeBSD's vtnet(4) driver upto 12.3 version implements checksum offload for
transmit path ONLY.

For receive path, it blindly assumes that ALL traffic comes from another
virtual machine running on same hypervisor that just did checksumming alrea=
dy,
so it just skips its own checksumming. The solution is to disable non-worki=
ng
rxcsum "offload" with ifconfig(8):

ifconfig vtnet0 -rxcsum

In case of NAT, this solves the problem.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235607-7501-CydEVOOF5u>