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-11-12 16:41:45 +00:00
2024-11-19 11:08:17 +01:00
2024-12-07 17:56:46 -08:00
2024-11-25 17:24:51 -08:00
2025-01-09 10:16:45 -08:00
2024-11-18 20:23:04 -05:00
2024-12-05 10:03:43 -08:00
2025-01-14 11:13:35 -08:00
2024-11-22 17:06:59 -08:00
2024-12-09 14:44:59 -08:00
2025-01-06 16:26:13 -08:00
2024-12-04 18:27:32 +05:30
2025-01-14 13:56:33 +01:00
2024-11-18 14:31:57 +01:00
2024-11-23 09:58:07 -08:00
2024-11-20 15:40:54 -08:00
2024-11-27 13:38:09 -08:00
2024-11-22 17:06:59 -08:00
2024-11-29 11:19:31 -08:00
2024-12-02 11:34:44 -08:00
2024-12-18 19:04:46 -08:00
2024-11-19 21:35:14 +01:00
2024-12-04 09:59:54 +00:00
2024-12-12 08:43:28 -07:00
2024-11-13 12:04:58 -07:00
2024-12-10 09:15:33 -07:00
2024-12-10 10:24:57 -08:00
2024-11-22 20:36:11 -08:00
2024-12-19 11:35:07 -08:00
2024-12-18 19:04:43 -08:00
2024-12-07 11:15:14 +01:00
2024-11-18 20:00:28 -08:00
2024-12-05 16:03:24 +01:00
2024-11-19 08:48:27 -08:00
2024-11-25 15:22:35 -08:00
2024-11-11 17:17:04 -08:00
2024-11-11 17:17:04 -08:00
2024-12-13 09:28:32 +01:00
2024-11-19 15:54:19 -08:00
2024-11-19 21:46:51 +01:00
2024-11-13 13:00:35 -06:00
2024-12-04 17:41:25 +05:30
2024-11-13 13:49:33 +01:00
2024-11-15 17:40:00 +01:00
2024-12-09 14:44:59 -08:00
2025-01-15 14:42:11 -08:00
2024-12-03 08:22:25 -08:00
2024-11-26 13:26:15 -08:00
2024-11-21 16:12:30 +00:00
2024-11-18 12:24:06 -08:00
2024-12-19 11:35:07 -08:00
2024-12-16 16:23:07 -08:00
2024-11-18 12:44:25 -08:00
2024-12-02 11:34:44 -08:00
2024-11-23 09:58:07 -08:00
2024-11-28 14:49:28 +01:00
2024-11-18 22:02:17 +01:00
2024-12-18 19:04:43 -08:00
2024-12-09 18:44:15 +00:00
2024-11-27 12:04:26 +01:00
2024-11-12 13:41:45 +01:00
2025-01-14 12:17:27 +01:00
2025-01-07 18:06:51 -08:00
2024-12-15 12:31:35 +00:00
2024-11-24 17:05:27 -08:00
2024-11-14 15:16:50 +02:00
2024-12-17 08:21:46 -07:00
2024-12-18 18:19:33 -07:00
2024-11-12 14:11:03 -04:00
2024-12-11 11:09:05 +01:00
2024-11-27 14:24:34 -08:00
2024-11-12 11:46:19 -04:00
2024-11-13 12:56:48 -05:00
2024-11-11 17:22:26 -08:00
2024-12-09 13:48:23 -08:00
2024-11-14 13:20:04 -05:00
2024-11-11 17:22:26 -08:00
2024-11-14 19:08:55 -08:00
2024-12-30 17:59:06 -08:00
2024-11-11 10:56:27 -08:00
2024-12-30 17:59:07 -08:00
2024-12-30 17:59:07 -08:00
2024-11-27 09:38:27 +09:00
2024-11-14 22:49:19 -08:00
2024-12-02 11:34:44 -08:00
2024-12-16 12:51:40 +00:00
2025-01-14 17:29:04 -08:00
2024-12-12 11:59:18 +01:00
2025-01-15 14:42:11 -08:00
2024-12-09 14:44:59 -08:00
2024-12-20 22:07:58 +01:00
2024-11-21 08:28:08 -08:00
2024-12-04 19:15:38 -08:00
2024-11-18 20:23:12 -05:00
2024-11-21 08:57:41 -08:00
2024-11-27 12:04:01 +01:00
2024-11-27 09:38:27 +09:00
2024-11-27 09:38:27 +09:00
2024-12-11 20:13:00 -08:00
2024-11-11 10:56:27 -08:00
2024-12-18 19:04:45 -08:00
2024-11-29 11:19:31 -08:00
2024-11-16 10:09:30 -06:00
2024-11-18 17:18:21 +00:00
2024-11-21 16:01:27 +00:00
2024-12-20 10:14:04 -08:00
2024-12-30 17:59:09 -08:00
2024-11-14 10:40:01 +01:00
2024-12-05 19:54:46 -08:00
2024-11-11 17:22:27 -08:00
2025-01-14 11:44:19 +01:00
2025-01-14 11:44:19 +01:00
2025-01-15 13:23:30 -08:00
2024-12-01 15:12:43 -08:00
2024-11-11 17:17:04 -08:00
2024-12-02 11:34:44 -08:00
2024-11-13 11:00:23 +01:00
2024-12-09 14:44:59 -08:00
2024-12-18 17:55:30 -08:00
2024-12-02 11:34:44 -08:00
2024-11-23 17:47:53 -05:00
2024-11-27 09:38:27 +09:00
2024-11-20 12:09:47 -08:00
2024-12-09 14:44:59 -08:00
2025-01-07 13:45:53 +01:00
2024-11-11 17:17:04 -08:00
2024-11-11 17:17:04 -08:00
2024-12-05 19:54:47 -08:00
2024-12-29 10:14:20 +01:00
2024-11-18 17:34:05 -08:00
2024-11-23 09:58:07 -08:00
2024-12-18 17:55:30 -08:00
2024-12-19 19:51:13 -08:00
2024-12-20 17:59:47 +01:00
2024-11-25 16:51:24 -08:00
2024-11-28 08:57:42 +01:00
2024-11-11 17:17:04 -08:00
2024-11-11 17:17:04 -08:00
2024-11-11 17:17:04 -08:00
2024-11-15 22:13:37 +01:00
2024-11-15 22:13:37 +01:00
2024-11-15 22:13:37 +01:00
2024-12-05 19:54:45 -08:00
2024-12-18 09:47:43 -08:00
2024-12-09 18:36:02 -08:00
2024-11-30 22:41:35 -05:00
2024-11-15 19:29:16 +01:00
2024-11-19 16:35:06 -08:00
2024-11-13 21:10:45 +02:00
2024-12-23 21:53:43 -05:00
2024-11-28 11:46:13 -08:00
2024-11-18 10:50:09 -08:00
2024-11-18 11:56:21 +00:00
2024-11-14 17:57:33 +01:00
2024-11-11 17:17:04 -08:00
2024-12-23 10:46:38 +01:00
2024-11-13 15:25:41 -07:00
2024-12-10 11:22:21 +01:00
2024-12-18 19:04:46 -08:00
2024-11-11 21:51:42 +01:00
2024-11-19 16:35:06 -08:00
2024-11-13 14:08:34 +01:00
2024-12-02 12:16:57 +01:00
2024-12-09 14:44:59 -08:00