Re: [PATCH net-next v7 08/12] selftests: ncdevmem: Use YNL to enable TCP header split

From: Joe Damato
Date: Mon Nov 04 2024 - 19:00:12 EST


On Mon, Nov 04, 2024 at 10:14:26AM -0800, Stanislav Fomichev wrote:
> 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@xxxxxxxxxx>
> Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxxx>
> ---
> tools/testing/selftests/net/Makefile | 2 +-
> tools/testing/selftests/net/ncdevmem.c | 57 +++++++++++++++++++++++++-
> 2 files changed, 56 insertions(+), 3 deletions(-)

Reviewed-by: Joe Damato <jdamato@xxxxxxxxxx>