[v2,01/21] common/cnxk: increase SMQ resource count

Message ID 20220222193512.19292-1-ndabilpuram@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Jerin Jacob
Headers
Series [v2,01/21] common/cnxk: increase SMQ resource count |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Nithin Dabilpuram Feb. 22, 2022, 7:34 p.m. UTC
  From: Satha Rao <skoteshwar@marvell.com>

CN10K supports up to 832 resources at SMQ level, so increase
bitmap count to 1024.

Signed-off-by: Satha Rao <skoteshwar@marvell.com>
---

v2:
- Addressed comments from Jerin on patches 1/20, 3/20, 7/20,
  8/20, 10/20, 11/20, 15/20 and 20/20.
- Added another patch to update documentation on environment variables
- Fixed functional issues with patch 18/20.

 drivers/common/cnxk/roc_nix_priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jerin Jacob Feb. 23, 2022, 4:45 p.m. UTC | #1
On Wed, Feb 23, 2022 at 1:05 AM Nithin Dabilpuram
<ndabilpuram@marvell.com> wrote:
>
> From: Satha Rao <skoteshwar@marvell.com>
>
> CN10K supports up to 832 resources at SMQ level, so increase
> bitmap count to 1024.
>
> Signed-off-by: Satha Rao <skoteshwar@marvell.com>
> ---
>
> v2:
> - Addressed comments from Jerin on patches 1/20, 3/20, 7/20,
>   8/20, 10/20, 11/20, 15/20 and 20/20.
> - Added another patch to update documentation on environment variables
> - Fixed functional issues with patch 18/20.

Squashed 21/21 patch into 20/21.

Series Acked-by: Jerin Jacob <jerinj@marvell.com>
Series applied to dpdk-next-net-mrvl/for-next-net. Thanks.

>
>  drivers/common/cnxk/roc_nix_priv.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/common/cnxk/roc_nix_priv.h b/drivers/common/cnxk/roc_nix_priv.h
> index deb2a6b..4d2a7d8 100644
> --- a/drivers/common/cnxk/roc_nix_priv.h
> +++ b/drivers/common/cnxk/roc_nix_priv.h
> @@ -31,7 +31,7 @@ struct nix_qint {
>  };
>
>  /* Traffic Manager */
> -#define NIX_TM_MAX_HW_TXSCHQ 512
> +#define NIX_TM_MAX_HW_TXSCHQ 1024
>  #define NIX_TM_HW_ID_INVALID UINT32_MAX
>
>  /* TM flags */
> --
> 2.8.4
>
  

Patch

diff --git a/drivers/common/cnxk/roc_nix_priv.h b/drivers/common/cnxk/roc_nix_priv.h
index deb2a6b..4d2a7d8 100644
--- a/drivers/common/cnxk/roc_nix_priv.h
+++ b/drivers/common/cnxk/roc_nix_priv.h
@@ -31,7 +31,7 @@  struct nix_qint {
 };
 
 /* Traffic Manager */
-#define NIX_TM_MAX_HW_TXSCHQ 512
+#define NIX_TM_MAX_HW_TXSCHQ 1024
 #define NIX_TM_HW_ID_INVALID UINT32_MAX
 
 /* TM flags */