[dpdk-dev] [PATCH 00/20] add eventmode helper functions

Jerin Jacob jerin.jacob at caviumnetworks.com
Mon Jun 11 10:32:32 CEST 2018


-----Original Message-----
> Date: Fri,  8 Jun 2018 22:53:59 +0530
> From: Anoob Joseph <anoob.joseph at caviumnetworks.com>
> To: Bruce Richardson <bruce.richardson at intel.com>, Jerin Jacob
>  <jerin.jacob at caviumnetworks.com>, Pablo de Lara
>  <pablo.de.lara.guarch at intel.com>
> Cc: Anoob Joseph <anoob.joseph at caviumnetworks.com>, Hemant Agrawal
>  <hemant.agrawal at nxp.com>, Narayana Prasad
>  <narayanaprasad.athreya at caviumnetworks.com>, Nikhil Rao
>  <nikhil.rao at intel.com>, Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>,
>  Sunil Kumar Kori <sunil.kori at nxp.com>, dev at dpdk.org
> Subject: [PATCH 00/20] add eventmode helper functions
> X-Mailer: git-send-email 2.7.4
> 
> This patchset adds common initialization code required for using
> applications in event mode. The APIs exposed, abstracts the complex
> configuration options exposed by eventdev, ethdev & eth rx adapter.
> Also, this enables the usage of multiple workers fine tuned for the
> features of the underlying hardware.
> 
> With these APIs, existing poll mode applications can be made event
> driven easily, and the applications can better leverage the event
> mode's capabilities.
> 
> L2fwd application has been made event-driven to demonstrate the usage
> of helper APIs. Tested with nicvf eth PMD and event_octeontx event
> PMD on Cavium's CN83XX platform.
> 
> Parts of this patchset is inspired by an RFC send by
> Sunil Kumar Kori <sunil.kori at nxp.com>

Hi Anoob,

There is bit overlap with Nikhil's TX adapter patches and this series.
I prefer to have Nikhil's Tx adapter gets in first(as he sent the RFC
first) and then rework this series to adapt Tx adapter patches. I think,
this will enable
- application code will be even much cleaner with Tx adapter.
- zero overlap
- no major rework

Nikhil,

When you are planning to send the first version of Tx adapter patch so
we all can review it and give time for Anoob to rework this series
based on Tx adapter APIs'

All,

Is there any concern on overall rte_eventmode_helper.h approach to 
avoid code duplication for Rx and Tx adapter configuration codes
across all the applications?



More information about the dev mailing list