On Tue, Nov 16, 2021 at 11:42 PM Ferruh Yigit <ferruh.yi...@intel.com> wrote:
>
> On 11/16/2021 6:06 PM, Elena Agostini wrote:
> >  > From: Ferruh Yigit <ferruh.yi...@intel.com>
> >
> >  > Date: Tuesday, 16 November 2021 at 19:00
> >
> >  > To: Elena Agostini <eagost...@nvidia.com>
> >
> >  > Cc: dev@dpdk.org <dev@dpdk.org>, Slava Ovsiienko <viachesl...@nvidia.com>
> >
> >  > Subject: Re: [PATCH v2 1/1] app/testpmd: add GPU memory option in iofwd 
> > engine
> >
> >  > External email: Use caution opening links or attachments>
> >
> >  >
> >
> >  > On 11/11/2021 9:41 PM, eagost...@nvidia.com wrote:
> >
> >  > > --- a/app/test-pmd/meson.build
> >
> >  > > +++ b/app/test-pmd/meson.build
> >
> >  > > @@ -32,7 +32,7 @@ if dpdk_conf.has('RTE_HAS_JANSSON')
> >
> >  > >       ext_deps += jansson_dep
> >
> >  > >   endif
> >
> >  > >
> >
> >  > > -deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci']
> >
> >  > > +deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci', 
> > 'gpudev']>
> >
> >  > I didn't review the set, but in a very high level do we want to add
> >
> >  > 'gpudev' as dependency? Isn't this like adding 'rawdev' as dependency.
> >
> > gpudev is a library that can be built without a gpu driver as all the other 
> > libraries
> >
> > and itis actually used only in case of GPU memory mempool.
> >
> > Reasons for this patch are:
> >
> > - Have an upstreamed benchmark tool to measure network metrics using GPU 
> > memory
> >
> > - Test some DPDK features not really tested anywhere like the external 
> > memory mempool feature
> >
>
> I can see the reason, that is obvious, yet again why we are not adding rawdev
> testing to the testpmd? But adding gpudev.
> It is easier to add it to the testpmd, and for some testing perspective it
> makes sense, but still I am not quite sure about this new dependency, I would
> like to get more feedback.

I had the similar concern earlier. IMO, It is better to have a
separate test application for gpudev like
other device classes. For eventdev cases when it needs to work with
ethdev for Rx adapter cases,
We have enabled such code in app/test-eventdev to make testpmd focus on ethdev.

Reply via email to