[dpdk-dev] [PATCH] compressdev: add feature flag to specify where processing is done

Stephen Hemminger stephen at networkplumber.org
Tue Nov 20 19:07:03 CET 2018


On Tue, 20 Nov 2018 16:25:25 +0000
"Trahe, Fiona" <fiona.trahe at intel.com> wrote:

> Hi Stephen,
> 
> > -----Original Message-----
> > From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> > Sent: Monday, November 19, 2018 6:54 PM
> > To: Trahe, Fiona <fiona.trahe at intel.com>
> > Cc: dev at dpdk.org; akhil.goyal at nxp.com; Jozwiak, TomaszX <tomaszx.jozwiak at intel.com>;
> > shally.verma at caviumnetworks.com; ashish.gupta at caviumnetworks.com; Daly, Lee <lee.daly at intel.com>
> > Subject: Re: [dpdk-dev] [PATCH] compressdev: add feature flag to specify where processing is done
> > 
> > On Tue, 20 Nov 2018 01:39:48 +0000
> > Fiona Trahe <fiona.trahe at intel.com> wrote:
> >   
> > > A new device feature flag, RTE_COMPDEV_FF_SW_OP_DONE_IN_DEQUEUE
> > > is added. A PMD which processes operations using a software
> > > acceleration engine should set this if the bulk of the
> > > processing is done during the dequeue. It should leave it
> > > cleared if the bulk of the processing is done during the
> > > enqueue (default).
> > > An application may find this useful for tuning.
> > >
> > > Signed-off-by: Fiona Trahe <fiona.trahe at intel.com>  
> > 
> > What application? or is this "if we build it they will come?"  
> [Fiona] Our storage team asked for this, so not quite.
> Seems like it might by generically useful, so a bit of the latter too :)
> Would you prefer I removed that line?

Hopefully, there would be one or more open source projects using the API.
I just did a survey of DPDK an 1/3 of it is never used by any open source
project.  Hate to see more dead code and special cases created.

At least, some example code in examples would help. Something like a simple
in memory compressed storage server using a network API (SMB?/SSH?/FTP?)


More information about the dev mailing list