Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-11 Thread David Marchand
On Wed, Oct 11, 2023 at 8:28 AM Mattias Rönnblom wrote: > > On 2023-10-10 13:56, David Marchand wrote: > > On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom > > wrote: > >> +static int > >> +test_dispatcher(void) > >> +{ > >> + return unit_test_suite_runner(&test_suite); > >> +} > >> + > >> +

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread Mattias Rönnblom
On 2023-10-10 16:02, David Marchand wrote: On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: Add unit tests for the dispatcher. Fyi, this patch is the first external user of rte_event_maintain and it revealed an issue: http://mails.dpdk.org/archives/test-report/2023-October/475671.html

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread Mattias Rönnblom
On 2023-10-10 13:56, David Marchand wrote: On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: +static int +test_dispatcher(void) +{ + return unit_test_suite_runner(&test_suite); +} + +REGISTER_FAST_TEST(dispatcher_autotest, false, true, test_dispatcher); Since this test expects some

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: > > Add unit tests for the dispatcher. Fyi, this patch is the first external user of rte_event_maintain and it revealed an issue: http://mails.dpdk.org/archives/test-report/2023-October/475671.html I sent a fix, can you have a look? https://

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: > +static int > +test_dispatcher(void) > +{ > + return unit_test_suite_runner(&test_suite); > +} > + > +REGISTER_FAST_TEST(dispatcher_autotest, false, true, test_dispatcher); Since this test expects some lcores, wdyt of adding: @@ -104