Re: [dpdk-dev] [PATCH v2] crypto/dpaa2_sec: fix the return of supported API

2017-07-19 Thread Yuanhan Liu
On Tue, Jul 18, 2017 at 05:32:44PM +, Hemant Agrawal wrote: > > > > > Subject: [PATCH v2] crypto/dpaa2_sec: fix the return of supported > > > > > API > > > > > > > > > > call to dpaa2_sec_dev_configure() is made mandatory, but > > > > > dpaa2_sec_pmd returns a ENOTSUP which results in device no

Re: [dpdk-dev] [PATCH v2] crypto/dpaa2_sec: fix the return of supported API

2017-07-18 Thread Hemant Agrawal
HI Yuanhan, > > > > -Original Message- > > > > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > > > > Sent: Tuesday, July 18, 2017 8:34 AM > > > > To: dev@dpdk.org; sta...@dpdk.org > > > > Cc: hemant.agra...@nxp.com; De Lara Guarch, Pablo > > > > ; y...@fridaylinux.org; Akhil > > > > Goyal

Re: [dpdk-dev] [PATCH v2] crypto/dpaa2_sec: fix the return of supported API

2017-07-18 Thread De Lara Guarch, Pablo
HI Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Tuesday, July 18, 2017 3:39 PM > To: De Lara Guarch, Pablo > Cc: Akhil Goyal ; dev@dpdk.org; sta...@dpdk.org; > hemant.agra...@nxp.com > Subject: Re: [PATCH v2] crypto/dpaa2_sec: fix the return of s

Re: [dpdk-dev] [PATCH v2] crypto/dpaa2_sec: fix the return of supported API

2017-07-18 Thread Yuanhan Liu
On Tue, Jul 18, 2017 at 10:26:39AM +, De Lara Guarch, Pablo wrote: > Hi Akhil, > > > -Original Message- > > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > > Sent: Tuesday, July 18, 2017 8:34 AM > > To: dev@dpdk.org; sta...@dpdk.org > > Cc: hemant.agra...@nxp.com; De Lara Guarch, Pabl

Re: [dpdk-dev] [PATCH v2] crypto/dpaa2_sec: fix the return of supported API

2017-07-18 Thread De Lara Guarch, Pablo
Hi Akhil, > -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, July 18, 2017 8:34 AM > To: dev@dpdk.org; sta...@dpdk.org > Cc: hemant.agra...@nxp.com; De Lara Guarch, Pablo > ; y...@fridaylinux.org; Akhil Goyal > > Subject: [PATCH v2] crypto/dpaa2_sec: fi

[dpdk-dev] [PATCH v2] crypto/dpaa2_sec: fix the return of supported API

2017-07-18 Thread Akhil Goyal
call to dpaa2_sec_dev_configure() is made mandatory, but dpaa2_sec_pmd returns a ENOTSUP which results in device not getting configured. dpaa2_sec PMD does not need any further configuration to be done in dpaa2_sec_dev_configure, hence returning 0 Fixes: e5cbdfc53765 ("crypto/dpaa2_sec: add basic