diff options
author | Taehee Yoo <ap420073@gmail.com> | 2025-01-14 14:28:48 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-15 14:42:11 -0800 |
commit | 152f4da05aeee62cf04d61daf9789575f1df8f4e (patch) | |
tree | 1cb774feb2bf171b84a2a2d5f0e54e3779aec76a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2d46e481a9afc8e6b214f5c78b05374f05b8f62a (diff) |
bnxt_en: add support for rx-copybreak ethtool command
The bnxt_en driver supports rx-copybreak, but it couldn't be set by
userspace. Only the default value(256) has worked.
This patch makes the bnxt_en driver support following command.
`ethtool --set-tunable <devname> rx-copybreak <value> ` and
`ethtool --get-tunable <devname> rx-copybreak`.
By this patch, hds_threshol is set to the rx-copybreak value.
But it will be set by `ethtool -G eth0 hds-thresh N`
in the next patch.
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Tested-by: Stanislav Fomichev <sdf@fomichev.me>
Tested-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250114142852.3364986-7-ap420073@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions