diff options
| author | Taehee Yoo <[email protected]> | 2025-01-14 14:28:50 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-15 22:42:12 +0000 |
| commit | 6b43673a25c3666d42f5524e59aed8a3914924cc (patch) | |
| tree | 61b271ca44a622881d3217f14efc45b20383d8a9 /drivers/net/netdevsim/netdev.c | |
| parent | bnxt_en: add support for tcp-data-split ethtool command (diff) | |
| download | kernel-6b43673a25c3666d42f5524e59aed8a3914924cc.tar.gz kernel-6b43673a25c3666d42f5524e59aed8a3914924cc.zip | |
bnxt_en: add support for hds-thresh ethtool command
The bnxt_en driver has configured the hds_threshold value automatically
when TPA is enabled based on the rx-copybreak default value.
Now the hds-thresh ethtool command is added, so it adds an
implementation of hds-thresh option.
Configuration of the hds-thresh is applied only when
the tcp-data-split is enabled. The default value of
hds-thresh is 256, which is the default value of
rx-copybreak, which used to be the hds_thresh value.
The maximum hds-thresh is 1023.
# Example:
# 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
Tested-by: Stanislav Fomichev <[email protected]>
Tested-by: Andy Gospodarek <[email protected]>
Signed-off-by: Taehee Yoo <[email protected]>
Reviewed-by: Michael Chan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/netdevsim/netdev.c')
0 files changed, 0 insertions, 0 deletions
