[v2] crypto/dpaa_sec: update maximum queue pairs to 8

Message ID 1525778695-28559-1-git-send-email-hemant.agrawal@nxp.com
State New
Headers show
Series
  • [v2] crypto/dpaa_sec: update maximum queue pairs to 8
Related show

Commit Message

Hemant Agrawal May 8, 2018, 11:24 a.m.
From: Nipun Gupta <nipun.gupta@nxp.com>


The underlying hardware can support multiple queue pairs.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>

---
 drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

Comments

Akhil Goyal May 9, 2018, 7:06 a.m. | #1
On 5/8/2018 4:54 PM, Hemant Agrawal wrote:
> From: Nipun Gupta <nipun.gupta@nxp.com>

>

> The underlying hardware can support multiple queue pairs.

>

> Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>

> ---

>  drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h

> index 1433595..e15e373 100644

> --- a/drivers/crypto/dpaa_sec/dpaa_sec.h

> +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h

> @@ -136,7 +136,7 @@ struct dpaa_sec_qp {

>  	int tx_errs;

>  };

>

> -#define RTE_DPAA_MAX_NB_SEC_QPS 1

> +#define RTE_DPAA_MAX_NB_SEC_QPS 8

>  #define RTE_DPAA_MAX_RX_QUEUE RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS

>  #define DPAA_MAX_DEQUEUE_NUM_FRAMES 63

>

>

Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
De Lara Guarch, Pablo May 9, 2018, 8:05 a.m. | #2
> -----Original Message-----

> From: Akhil Goyal [mailto:akhil.goyal@nxp.com]

> Sent: Wednesday, May 9, 2018 8:07 AM

> To: Hemant Agrawal <hemant.agrawal@nxp.com>; dev@dpdk.org

> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>;

> akhil.goyal@nxp.com

> Subject: Re: [dpdk-dev] [PATCH v2] crypto/dpaa_sec: update maximum queue

> pairs to 8

> 

> On 5/8/2018 4:54 PM, Hemant Agrawal wrote:

> > From: Nipun Gupta <nipun.gupta@nxp.com>

> >

> > The underlying hardware can support multiple queue pairs.

> >

> > Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>

> > ---

> >  drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +-

> >  1 file changed, 1 insertion(+), 1 deletion(-)

> >

> > diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h

> > b/drivers/crypto/dpaa_sec/dpaa_sec.h

> > index 1433595..e15e373 100644

> > --- a/drivers/crypto/dpaa_sec/dpaa_sec.h

> > +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h

> > @@ -136,7 +136,7 @@ struct dpaa_sec_qp {

> >  	int tx_errs;

> >  };

> >

> > -#define RTE_DPAA_MAX_NB_SEC_QPS 1

> > +#define RTE_DPAA_MAX_NB_SEC_QPS 8

> >  #define RTE_DPAA_MAX_RX_QUEUE

> RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS

> > #define DPAA_MAX_DEQUEUE_NUM_FRAMES 63

> >

> >

> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>


Applied to dpdk-next-crypto.
Thanks,

Pablo

Patch

diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h
index 1433595..e15e373 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.h
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.h
@@ -136,7 +136,7 @@  struct dpaa_sec_qp {
 	int tx_errs;
 };
 
-#define RTE_DPAA_MAX_NB_SEC_QPS 1
+#define RTE_DPAA_MAX_NB_SEC_QPS 8
 #define RTE_DPAA_MAX_RX_QUEUE RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS
 #define DPAA_MAX_DEQUEUE_NUM_FRAMES 63