automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw111185 [PATCH] [v2] event/cnxk: flush event queues over multiple pass
@ 2022-05-16 16:39 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-05-16 16:39 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 3203 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/111185

_apply patch failure_

Submitter: Shijith Thotton <sthotton@marvell.com>
Date: Monday, May 16 2022 16:22:29 
Applied on: CommitID:c0c305ee9e0e7c9feca6412266a778f330d20c19
Apply patch set 111185 failed:

Checking patch drivers/event/cnxk/cn10k_eventdev.c...
error: while searching for:
			fn(arg, ev);
		if (ev.sched_type != SSO_TT_EMPTY)
			cnxk_sso_hws_swtag_flush(ws->base);
		do {
			val = plt_read64(ws->base + SSOW_LF_GWS_PENDSTATE);
		} while (val & BIT_ULL(56));

error: patch failed: drivers/event/cnxk/cn10k_eventdev.c:141
Hunk #3 succeeded at 151 (offset -3 lines).
Checking patch drivers/event/cnxk/cn9k_eventdev.c...
error: while searching for:
	}
}

static void
cn9k_sso_hws_flush_events(void *hws, uint8_t queue_id, uintptr_t base,
			  cnxk_handle_event_t fn, void *arg)
{
	struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(arg);
	struct cnxk_timesync_info *tstamp;
	struct cn9k_sso_hws_dual *dws;
	struct cn9k_sso_hws *ws;

error: patch failed: drivers/event/cnxk/cn9k_eventdev.c:117
error: while searching for:
			fn(arg, ev);
		if (ev.sched_type != SSO_TT_EMPTY)
			cnxk_sso_hws_swtag_flush(ws_base);
		do {
			val = plt_read64(ws_base + SSOW_LF_GWS_PENDSTATE);
		} while (val & BIT_ULL(56));

error: patch failed: drivers/event/cnxk/cn9k_eventdev.c:164
Hunk #3 succeeded at 169 (offset -8 lines).
Checking patch drivers/event/cnxk/cnxk_eventdev.c...
Checking patch drivers/event/cnxk/cnxk_eventdev.h...
Applying patch drivers/event/cnxk/cn10k_eventdev.c with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Hunk #3 applied cleanly.
Applying patch drivers/event/cnxk/cn9k_eventdev.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
Hunk #3 applied cleanly.
Applied patch drivers/event/cnxk/cnxk_eventdev.c cleanly.
Applied patch drivers/event/cnxk/cnxk_eventdev.h cleanly.
diff a/drivers/event/cnxk/cn10k_eventdev.c b/drivers/event/cnxk/cn10k_eventdev.c	(rejected hunks)
@@ -141,6 +142,8 @@ cn10k_sso_hws_flush_events(void *hws, uint8_t queue_id, uintptr_t base,
 			fn(arg, ev);
 		if (ev.sched_type != SSO_TT_EMPTY)
 			cnxk_sso_hws_swtag_flush(ws->base);
+		else if (retry-- == 0)
+			break;
 		do {
 			val = plt_read64(ws->base + SSOW_LF_GWS_PENDSTATE);
 		} while (val & BIT_ULL(56));
diff a/drivers/event/cnxk/cn9k_eventdev.c b/drivers/event/cnxk/cn9k_eventdev.c	(rejected hunks)
@@ -117,11 +117,12 @@ cn9k_sso_hws_release(void *arg, void *hws)
 	}
 }
 
-static void
+static int
 cn9k_sso_hws_flush_events(void *hws, uint8_t queue_id, uintptr_t base,
 			  cnxk_handle_event_t fn, void *arg)
 {
 	struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(arg);
+	uint64_t retry = CNXK_SSO_FLUSH_RETRY_MAX;
 	struct cnxk_timesync_info *tstamp;
 	struct cn9k_sso_hws_dual *dws;
 	struct cn9k_sso_hws *ws;
@@ -164,6 +165,8 @@ cn9k_sso_hws_flush_events(void *hws, uint8_t queue_id, uintptr_t base,
 			fn(arg, ev);
 		if (ev.sched_type != SSO_TT_EMPTY)
 			cnxk_sso_hws_swtag_flush(ws_base);
+		else if (retry-- == 0)
+			break;
 		do {
 			val = plt_read64(ws_base + SSOW_LF_GWS_PENDSTATE);
 		} while (val & BIT_ULL(56));

https://lab.dpdk.org/results/dashboard/patchsets/22131/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-16 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 16:39 |WARNING| pw111185 [PATCH] [v2] event/cnxk: flush event queues over multiple pass 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).