Files
linux-bredos/include/linux
Taehee Yoo eec8359f07 net: ethtool: add support for configuring hds-thresh
The hds-thresh option configures the threshold value of
the header-data-split.
If a received packet size is larger than this threshold value, a packet
will be split into header and payload.
The header indicates TCP and UDP header, but it depends on driver spec.
The bnxt_en driver supports HDS(Header-Data-Split) configuration at
FW level, affecting TCP and UDP too.
So, If hds-thresh is set, it affects UDP and TCP packets.

Example:
   # ethtool -G <interface name> hds-thresh <value>

   # ethtool -G enp14s0f0np0 tcp-data-split on hds-thresh 256
   # ethtool -g enp14s0f0np0
   Ring parameters for enp14s0f0np0:
   Pre-set maximums:
   ...
   HDS thresh:  1023
   Current hardware settings:
   ...
   TCP data split:         on
   HDS thresh:  256

The default/min/max values are not defined in the ethtool so the drivers
should define themself.
The 0 value means that all TCP/UDP packets' header and payload
will be split.

Tested-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Link: https://patch.msgid.link/20250114142852.3364986-3-ap420073@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-01-15 14:42:11 -08:00
..
2024-10-22 15:54:11 +02:00
2024-10-11 14:34:11 -04:00
2024-10-13 17:16:57 +02:00
2024-10-11 14:37:29 +05:30
2024-10-14 23:27:57 +05:30
2024-11-11 10:45:03 +01:00
2024-10-09 15:42:48 +01:00
2024-11-07 14:38:07 -08:00
2024-10-14 18:33:04 -07:00
2024-11-05 13:32:21 +01:00
2024-10-22 11:16:56 +02:00
2024-10-19 14:16:45 +02:00
2024-10-01 17:01:40 +02:00
2024-11-09 14:55:33 +01:00
2024-11-28 14:49:28 +01:00
2025-01-07 18:06:51 -08:00
2024-11-24 17:05:27 -08:00
2024-10-16 21:56:59 +02:00
2024-10-30 19:47:20 +01:00
2024-11-05 16:56:26 -08:00
2024-12-09 13:48:23 -08:00
2024-10-14 16:33:24 -05:00
2024-09-23 15:03:30 -04:00
2024-11-05 16:56:26 -08:00
2024-11-16 10:09:30 -06:00
2024-10-02 16:23:10 -05:00
2024-12-20 10:14:04 -08:00
2024-11-05 12:55:38 +01:00
2024-12-09 14:44:59 -08:00
2024-12-19 19:51:13 -08:00
2024-11-30 22:41:35 -05:00
2024-11-11 00:26:44 -08:00
2024-11-06 12:59:44 -05:00
2024-10-02 16:53:38 +02:00
2024-11-18 11:56:21 +00:00
2024-12-09 14:44:59 -08:00
2024-11-06 12:59:44 -05:00