automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw118834 [PATCH] [v4] event/dlb2: fix port COS range allocation
@ 2022-10-20 18:07 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-10-20 18:07 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: Abdullah Sevincer <abdullah.sevincer@intel.com>
Date: Thursday, October 20 2022 17:50:40 
Applied on: CommitID:a74b1b25136a592c275afbfa6b70771469750aee
Apply patch set 118834 failed:

Checking patch drivers/event/dlb2/dlb2.c...
error: while searching for:

	for (q = 0; q < DLB2_MAX_NUM_PORTS_ALL; q++) {
		dlb2->ev_ports[q].cos_id = port_cos[q];
		if (port_cos[q] != DLB2_COS_DEFAULT) {
			dlb2->cos_ports[port_cos[q]]++;
		}
	}
}

error: patch failed: drivers/event/dlb2/dlb2.c:182
Hunk #2 succeeded at 840 (offset -3 lines).
Checking patch drivers/event/dlb2/dlb2_priv.h...
Hunk #1 succeeded at 93 (offset 1 line).
Hunk #2 succeeded at 637 (offset 1 line).
Applying patch drivers/event/dlb2/dlb2.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Applied patch drivers/event/dlb2/dlb2_priv.h cleanly.
diff a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c	(rejected hunks)
@@ -182,8 +182,10 @@ dlb2_init_port_cos(struct dlb2_eventdev *dlb2, int *port_cos)
 
 	for (q = 0; q < DLB2_MAX_NUM_PORTS_ALL; q++) {
 		dlb2->ev_ports[q].cos_id = port_cos[q];
-		if (port_cos[q] != DLB2_COS_DEFAULT) {
+		if (port_cos[q] != DLB2_COS_DEFAULT &&
+		    dlb2->cos_ports[port_cos[q]] < DLB2_MAX_NUM_LDB_PORTS_PER_COS) {
 			dlb2->cos_ports[port_cos[q]]++;
+			dlb2->max_cos_port = q;
 		}
 	}
 }

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

UNH-IOL DPDK Community Lab

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

only message in thread, other threads:[~2022-10-20 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 18:07 |WARNING| pw118834 [PATCH] [v4] event/dlb2: fix port COS range allocation 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).