Re: [PATCH] app/test: invoke all telemetry commands

2022-07-29 Thread David Marchand
On Fri, Jul 29, 2022 at 3:27 PM Bruce Richardson wrote: > > > Rather than looping for each driver and building a huge cmdline, we should > > > just be able to pass in the path to the drivers directory, and have DPDK > > > auto-load all .so files there. Passing in "meson.project_build_root() + > >

Re: [PATCH] app/test: invoke all telemetry commands

2022-07-29 Thread Bruce Richardson
On Fri, Jul 29, 2022 at 01:53:04PM +0200, David Marchand wrote: > On Fri, Jul 29, 2022 at 12:20 PM Bruce Richardson > wrote: > > > > On Fri, Jul 29, 2022 at 11:54:00AM +0200, David Marchand wrote: > > > Try and call all possible telemetry commands. > > > Each commands is tested with no argument, 0

Re: [PATCH] app/test: invoke all telemetry commands

2022-07-29 Thread David Marchand
On Fri, Jul 29, 2022 at 12:20 PM Bruce Richardson wrote: > > On Fri, Jul 29, 2022 at 11:54:00AM +0200, David Marchand wrote: > > Try and call all possible telemetry commands. > > Each commands is tested with no argument, 0 (for command that accepts > > a single integer like for a port identifier)

Re: [PATCH] app/test: invoke all telemetry commands

2022-07-29 Thread Bruce Richardson
On Fri, Jul 29, 2022 at 01:13:49PM +0200, David Marchand wrote: > On Fri, Jul 29, 2022 at 12:20 PM Bruce Richardson > wrote: > > > +if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY') > > > +test_args = [dpdk_test] > > > +test_args += test_no_huge_args > > > +if get_option('defaul

Re: [PATCH] app/test: invoke all telemetry commands

2022-07-29 Thread David Marchand
On Fri, Jul 29, 2022 at 12:20 PM Bruce Richardson wrote: > > +if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY') > > +test_args = [dpdk_test] > > +test_args += test_no_huge_args > > +if get_option('default_library') == 'shared' > > +foreach drv:dpdk_drivers > > +

Re: [PATCH] app/test: invoke all telemetry commands

2022-07-29 Thread Bruce Richardson
On Fri, Jul 29, 2022 at 11:54:00AM +0200, David Marchand wrote: > Try and call all possible telemetry commands. > Each commands is tested with no argument, 0 (for command that accepts > a single integer like for a port identifier) and z (to catch commands > not properly validating input). > Fake cr

[PATCH] app/test: invoke all telemetry commands

2022-07-29 Thread David Marchand
Try and call all possible telemetry commands. Each commands is tested with no argument, 0 (for command that accepts a single integer like for a port identifier) and z (to catch commands not properly validating input). Fake cryptodev, dmadev, ethdev, eventdev and rawdev devices are created using dum

[RFC PATCH] app/test: invoke all telemetry commands

2022-05-19 Thread David Marchand
Try and call all possible telemetry commands. Each commands is tested with no argument, 0 (for command that accepts a single integer like for a port identifier) and z (to catch commands not properly validating input). Fake cryptodev, ethdev and eventdev ports are created using dummy drivers. Outpu