Re: [ovs-dev] [PATCH v7 1/8] system-dpdk: Introduce helpers for testpmd.

2023-10-26 Thread Frode Nordahl
tor. 26. okt. 2023, 12:34 skrev David Marchand : > On Thu, Oct 26, 2023 at 10:10 AM Frode Nordahl > wrote: > > > > On Mon, Oct 23, 2023 at 10:19 AM David Marchand > > wrote: > > > > > > Rather than copy/paste everywhere, introduce helpers to control > > > testpmd runs. > > > Rely on --stats-peri

Re: [ovs-dev] [PATCH v7 1/8] system-dpdk: Introduce helpers for testpmd.

2023-10-26 Thread David Marchand
On Thu, Oct 26, 2023 at 10:10 AM Frode Nordahl wrote: > > On Mon, Oct 23, 2023 at 10:19 AM David Marchand > wrote: > > > > Rather than copy/paste everywhere, introduce helpers to control > > testpmd runs. > > Rely on --stats-period (which outputs port stats every n seconds) so that > > testpmd ke

Re: [ovs-dev] [PATCH v7 1/8] system-dpdk: Introduce helpers for testpmd.

2023-10-26 Thread Frode Nordahl
On Mon, Oct 23, 2023 at 10:19 AM David Marchand wrote: > > Rather than copy/paste everywhere, introduce helpers to control > testpmd runs. > Rely on --stats-period (which outputs port stats every n seconds) so that > testpmd keeps running without expecting any user input. > > Signed-off-by: David

Re: [ovs-dev] [PATCH v7 1/8] system-dpdk: Introduce helpers for testpmd.

2023-10-25 Thread David Marchand
On Wed, Oct 25, 2023 at 2:50 PM Aaron Conole wrote: > > David Marchand writes: > > > On Mon, Oct 23, 2023 at 10:20 AM David Marchand > > wrote: > >> +# OVS_DPDK_CHECK_TESTPMD() > >> +# > >> +# Check dpdk-testpmd availability. > >> +# > >> +m4_define([OVS_DPDK_CHECK_TESTPMD], > >> + [AT_SKIP_IF(

Re: [ovs-dev] [PATCH v7 1/8] system-dpdk: Introduce helpers for testpmd.

2023-10-25 Thread Aaron Conole
David Marchand writes: > On Mon, Oct 23, 2023 at 10:20 AM David Marchand > wrote: >> +# OVS_DPDK_CHECK_TESTPMD() >> +# >> +# Check dpdk-testpmd availability. >> +# >> +m4_define([OVS_DPDK_CHECK_TESTPMD], >> + [AT_SKIP_IF([! which dpdk-testpmd >/dev/null 2>/dev/null]) >> +]) >> + >> + >> +# OVS_

Re: [ovs-dev] [PATCH v7 1/8] system-dpdk: Introduce helpers for testpmd.

2023-10-24 Thread David Marchand
On Mon, Oct 23, 2023 at 10:20 AM David Marchand wrote: > +# OVS_DPDK_CHECK_TESTPMD() > +# > +# Check dpdk-testpmd availability. > +# > +m4_define([OVS_DPDK_CHECK_TESTPMD], > + [AT_SKIP_IF([! which dpdk-testpmd >/dev/null 2>/dev/null]) > +]) > + > + > +# OVS_DPDK_START_TESTPMD() > +# > +# Start dp

[ovs-dev] [PATCH v7 1/8] system-dpdk: Introduce helpers for testpmd.

2023-10-23 Thread David Marchand
Rather than copy/paste everywhere, introduce helpers to control testpmd runs. Rely on --stats-period (which outputs port stats every n seconds) so that testpmd keeps running without expecting any user input. Signed-off-by: David Marchand Acked-by: Aaron Conole Acked-by: Eelco Chaudron --- Chang