Hi Mattias,
 
> A more extensive description of the purpose of the eventmode helper 
> library would be helpful.
> 
> Is this supposed to be a generic framework for real-world 
> applications, or only something to simplify DPDK the implementation of 
> DPDK example programs and similar?
 
This is intended as a generic framework, but the initial targets would be 
limited to DPDK example applications.
 
For any application to use an event device for dynamic load balancing, it has 
to configure the event device and the adapters. Configuring the adapters would 
involve providing various parameters based on which the dynamic scheduling 
should happen. But requiring the application to do all this configuration would 
make the application complicated as well as the same code has to be repeated 
for a new application. Event mode helper tries to solve that.
 
All the complex configuration would be implemented by the helper library and 
the helper library would provide a default conf as well. 
 
These patches facilitate event mode configuration in a easy to use manner. My 
idea is that, for a poll mode DPDK example to operate in event mode, a couple 
of helper functions and a lean worker thread should suffice. So even complex 
DPDK examples and real world applications will benefit from this helper 
library. We plan to propose a change to ipsec-secgw to operate in event mode 
once this proposal is merged.
 
I'll update the cover-letter to add above details when sending v2.

Thanks,
Anoob

> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of Mattias Rönnblom
> Sent: Tuesday, June 11, 2019 4:14 PM
> To: Jerin Jacob Kollanukkaran <jer...@marvell.com>; Anoob Joseph
> <ano...@marvell.com>; Nikhil Rao <nikhil....@intel.com>; Erik Gabriel
> Carrillo <erik.g.carri...@intel.com>; Abhinandan Gujjar
> <abhinandan.guj...@intel.com>; Bruce Richardson
> <bruce.richard...@intel.com>; Pablo de Lara
> <pablo.de.lara.gua...@intel.com>
> Cc: Narayana Prasad Raju Athreya <pathr...@marvell.com>; dev@dpdk.org;
> Lukas Bartosik <lbarto...@marvell.com>; Pavan Nikhilesh Bhagavatula
> <pbhagavat...@marvell.com>; Hemant Agrawal
> <hemant.agra...@nxp.com>; Nipun Gupta <nipun.gu...@nxp.com>; Harry
> van Haaren <harry.van.haa...@intel.com>; Liang Ma
> <liang.j...@intel.com>
> Subject: [EXT] Re: [dpdk-dev] [PATCH 00/39] adding eventmode helper
> library
> 
> External Email
> 
> ----------------------------------------------------------------------
> On 2019-06-07 11:48, Jerin Jacob Kollanukkaran wrote:
> >> -----Original Message-----
> >> From: Anoob Joseph <ano...@marvell.com>
> >> Sent: Monday, June 3, 2019 11:02 PM
> >> To: Jerin Jacob Kollanukkaran <jer...@marvell.com>; Nikhil Rao
> >> <nikhil....@intel.com>; Erik Gabriel Carrillo
> >> <erik.g.carri...@intel.com>; Abhinandan Gujjar
> >> <abhinandan.guj...@intel.com>; Bruce Richardson
> >> <bruce.richard...@intel.com>; Pablo de Lara
> >> <pablo.de.lara.gua...@intel.com>
> >> Cc: Anoob Joseph <ano...@marvell.com>; Narayana Prasad Raju Athreya
> >> <pathr...@marvell.com>; dev@dpdk.org; Lukas Bartosik
> >> <lbarto...@marvell.com>; Pavan Nikhilesh Bhagavatula
> >> <pbhagavat...@marvell.com>; Hemant Agrawal
> <hemant.agra...@nxp.com>;
> >> Nipun Gupta <nipun.gu...@nxp.com>; Harry van Haaren
> >> <harry.van.haa...@intel.com>; Mattias Rönnblom
> >> <mattias.ronnb...@ericsson.com>; Liang Ma <liang.j...@intel.com>
> >> Subject: [PATCH 00/39] adding eventmode helper library
> >>
> >> This series adds support for eventmode helper library and l2fwd-event
> >> application.
> >>
> >> First 13 patches creates a new l2fwd application (l2fwd-event). Minor
> >> code reorganization is done to faciliate seamless integration of
> eventmode.
> >>
> >> Next 22 patches adds eventmode helper library. This library abstracts
> >> the configuration of event device & Rx-Tx event adapters. The library
> >> can be extended to allow users to control all the configuration
> >> exposed by adapters and eth device.
> >>
> >> Last 4 patches implements eventmode in l2fwd-event application. With
> >> event device and adapters, fine tuned threads (based on dev
> >> capabilities) can be drafted to maximize performance. Eventmode
> >> library facilitates this and l2fwd-event demonstrates this usage.
> >>
> >> With the introduction of eventmode helper library, any poll mode
> >> application can be converted to an eventmode application with simple
> >> steps, enabling multi-core scaling and dynamic load balancing to
> >> various example applications.
> >
> >
> > Anyone planning to review this changes?
> > I will spend time to review this. Requesting the review from other
> eventdev stake holders.
> >
> 
> A more extensive description of the purpose of the eventmode helper
> library would be helpful.
> 
> Is this supposed to be a generic framework for real-world applications, or
> only something to simplify DPDK the implementation of DPDK example
> programs and similar?

Reply via email to