diff options
| author | Dmitry Salychev <dsl@FreeBSD.org> | 2026-04-13 14:46:49 +0200 |
|---|---|---|
| committer | Dmitry Salychev <dsl@FreeBSD.org> | 2026-04-19 20:11:41 +0200 |
| commit | 4a6d7fc1a00b69925b3edc39acef0391487a8e3e (patch) | |
| tree | 8e92fe9845a72c63d600df59be95460f6355391b /sys/amd64/include/ifunc.h | |
| parent | 9d39213d222395eb40323102db018cbedf773ddf (diff) | |
In order to enable RX checksum offloading we need to check the
meta-information for the (good) frames to see if the L3/4 checksums
were calculated and if there was an error.
The way the buffere are setup, the needed frame meta-information is
already requested. All we have to do is make sure it is really part
of the RX frame, that it is valid, and if the respective bits are set.
Also do not forget to set the (dummy) csum_data as otherwise upper
layers will just be cranky. An artefact of the past which likely
should disappear.
PR: 292006
Reviewed by: bz, tuexen
Tested by: bz, tuexen
Approved by: tuexen
Obtained from: bz (initial version, D55320)
MFC after: 3 days
Sponsored by: Traverse Technologies (providing Ten64 HW for testing)
Differential Revision: https://reviews.freebsd.org/D56383
Diffstat (limited to 'sys/amd64/include/ifunc.h')
0 files changed, 0 insertions, 0 deletions
