]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/cnxk/roc_nix_queue.c
common/cnxk: avoid using stashing option of stype
[dpdk.git] / drivers / common / cnxk / roc_nix_queue.c
index 7e2f86eca7482e827110dddebaa55a90996fe52d..76e439e7a914658a3417baddaee92b9a6a96fbe4 100644 (file)
@@ -585,6 +585,10 @@ sqb_pool_populate(struct roc_nix *roc_nix, struct roc_nix_sq *sq)
 
        memset(&aura, 0, sizeof(aura));
        aura.fc_ena = 1;
+       if (roc_model_is_cn9k() || roc_model_is_cn10ka_a0())
+               aura.fc_stype = 0x0; /* STF */
+       else
+               aura.fc_stype = 0x3; /* STSTP */
        aura.fc_addr = (uint64_t)sq->fc;
        aura.fc_hyst_bits = 0; /* Store count on all updates */
        rc = roc_npa_pool_create(&sq->aura_handle, blk_sz, NIX_MAX_SQB, &aura,