* |WARNING| pw106731 [PATCH] [v2] common/cnxk: enable NIX Tx interrupts errata
@ 2022-01-31 11:08 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-01-31 11:08 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 2257 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/106731
_apply patch failure_
Submitter: Harman Kalra <hkalra@marvell.com>
Date: Monday, January 31 2022 10:52:10
Applied on: CommitID:4042dc2037a1509596f7eb48370185434bad39cc
Apply patch set 106731 failed:
Checking patch drivers/common/cnxk/roc_nix_irq.c...
error: while searching for:
return nix_lf_q_irq_get_and_clear(nix, sq, NIX_LF_SQ_OP_INT, ~0x1ff00);
}
static inline void
nix_lf_sq_debug_reg(struct nix *nix, uint32_t off)
{
uint64_t reg;
reg = plt_read64(nix->base + off);
if (reg & BIT_ULL(44)) {
plt_err("SQ=%d err_code=0x%x", (int)((reg >> 8) & 0xfffff),
(uint8_t)(reg & 0xff));
/* Clear valid bit */
plt_write64(BIT_ULL(44), nix->base + off);
}
}
static void
error: patch failed: drivers/common/cnxk/roc_nix_irq.c:196
Hunk #2 succeeded at 226 (offset -27 lines).
Hunk #3 succeeded at 267 (offset -27 lines).
Applying patch drivers/common/cnxk/roc_nix_irq.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
diff a/drivers/common/cnxk/roc_nix_irq.c b/drivers/common/cnxk/roc_nix_irq.c (rejected hunks)
@@ -196,18 +196,42 @@ nix_lf_sq_irq_get_and_clear(struct nix *nix, uint16_t sq)
return nix_lf_q_irq_get_and_clear(nix, sq, NIX_LF_SQ_OP_INT, ~0x1ff00);
}
-static inline void
+static inline bool
+nix_lf_is_sqb_null(struct dev *dev, int q)
+{
+ bool is_sqb_null = false;
+ volatile void *ctx;
+ int rc;
+
+ rc = nix_q_ctx_get(dev, NIX_AQ_CTYPE_SQ, q, &ctx);
+ if (rc) {
+ plt_err("Failed to get sq context");
+ } else {
+ is_sqb_null =
+ roc_model_is_cn9k() ?
+ (((__io struct nix_sq_ctx_s *)ctx)->next_sqb ==
+ 0) :
+ (((__io struct nix_cn10k_sq_ctx_s *)ctx)
+ ->next_sqb == 0);
+ }
+
+ return is_sqb_null;
+}
+
+static inline uint8_t
nix_lf_sq_debug_reg(struct nix *nix, uint32_t off)
{
+ uint8_t err = 0;
uint64_t reg;
reg = plt_read64(nix->base + off);
if (reg & BIT_ULL(44)) {
- plt_err("SQ=%d err_code=0x%x", (int)((reg >> 8) & 0xfffff),
- (uint8_t)(reg & 0xff));
+ err = reg & 0xff;
/* Clear valid bit */
plt_write64(BIT_ULL(44), nix->base + off);
}
+
+ return err;
}
static void
https://lab.dpdk.org/results/dashboard/patchsets/20874/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-31 11:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 11:08 |WARNING| pw106731 [PATCH] [v2] common/cnxk: enable NIX Tx interrupts errata dpdklab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).