diff options
author | Michal Kubiak <[email protected]> | 2023-12-12 15:27:52 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-13 18:22:06 -0800 |
commit | 9b1aa3ef2328aeef35b388c4c22323eaa792c1aa (patch) | |
tree | 892917a719668ce929927ebeac97eae07d39f242 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 50d73710715de7d1a2c88194562f520816af9c2a (diff) |
idpf: add get/set for Ethtool's header split ringparam
idpf supports the header split feature and that feature is always
enabled by default.
However, for flexibility reasons and to simplify some scenarios, it
would be useful to have the support for switching the header split
off (and on) from the userspace.
Address that need by adding the user config parameter, the functions
for disabling (or enabling) the header split feature, and calls to
them from the Ethtool ringparam callbacks.
It still is enabled by default if supported by the hardware.
Reviewed-by: Przemek Kitszel <[email protected]>
Signed-off-by: Michal Kubiak <[email protected]>
Co-developed-by: Alexander Lobakin <[email protected]>
Signed-off-by: Alexander Lobakin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions