Hi Jerin, Please see inline.
Thanks, Anoob > -----Original Message----- > From: Jerin Jacob Kollanukkaran > Sent: Monday, June 10, 2019 3:55 PM > To: Anoob Joseph <[email protected]>; Nikhil Rao > <[email protected]>; Erik Gabriel Carrillo <[email protected]>; > Abhinandan Gujjar <[email protected]>; Bruce Richardson > <[email protected]>; Pablo de Lara > <[email protected]> > Cc: Anoob Joseph <[email protected]>; Narayana Prasad Raju Athreya > <[email protected]>; [email protected]; Lukas Bartosik > <[email protected]>; Pavan Nikhilesh Bhagavatula > <[email protected]>; Hemant Agrawal > <[email protected]>; Nipun Gupta <[email protected]>; Harry > van Haaren <[email protected]>; Mattias Rönnblom > <[email protected]>; Liang Ma <[email protected]> > Subject: RE: [PATCH 25/39] eventdev: add routine to validate conf > > > -----Original Message----- > > From: Anoob Joseph <[email protected]> > > Sent: Monday, June 3, 2019 11:02 PM > > To: Jerin Jacob Kollanukkaran <[email protected]>; Nikhil Rao > > <[email protected]>; Erik Gabriel Carrillo > > <[email protected]>; Abhinandan Gujjar > > <[email protected]>; Bruce Richardson > > <[email protected]>; Pablo de Lara > > <[email protected]> > > Cc: Anoob Joseph <[email protected]>; Narayana Prasad Raju Athreya > > <[email protected]>; [email protected]; Lukas Bartosik > > <[email protected]>; Pavan Nikhilesh Bhagavatula > > <[email protected]>; Hemant Agrawal > <[email protected]>; > > Nipun Gupta <[email protected]>; Harry van Haaren > > <[email protected]>; Mattias Rönnblom > > <[email protected]>; Liang Ma <[email protected]> > > Subject: [PATCH 25/39] eventdev: add routine to validate conf > > > > Adding routine to validate event mode conf. This function will verify > > the conf requested by the user and would populate other fields with > default values. > > Presently, the function acts as placeholder for the above mentioned > actions. > > > > Signed-off-by: Anoob Joseph <[email protected]> > > Signed-off-by: Lukasz Bartosik <[email protected]> > > --- > > lib/librte_eventdev/rte_eventmode_helper.c | 33 > > ++++++++++++++++++++++++++++++ > > 1 file changed, 33 insertions(+) > > > > diff --git a/lib/librte_eventdev/rte_eventmode_helper.c > > b/lib/librte_eventdev/rte_eventmode_helper.c > > index a57f837..4dbb94a 100644 > > --- a/lib/librte_eventdev/rte_eventmode_helper.c > > +++ b/lib/librte_eventdev/rte_eventmode_helper.c > > @@ -165,6 +165,32 @@ rte_eventmode_helper_parse_args(int argc, char > > **argv) > > return NULL; > > } > > > > +/* Pre-process conf before using for init*/ > > + > > +static int > > +rte_eventmode_validate_user_params(struct eventmode_conf > > *em_conf) { > > No need to start with rte_eventmode_... for internal functions [Anoob] Will fix in v2.

