[1/1] common/cnxk: update partnumber for 103xx

Message ID 20220809133146.713485-1-rkudurumalla@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Jerin Jacob
Headers
Series [1/1] common/cnxk: update partnumber for 103xx |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/github-robot: build success github build: passed
ci/intel-Testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS

Commit Message

Rakesh Kudurumalla Aug. 9, 2022, 1:31 p.m. UTC
  During model population part number is different
for 103xx and hence dpdk initialization fails.
This fix resolves the same.

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
---
 drivers/common/cnxk/roc_model.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jerin Jacob Aug. 30, 2022, 4:38 a.m. UTC | #1
On Tue, Aug 9, 2022 at 7:02 PM Rakesh Kudurumalla
<rkudurumalla@marvell.com> wrote:
>
> During model population part number is different
> for 103xx and hence dpdk initialization fails.
> This fix resolves the same.
>
> Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>


Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-next-net. Thanks

    common/cnxk: fix partnumber for CN103xx

    Correct the partnumber value for CN103xx.

    Fixes: dd462f68f04a ("common/cnxk: support CN103XX platform")
    Cc: stable@dpdk.org

    Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>


> ---
>  drivers/common/cnxk/roc_model.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/common/cnxk/roc_model.c b/drivers/common/cnxk/roc_model.c
> index a68baa65ea..c934a10509 100644
> --- a/drivers/common/cnxk/roc_model.c
> +++ b/drivers/common/cnxk/roc_model.c
> @@ -19,7 +19,7 @@ struct roc_model *roc_model;
>  #define PART_106xx  0xB9
>  #define PART_105xx  0xBA
>  #define PART_105xxN 0xBC
> -#define PART_103xx  0xBE
> +#define PART_103xx  0xBD
>  #define PART_98xx   0xB1
>  #define PART_96xx   0xB2
>  #define PART_95xx   0xB3
> --
> 2.25.1
>
  

Patch

diff --git a/drivers/common/cnxk/roc_model.c b/drivers/common/cnxk/roc_model.c
index a68baa65ea..c934a10509 100644
--- a/drivers/common/cnxk/roc_model.c
+++ b/drivers/common/cnxk/roc_model.c
@@ -19,7 +19,7 @@  struct roc_model *roc_model;
 #define PART_106xx  0xB9
 #define PART_105xx  0xBA
 #define PART_105xxN 0xBC
-#define PART_103xx  0xBE
+#define PART_103xx  0xBD
 #define PART_98xx   0xB1
 #define PART_96xx   0xB2
 #define PART_95xx   0xB3