diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2026-01-16 12:02:53 +0100 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2026-01-21 20:50:29 +0100 |
| commit | decd5ea5d248db46b4cdf46baccc738b28f0713e (patch) | |
| tree | 9d1fc52f2c1f3471fa9ae81bd609cd8d4eaac6b7 /source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ba49ad50c0b92dfc2efd97d45bb6e2931dd9aaa3 (diff) | |
dwc: improve IPv4 transmit checksum offloading
This patch provides two improvements for TCP/IPv4 and UDP/IPv4
transmit checksum offloading:
(1) Use *CIC_SEG instead of *CIC_FULL, since FreeBSD always provides
a pseudo header checksum.
(2) Don't make transmit IPv4 header checksum offloading a prerequisite
for TCP/IPv4 or UDP/IPv4 transmit checksum offloading.
This is the root cause of PR 291696, since right now the epair
interface does not support transmit IPv4 header checksum offloading,
but TCP/IPv4 and UDP/IPv4 transmit checksum offloading.
PR: 291696
Reviewed by: Timo Voelker
Tested by: Marek Benc
Differential Revision: https://reviews.freebsd.org/D54395
(cherry picked from commit f8ddf74175c8013268e65b18750e247306fa088a)
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
