From: Yu Watanabe Date: Tue, 7 Jan 2025 14:06:17 +0000 (+0900) Subject: udev/net: add PartialGenericSegmentationOffload= setting X-Git-Tag: v258-rc1~1663^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=844295b2bb739a50c61c5d4a201552feee11130e;p=thirdparty%2Fsystemd.git udev/net: add PartialGenericSegmentationOffload= setting Closes #32979. --- diff --git a/man/systemd.link.xml b/man/systemd.link.xml index d97c931c2ed..9ddcaf7c09d 100644 --- a/man/systemd.link.xml +++ b/man/systemd.link.xml @@ -942,6 +942,18 @@ + + PartialGenericSegmentationOffload= + + Takes a boolean. If set to true, Partial Generic Segmentation Offload (GSO_Partial) is + enabled. See + + Partial Generic Segmentation Offload for more details. + When unset, the kernel's default will be used. + + + + GenericReceiveOffload= diff --git a/src/udev/net/link-config-gperf.gperf b/src/udev/net/link-config-gperf.gperf index 26137f33d23..e4db56e8445 100644 --- a/src/udev/net/link-config-gperf.gperf +++ b/src/udev/net/link-config-gperf.gperf @@ -63,6 +63,7 @@ Link.TransmitChecksumOffload, config_parse_tristate, Link.GenericSegmentationOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GSO]) Link.TCPSegmentationOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_TSO]) Link.TCP6SegmentationOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_TSO6]) +Link.PartialGenericSegmentationOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GSO_PARTIAL]) Link.UDPSegmentationOffload, config_parse_warn_compat, DISABLED_LEGACY, 0 Link.GenericReceiveOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GRO]) Link.GenericReceiveOffloadHardware, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GRO_HW])