Re: [PATCH net-next 1/6] net: netconsole: selftests: Create a new netconsole selftest

2024-08-02 Thread Breno Leitao
Hello Jakub, On Thu, Aug 01, 2024 at 09:53:22AM -0700, Jakub Kicinski wrote: > On Thu, 1 Aug 2024 09:11:58 -0700 Breno Leitao wrote: > > .../net/netconsole/basic_integration_test.sh | 153 ++ > > It needs to be included in a Makefile > If we only have one script I'd put it direc

Re: [PATCH net-next 1/6] net: netconsole: selftests: Create a new netconsole selftest

2024-08-01 Thread Jakub Kicinski
On Thu, 1 Aug 2024 09:11:58 -0700 Breno Leitao wrote: > .../net/netconsole/basic_integration_test.sh | 153 ++ It needs to be included in a Makefile If we only have one script I'd put it directly in .../net/, or drivers/netdevsim/? each target should technically have a Kconfig,

[PATCH net-next 1/6] net: netconsole: selftests: Create a new netconsole selftest

2024-08-01 Thread Breno Leitao
Adds a selftest that creates two virtual interfaces, assigns one to a new namespace, and assigns IP addresses to both. It listens on the destination interface using netcat and configures a dynamic target on netconsole, pointing to the destination IP address. The test then checks if the message wa