automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: [dpdk-test-report] |WARNING| pw99281-99285 [PATCH] [v1, 5/5] test/eventdev: add per rx queue event buffer unit
Date: Sat, 18 Sep 2021 15:01:55 +0000 (UTC)	[thread overview]
Message-ID: <20210918150155.62A1460553@dpdk-ubuntu.dpdklab.iol.unh.edu> (raw)

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

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

_apply patch failure_

Submitter: Naga Harish K S V <s.v.naga.harish.k@intel.com>
Date: Saturday, September 18 2021 13:11:40 
Applied on: CommitID:4777674c4428f528fa2890d8afab551f6dd54c24
Apply patch set 99281-99285 failed:

Checking patch doc/guides/prog_guide/event_ethernet_rx_adapter.rst...
Checking patch lib/eventdev/rte_event_eth_rx_adapter.c...
error: while searching for:
	/* Count of events in this buffer */
	uint16_t count;
	/* Array of events in this buffer */
	struct rte_event events[ETH_EVENT_BUFFER_SIZE];
	/* Event enqueue happens from head */
	uint16_t head;
	/* New packets from rte_eth_rx_burst is enqued from tail */

error: patch failed: lib/eventdev/rte_event_eth_rx_adapter.c:82
error: while searching for:
		dropped = 0;
		nb_cb = dev_info->cb_fn(eth_dev_id, rx_queue_id,
				       buf->last |
				       (RTE_DIM(buf->events) & ~buf->last_mask),
				       buf->count >= BATCH_SIZE ?
						buf->count - BATCH_SIZE : 0,
				       &buf->events[buf->tail],

error: patch failed: lib/eventdev/rte_event_eth_rx_adapter.c:919
error: while searching for:
	uint32_t nb_req = buf->tail + BATCH_SIZE;

	if (!buf->last) {
		if (nb_req <= RTE_DIM(buf->events))
			return true;

		if (buf->head >= BATCH_SIZE) {

error: patch failed: lib/eventdev/rte_event_eth_rx_adapter.c:945
Hunk #4 succeeded at 2130 (offset -36 lines).
Hunk #5 succeeded at 2153 (offset -36 lines).
Hunk #6 succeeded at 2201 (offset -36 lines).
Hunk #7 succeeded at 2232 (offset -36 lines).
Hunk #8 succeeded at 2285 (offset -36 lines).
Hunk #9 succeeded at 2321 (offset -36 lines).
Hunk #10 succeeded at 2737 (offset 7 lines).
Checking patch lib/eventdev/rte_event_eth_rx_adapter.h...
Hunk #3 succeeded at 260 (offset 3 lines).
Hunk #4 succeeded at 342 (offset 3 lines).
Checking patch lib/eventdev/version.map...
Applied patch doc/guides/prog_guide/event_ethernet_rx_adapter.rst cleanly.
Applying patch lib/eventdev/rte_event_eth_rx_adapter.c with 3 rejects...
Rejected hunk #1.
Rejected hunk #2.
Rejected hunk #3.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
Hunk #7 applied cleanly.
Hunk #8 applied cleanly.
Hunk #9 applied cleanly.
Hunk #10 applied cleanly.
Applied patch lib/eventdev/rte_event_eth_rx_adapter.h cleanly.
Applied patch lib/eventdev/version.map cleanly.
diff a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c	(rejected hunks)
@@ -82,7 +82,9 @@ struct rte_eth_event_enqueue_buffer {
 	/* Count of events in this buffer */
 	uint16_t count;
 	/* Array of events in this buffer */
-	struct rte_event events[ETH_EVENT_BUFFER_SIZE];
+	struct rte_event *events;
+	/* size of event buffer */
+	uint16_t events_size;
 	/* Event enqueue happens from head */
 	uint16_t head;
 	/* New packets from rte_eth_rx_burst is enqued from tail */
@@ -919,7 +921,7 @@ rxa_buffer_mbufs(struct rte_event_eth_rx_adapter *rx_adapter,
 		dropped = 0;
 		nb_cb = dev_info->cb_fn(eth_dev_id, rx_queue_id,
 				       buf->last |
-				       (RTE_DIM(buf->events) & ~buf->last_mask),
+				       (buf->events_size & ~buf->last_mask),
 				       buf->count >= BATCH_SIZE ?
 						buf->count - BATCH_SIZE : 0,
 				       &buf->events[buf->tail],
@@ -945,7 +947,7 @@ rxa_pkt_buf_available(struct rte_eth_event_enqueue_buffer *buf)
 	uint32_t nb_req = buf->tail + BATCH_SIZE;
 
 	if (!buf->last) {
-		if (nb_req <= RTE_DIM(buf->events))
+		if (nb_req <= buf->events_size)
 			return true;
 
 		if (buf->head >= BATCH_SIZE) {
Checking patch doc/guides/prog_guide/event_ethernet_rx_adapter.rst...
error: doc/guides/prog_guide/event_ethernet_rx_adapter.rst: does not match index
Checking patch lib/eventdev/rte_event_eth_rx_adapter.h...
error: lib/eventdev/rte_event_eth_rx_adapter.h: does not match index
Checking patch lib/eventdev/rte_event_eth_rx_adapter.c...
error: lib/eventdev/rte_event_eth_rx_adapter.c: does not match index

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

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2021-09-18 15:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210918150155.62A1460553@dpdk-ubuntu.dpdklab.iol.unh.edu \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).