[v1,2/6] crypto/ccp: max queue pair and max burst sizes changes

Message ID 20191015070042.92707-1-asomalap@amd.com (mailing list archive)
State Changes Requested, archived
Delegated to: akhil goyal
Headers
Series [v1,1/6] doc: documentation update |

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

AMARANATH SOMALAPURAM Oct. 15, 2019, 7:01 a.m. UTC
  From: Amaranath Somalapuram <asomalap@amd.com>

issue occurred during VPP testing, crash's issue in VPP when ccp used.
vpp max burst size is 256, and minimum queue pair required is 3.
Cc: stable@dpdk.org

Signed-off-by: Amaranath Somalapuram <asomalap@amd.com>
---
 drivers/crypto/ccp/ccp_pmd_private.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Akhil Goyal Oct. 15, 2019, 10:58 a.m. UTC | #1
Title should be: crypto/ccp: update max qp and burst size.

> 
> From: Amaranath Somalapuram <asomalap@amd.com>
> 
> issue occurred during VPP testing, crash's issue in VPP when ccp used.
> vpp max burst size is 256, and minimum queue pair required is 3.

Please explain the issue appropriately in the description.
Does that mean, without VPP, this issue cannot be reproduced.

Add a fixes line with the commit which introduces this issue.


> Cc: stable@dpdk.org
> 
> Signed-off-by: Amaranath Somalapuram <asomalap@amd.com>
> ---
>  drivers/crypto/ccp/ccp_pmd_private.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/crypto/ccp/ccp_pmd_private.h
> b/drivers/crypto/ccp/ccp_pmd_private.h
> index 7f2979e89..781050c31 100644
> --- a/drivers/crypto/ccp/ccp_pmd_private.h
> +++ b/drivers/crypto/ccp/ccp_pmd_private.h
> @@ -31,9 +31,9 @@
>  #endif
> 
>  /**< Maximum queue pairs supported by CCP PMD */
> -#define CCP_PMD_MAX_QUEUE_PAIRS	1
> +#define CCP_PMD_MAX_QUEUE_PAIRS	8
>  #define CCP_NB_MAX_DESCRIPTORS 1024
> -#define CCP_MAX_BURST 64
> +#define CCP_MAX_BURST 256
> 
>  #include "ccp_dev.h"
> 
> --
> 2.17.1
  
Somalapuram, Amaranath Oct. 22, 2019, 5:21 a.m. UTC | #2
We can reproduce this issue in l2fwd by changing MAX_PKT_BURST 32 to 256

-----Original Message-----
From: Akhil Goyal <akhil.goyal@nxp.com> 
Sent: Tuesday, October 15, 2019 4:28 PM
To: Somalapuram, Amaranath <Amaranath.Somalapuram@amd.com>; dev@dpdk.org
Cc: stable@dpdk.org
Subject: RE: [dpdk-dev] [PATCH v1 2/6] crypto/ccp: max queue pair and max burst sizes changes

[CAUTION: External Email]

Title should be: crypto/ccp: update max qp and burst size.

>
> From: Amaranath Somalapuram <asomalap@amd.com>
>
> issue occurred during VPP testing, crash's issue in VPP when ccp used.
> vpp max burst size is 256, and minimum queue pair required is 3.

Please explain the issue appropriately in the description.
Does that mean, without VPP, this issue cannot be reproduced.

Add a fixes line with the commit which introduces this issue.


> Cc: stable@dpdk.org
>
> Signed-off-by: Amaranath Somalapuram <asomalap@amd.com>
> ---
>  drivers/crypto/ccp/ccp_pmd_private.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/crypto/ccp/ccp_pmd_private.h
> b/drivers/crypto/ccp/ccp_pmd_private.h
> index 7f2979e89..781050c31 100644
> --- a/drivers/crypto/ccp/ccp_pmd_private.h
> +++ b/drivers/crypto/ccp/ccp_pmd_private.h
> @@ -31,9 +31,9 @@
>  #endif
>
>  /**< Maximum queue pairs supported by CCP PMD */
> -#define CCP_PMD_MAX_QUEUE_PAIRS      1
> +#define CCP_PMD_MAX_QUEUE_PAIRS      8
>  #define CCP_NB_MAX_DESCRIPTORS 1024
> -#define CCP_MAX_BURST 64
> +#define CCP_MAX_BURST 256
>
>  #include "ccp_dev.h"
>
> --
> 2.17.1
  
Akhil Goyal Oct. 22, 2019, 6:07 a.m. UTC | #3
> 
> We can reproduce this issue in l2fwd by changing MAX_PKT_BURST 32 to 256
> 
> 
Description should have appropriate information explaining what the issue is and
What is done in the patch to fix the issue.

> 
> Title should be: crypto/ccp: update max qp and burst size.
> 
> >
> > From: Amaranath Somalapuram <asomalap@amd.com>
> >
> > issue occurred during VPP testing, crash's issue in VPP when ccp used.
> > vpp max burst size is 256, and minimum queue pair required is 3.
> 
> Please explain the issue appropriately in the description.
> Does that mean, without VPP, this issue cannot be reproduced.
> 
> Add a fixes line with the commit which introduces this issue.
> 
> 
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Amaranath Somalapuram <asomalap@amd.com>
> > ---
> >  drivers/crypto/ccp/ccp_pmd_private.h | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/crypto/ccp/ccp_pmd_private.h
> > b/drivers/crypto/ccp/ccp_pmd_private.h
> > index 7f2979e89..781050c31 100644
> > --- a/drivers/crypto/ccp/ccp_pmd_private.h
> > +++ b/drivers/crypto/ccp/ccp_pmd_private.h
> > @@ -31,9 +31,9 @@
> >  #endif
> >
> >  /**< Maximum queue pairs supported by CCP PMD */
> > -#define CCP_PMD_MAX_QUEUE_PAIRS      1
> > +#define CCP_PMD_MAX_QUEUE_PAIRS      8
> >  #define CCP_NB_MAX_DESCRIPTORS 1024
> > -#define CCP_MAX_BURST 64
> > +#define CCP_MAX_BURST 256
> >
> >  #include "ccp_dev.h"
> >
> > --
> > 2.17.1
  

Patch

diff --git a/drivers/crypto/ccp/ccp_pmd_private.h b/drivers/crypto/ccp/ccp_pmd_private.h
index 7f2979e89..781050c31 100644
--- a/drivers/crypto/ccp/ccp_pmd_private.h
+++ b/drivers/crypto/ccp/ccp_pmd_private.h
@@ -31,9 +31,9 @@ 
 #endif
 
 /**< Maximum queue pairs supported by CCP PMD */
-#define CCP_PMD_MAX_QUEUE_PAIRS	1
+#define CCP_PMD_MAX_QUEUE_PAIRS	8
 #define CCP_NB_MAX_DESCRIPTORS 1024
-#define CCP_MAX_BURST 64
+#define CCP_MAX_BURST 256
 
 #include "ccp_dev.h"