]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: ncdevmem: Use YNL to enable TCP header split
authorStanislav Fomichev <sdf@fomichev.me>
Thu, 7 Nov 2024 18:12:07 +0000 (10:12 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 01:01:04 +0000 (17:01 -0800)
commit798d822e5d34ffe3f25b66b2573928962a5d3c11
tree704401db71458b919fd4ec1affce8f799a88bcbb
parente3c09623a53b8d11ff9e3c0f435ce1e8f52134ba
selftests: ncdevmem: Use YNL to enable TCP header split

In the next patch the hard-coded queue numbers are gonna be removed.
So introduce some initial support for ethtool YNL and use
it to enable header split.

Also, tcp-data-split requires latest ethtool which is unlikely
to be present in the distros right now.

(ideally, we should not shell out to ethtool at all).

Reviewed-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20241107181211.3934153-9-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/ncdevmem.c