|WARNING| pw118834 [PATCH] [v4] event/dlb2: fix port COS range allocation
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Oct 20 20:07:54 CEST 2022
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/118834
_apply patch failure_
Submitter: Abdullah Sevincer <abdullah.sevincer at 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
More information about the test-report
mailing list