[dpdk-dev] [PATCH v7 5/7] test: add event timer adapter auto-test
Carrillo, Erik G
erik.g.carrillo at intel.com
Wed Mar 14 22:42:29 CET 2018
Hi Pavan,
> -----Original Message-----
> From: Pavan Nikhilesh [mailto:pbhagavatula at caviumnetworks.com]
> Sent: Wednesday, March 14, 2018 7:53 AM
> To: Carrillo, Erik G <erik.g.carrillo at intel.com>;
> jerin.jacob at caviumnetworks.com; nipun.gupta at nxp.com;
> hemant.agrawal at nxp.com
> Cc: dev at dpdk.org
> Subject: Re: [PATCH v7 5/7] test: add event timer adapter auto-test
>
> Hi Gabriel,
>
> On Thu, Mar 08, 2018 at 03:54:04PM -0600, Erik Gabriel Carrillo wrote:
> > Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo at intel.com>
> > ---
> > test/test/Makefile | 1 +
> > test/test/test_event_timer_adapter.c | 1234
> > ++++++++++++++++++++++++++++++++++
> > 2 files changed, 1235 insertions(+)
> > create mode 100644 test/test/test_event_timer_adapter.c
> >
> <snip>
> > +
> > +static int
> > +configure_event_dev(void)
> > +{
> > + const char *eventdev_name = "event_sw0";
>
> Can this be made generic? instead of hardcoding to event_sw, check if
> event_device is passed via --vdev (verify rte_event_dev_count()) and if it is
> absent fallback to event_sw.
>
Sure, I'll look into doing this.
Thanks,
Gabriel
> Thanks,
> Pavan.
>
> > +
> > + return TEST_SUCCESS;
> > +}
> <snip>
More information about the dev
mailing list