common/cnxk: update ROC erratas

Message ID 20230411071831.1124587-1-asekhar@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Jerin Jacob
Headers
Series common/cnxk: update ROC erratas |

Checks

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

Commit Message

Ashwin Sekhar T K April 11, 2023, 7:18 a.m. UTC
  Update the models where errata IPBUNPA-37480 is applicable.

Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
---
 drivers/common/cnxk/roc_errata.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Jerin Jacob May 3, 2023, 8:04 a.m. UTC | #1
On Tue, Apr 11, 2023 at 12:49 PM Ashwin Sekhar T K <asekhar@marvell.com> wrote:
>
> Update the models where errata IPBUNPA-37480 is applicable.
>
> Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>


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

    common/cnxk: update IPBUNPA-37480 errata scope

    Update the SoC models where errata IPBUNPA-37480 is applicable.

    Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>


> ---
>  drivers/common/cnxk/roc_errata.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/common/cnxk/roc_errata.h b/drivers/common/cnxk/roc_errata.h
> index 2d15e639b7..1333bde629 100644
> --- a/drivers/common/cnxk/roc_errata.h
> +++ b/drivers/common/cnxk/roc_errata.h
> @@ -25,7 +25,8 @@ roc_errata_nix_has_cq_min_size_4k(void)
>  static inline bool
>  roc_errata_npa_has_no_fc_stype_ststp(void)
>  {
> -       return roc_model_is_cn10ka_a0() ? true : false;
> +       return roc_model_is_cn10ka_a0() || roc_model_is_cn10ka_a1() || roc_model_is_cnf10ka_a0() ||
> +              roc_model_is_cnf10kb_a0();
>  }
>
>  /* Errata IPBUNIXTX-39337 */
> --
> 2.25.1
>
  

Patch

diff --git a/drivers/common/cnxk/roc_errata.h b/drivers/common/cnxk/roc_errata.h
index 2d15e639b7..1333bde629 100644
--- a/drivers/common/cnxk/roc_errata.h
+++ b/drivers/common/cnxk/roc_errata.h
@@ -25,7 +25,8 @@  roc_errata_nix_has_cq_min_size_4k(void)
 static inline bool
 roc_errata_npa_has_no_fc_stype_ststp(void)
 {
-	return roc_model_is_cn10ka_a0() ? true : false;
+	return roc_model_is_cn10ka_a0() || roc_model_is_cn10ka_a1() || roc_model_is_cnf10ka_a0() ||
+	       roc_model_is_cnf10kb_a0();
 }
 
 /* Errata IPBUNIXTX-39337 */