From: Anoob Joseph <email@example.com> To: "Jerin Jacob Kollanukkaran" <firstname.lastname@example.org>, "Mattias Rönnblom" <email@example.com>, "Nikhil Rao" <firstname.lastname@example.org>, "Erik Gabriel Carrillo" <email@example.com>, "Abhinandan Gujjar" <firstname.lastname@example.org>, "Bruce Richardson" <email@example.com>, "Pablo de Lara" <firstname.lastname@example.org> Cc: Narayana Prasad Raju Athreya <email@example.com>, "firstname.lastname@example.org" <email@example.com>, Lukas Bartosik <firstname.lastname@example.org>, "Pavan Nikhilesh Bhagavatula" <email@example.com>, Hemant Agrawal <firstname.lastname@example.org>, Nipun Gupta <email@example.com>, Harry van Haaren <firstname.lastname@example.org>, Liang Ma <email@example.com> Subject: Re: [dpdk-dev] [PATCH 00/39] adding eventmode helper library Date: Thu, 27 Jun 2019 05:28:11 +0000 [thread overview] Message-ID: <MN2PR18MB2877FF8D4CDC85922081C347DFFD0@MN2PR18MB2877.namprd18.prod.outlook.com> (raw) In-Reply-To: <BYAPR18MB2424505627F28A84D9674D63C8E30@BYAPR18MB2424.namprd18.prod.outlook.com> Hi Jerin, Mattias, Please see inline. Thanks, Anoob > -----Original Message----- > From: Jerin Jacob Kollanukkaran > Sent: Tuesday, June 25, 2019 4:03 PM > To: Anoob Joseph <firstname.lastname@example.org>; Mattias Rönnblom > <email@example.com>; Nikhil Rao <firstname.lastname@example.org>; Erik > Gabriel Carrillo <email@example.com>; Abhinandan Gujjar > <firstname.lastname@example.org>; Bruce Richardson > <email@example.com>; Pablo de Lara > <firstname.lastname@example.org> > Cc: Narayana Prasad Raju Athreya <email@example.com>; firstname.lastname@example.org; > Lukas Bartosik <email@example.com>; Pavan Nikhilesh Bhagavatula > <firstname.lastname@example.org>; Hemant Agrawal > <email@example.com>; Nipun Gupta <firstname.lastname@example.org>; Harry > van Haaren <email@example.com>; Liang Ma > <firstname.lastname@example.org> > Subject: RE: [dpdk-dev] Re: [PATCH 00/39] adding eventmode helper library > > > -----Original Message----- > > From: Anoob Joseph > > Sent: Thursday, June 20, 2019 9:15 AM > > To: Mattias Rönnblom <email@example.com>; Jerin Jacob > > Kollanukkaran <firstname.lastname@example.org>; Nikhil Rao <email@example.com>; > > Erik Gabriel Carrillo <firstname.lastname@example.org>; Abhinandan Gujjar > > <email@example.com>; Bruce Richardson > > <firstname.lastname@example.org>; Pablo de Lara > > <email@example.com> > > Cc: Narayana Prasad Raju Athreya <firstname.lastname@example.org>; > email@example.com; > > Lukas Bartosik <firstname.lastname@example.org>; Pavan Nikhilesh Bhagavatula > > <email@example.com>; Hemant Agrawal > <firstname.lastname@example.org>; > > Nipun Gupta <email@example.com>; Harry van Haaren > > <firstname.lastname@example.org>; Liang Ma <email@example.com> > > Subject: RE: [dpdk-dev] [EXT] Re: [PATCH 00/39] adding eventmode > > helper library > > > However, the flexibility and many of the parameters are there for a > > > reason (those there aren't should be deprecated). I would expect a > > > real-world application to tweak quite a few of them. I know our > > > applications > > do. > > > > > > I worry I have is that if you put eventmode (in its current form) > > > forward as a generic framework, applications might start using it, > > > only to realize it's not flexible enough, and then eventmode is just > > > an extra layer, increasing rather than reducing complexity. Or even > > > worse, the application's developers are forced to do a big-bang > > > switch over to using the event and ethernet device APIs directly, in > > > case they can't patch DPDK to work around the eventmode- > > > assumption-that- > > didn't-hold-for-them. > > > > > > You could always add flexibility to the framework (as you encounter > > > a need for it), but then it will grow in complexity as well. > > > > > > A less ambitious approach would be to instead do a properly > > > modularized, non-trivial eventdev example application, for the > > > applications to start off from, instead of a generic library. > > > > > > I would expect it to be very difficult to design a truly generic > > > application framework for eventdev-based applications. Such a > > > framework would tie everything that's needed in a non-trivial > > > application together. If successful, it would be a huge step toward > > > making DPDK an operating system for packet processing applications. > > > > [Anoob] The idea here is not to deprecate any event dev APIs. I do > > agree that all the configuration exposed by eventdev & adapters are > > required for various requirements in the real world applications. But > > the requirement to understand & use all this configuration is making > > the applications complicated and causes significant effort from anyone who > would want to get started with event mode. > > The idea of helper is to allow an easy framework for applications to > > get started with eventmode, and then use various options from C/L or > > config file (both > > planned) to override the configuration as required. DPDK has > > components like crypto-scheduler which abstracts lot of configuration > > and simplify usage from application's perspective. This effort is on similar > lines. > > > > My patchset is a followup to http://patches.dpdk.org/patch/37955 , > > wherein the approach of introducing a helper library for event mode > > was mooted. The initial patch proposed additions in one application, > > and that involved huge code additions just for doing the configuration. > > > > The helper library will be experimental while we add event-mode > > support for other applications like l3fwd & ipsec-secgw. I expect the > > helper library to be complete over the course of those applications also > using the helper library. > > > I have only concern about moving this as library inside eventdev that till we > have mature version of helper library the eventdev library ABI will not > stable(i.e .so file version needs to be incremented as when a change > needed). Which align with Mattias thoughts for some other reason:. How > about moving this code to > 1) example/common or > 2) to specific application itself, once at least two applications starts using it > then move to Eventdev library. > > Thoughts? [Anoob] Either location is not a problem if there is a consensus. Earlier the suggestion was to move it to library (when the patch was submitted with changes added in app). Since there are other comments, which are being addressed, I would like to send the next series with the current layout itself. And when we have an agreement on the location to be used, I'll make the changes. Is that fine? > > > > > > > > > > > > What event devices have you tested with? > > > > [Anoob] Eventmode helper is tested with the following combinations, > > 1. event-octeontx event PMD & nicvf eth PMD > > 2. event-octeontx event PMD & eth-octeontx eth PMD
next prev parent reply other threads:[~2019-06-27 5:28 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-06-25 10:33 Jerin Jacob Kollanukkaran 2019-06-27 5:28 ` Anoob Joseph [this message] 2019-06-28 3:37 ` Jerin Jacob Kollanukkaran 2019-06-28 8:02 ` Mattias Rönnblom 2019-06-28 8:40 ` Thomas Monjalon 2019-06-28 9:07 ` Mattias Rönnblom 2019-06-28 11:34 ` [dpdk-dev] [EXT] " Anoob Joseph 2019-07-02 14:17 ` Anoob Joseph 2019-07-02 14:26 ` Jerin Jacob Kollanukkaran 2019-07-02 14:49 ` Bruce Richardson 2019-07-02 14:57 ` Thomas Monjalon 2019-07-02 16:18 ` Anoob Joseph 2019-07-02 17:38 ` Mattias Rönnblom 2019-07-03 1:35 ` Anoob Joseph 2019-07-03 8:51 ` Thomas Monjalon 2019-07-03 9:37 ` Anoob Joseph 2019-07-03 16:30 ` Thomas Monjalon 2019-07-04 3:34 ` Anoob Joseph -- strict thread matches above, loose matches on Subject: below -- 2019-06-03 17:32 [dpdk-dev] " Anoob Joseph 2019-06-07 9:48 ` Jerin Jacob Kollanukkaran 2019-06-11 10:44 ` Mattias Rönnblom
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=MN2PR18MB2877FF8D4CDC85922081C347DFFD0@MN2PR18MB2877.namprd18.prod.outlook.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: [dpdk-dev] [PATCH 00/39] adding eventmode helper library' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).