* [dpdk-test-report] |WARNING| pw99281-99285 [PATCH] [v1, 5/5] test/eventdev: add per rx queue event buffer unit
@ 2021-09-18 15:01 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-09-18 15:01 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-18 15:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18 15:01 [dpdk-test-report] |WARNING| pw99281-99285 [PATCH] [v1, 5/5] test/eventdev: add per rx queue event buffer unit 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).