[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241206150918.GU2581@kernel.org>
Date: Fri, 6 Dec 2024 15:09:18 +0000
From: Simon Horman <horms@...nel.org>
To: Breno Leitao <leitao@...ian.org>
Cc: Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Shuah Khan <shuah@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH net-next 4/4] netconsole: selftest: verify userdata entry
limit
On Wed, Dec 04, 2024 at 08:40:45AM -0800, Breno Leitao wrote:
> Add a new selftest for netconsole that tests the userdata entry limit
> functionality. The test performs two key verifications:
>
> 1. Create MAX_USERDATA_ITEMS (16) userdata entries successfully
> 2. Confirm that attempting to create an additional userdata entry fails
>
> The selftest script uses the netcons library and checks the behavior
> by attempting to create entries beyond the maximum allowed limit.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
> ---
> MAINTAINERS | 2 +-
> .../selftests/drivers/net/netcons_overflow.sh | 67 ++++++++++++++++++++++
> 2 files changed, 68 insertions(+), 1 deletion(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 8af5c9a28e68c4b6a785e2e6b82db20b3cf59822..62192db4641a4056d1eab911f5c141fb37eaed36 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -16092,7 +16092,7 @@ S: Maintained
> F: Documentation/networking/netconsole.rst
> F: drivers/net/netconsole.c
> F: tools/testing/selftests/drivers/net/lib/sh/lib_netcons.sh
> -F: tools/testing/selftests/drivers/net/netcons_basic.sh
> +F: tools/testing/selftests/drivers/net/netcons\*
>
> NETDEVSIM
> M: Jakub Kicinski <kuba@...nel.org>
> diff --git a/tools/testing/selftests/drivers/net/netcons_overflow.sh b/tools/testing/selftests/drivers/net/netcons_overflow.sh
Nit: I think you need to add netcons_overflow.sh to
tools/testing/selftests/drivers/net/Makefile
Other than that, this looks good to me.
Tested-by: Simon Horman <horms@...nel.org>
Reviewed-by: Simon Horman <horms@...nel.org>
...
Powered by blists - more mailing lists