opnsense-src/share
Timo Völker e4ea162509 epair: add support for checksum offloading
Add capabilities RXCSUM and RXCSUM6 as well as TXCSUM and TXCSUM6 for
for receive and transmit checksum offloading for TCP and UDP to the
epair interface and enable them by default.
RXCSUM and RXCSUM6 are enabled because an epair interface may receive
a packet with the csum_flag CSUM_DATA_VALID set, which is expected
only if these capabilities are enabled. Since it seems not helpful to
remove this flag, it is not possible to disable these capabilities.
TXCSUM and TXCSUM6 are synchronized between the two epair interface
ends. If enabled/disabled on one end, it will be enabled/disabled on
the other end. If the sending epair interface end has TXCSUM or TXCSUM6
enabled and the receiving end is in a bridge, it is assumed that all
interfaces in the bridge have that capability enabled. Otherwise the
bridge would have disabled that capability on the receiving epair
interface end in the bridge which would have disabled that capability
on the sending epair interface end as well due to the synchronization.

Reviewed by:		bcr, Seyed Pouria Mousavizadeh Tehrani
MFC after:		4 weeks
Differential Revision:	https://reviews.freebsd.org/D51639
2025-09-02 00:15:51 +02:00
..
colldef Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
colldef_unicode locales: update unicode version 16 and CLDR to version 45 2024-10-14 10:43:39 +02:00
ctypedef ctypedef: Remove || true from localedef command to reveal error sooner 2024-10-15 18:39:31 +08:00
dict Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
doc iwlwififw: remove Intel iwlwifi firmware from src.git 2025-04-10 13:32:49 +00:00
dtrace ipfw.d: Add required dependency declarations 2024-12-16 22:09:39 +00:00
examples share/examples/oci: Run 'pkg update' with IGNORE_OSVERSION set 2025-07-22 11:46:01 +01:00
firmwares iwm: Stop shipping firmware as kernel module 2024-12-16 10:44:47 +01:00
i18n Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
keys Remove leftover blank line from pkg key file 2025-05-05 14:54:41 -04:00
man epair: add support for checksum offloading 2025-09-02 00:15:51 +02:00
misc Modifications to committers-src.dot: hselasky and karels 2025-08-14 08:54:20 +02:00
mk bsd.man.mk: Handle relative paths for MK_MANCOMPRESS=no 2025-08-28 13:36:17 -04:00
monetdef Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
monetdef_unicode locales: add missing af_ZA.UTF8 2024-10-14 11:56:30 +02:00
msgdef msgdef: fix NO and SI locales 2023-09-21 12:54:21 +02:00
msgdef_unicode Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
numericdef Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
numericdef_unicode locales: update unicode version 16 and CLDR to version 45 2024-10-14 10:43:39 +02:00
security Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
sendmail Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
skel dot.shrc: words to words, should be singular 2025-04-28 15:48:12 -06:00
snmp Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
syscons bsd.files.mk: Fix FILESPACKAGE 2025-08-07 13:36:59 +01:00
tabset Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
termcap share/termcap: Update entries for st terminal 0.9.2 2025-07-23 08:36:31 -06:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
timedef timedef: remove redundancy in Catalan date_fmt definitions 2024-11-13 16:12:42 -06:00
vt Supercharge the most beautiful console font ever with +4300 glyphs. 2025-08-29 21:39:00 +02:00
zoneinfo zoneinfo: don't install version 2025-05-22 01:17:49 +08:00
Makefile iwm: Stop shipping firmware as kernel module 2024-12-16 10:44:47 +01:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00