Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/101304 _apply patch failure_ Submitter: Kundapura, Ganapati Date: Wednesday, October 13 2021 07:57:03 Applied on: CommitID:2f3758751b157760ebb6fc51cd92841073bb115c Apply patch set 101304 failed: Checking patch doc/guides/rel_notes/release_21_11.rst... error: while searching for: * Added tests to validate packets hard expiry. * Added tests to verify tunnel header verification in IPsec inbound. Removed Items ------------- error: patch failed: doc/guides/rel_notes/release_21_11.rst:130 Checking patch lib/eventdev/rte_event_eth_rx_adapter.c... error: while searching for: #include #include #include #include "rte_eventdev.h" #include "eventdev_pmd.h" error: patch failed: lib/eventdev/rte_event_eth_rx_adapter.c:18 Hunk #2 succeeded at 2633 (offset -220 lines). error: while searching for: stats->rx_packets += dev_stats_sum.rx_packets; stats->rx_enq_count += dev_stats_sum.rx_enq_count; return 0; } error: patch failed: lib/eventdev/rte_event_eth_rx_adapter.c:2890 Hunk #4 succeeded at 2760 (offset -303 lines). Checking patch lib/eventdev/rte_event_eth_rx_adapter.h... Hunk #1 succeeded at 231 (offset -1 lines). Applying patch doc/guides/rel_notes/release_21_11.rst with 1 reject... Rejected hunk #1. Applying patch lib/eventdev/rte_event_eth_rx_adapter.c with 2 rejects... Rejected hunk #1. Hunk #2 applied cleanly. Rejected hunk #3. Hunk #4 applied cleanly. Applied patch lib/eventdev/rte_event_eth_rx_adapter.h cleanly. diff a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst (rejected hunks) @@ -130,6 +130,10 @@ New Features * Added tests to validate packets hard expiry. * Added tests to verify tunnel header verification in IPsec inbound. +* **Updated rte_event_eth_rx_adapter_stats structure + * Added 'uint64_t rx_event_buf_count' + * Added 'uint64_t rx_event_buf_size' + Removed Items ------------- diff a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c (rejected hunks) @@ -18,6 +18,7 @@ #include #include #include +#include #include "rte_eventdev.h" #include "eventdev_pmd.h" @@ -2890,6 +2892,15 @@ rte_event_eth_rx_adapter_stats_get(uint8_t id, stats->rx_packets += dev_stats_sum.rx_packets; stats->rx_enq_count += dev_stats_sum.rx_enq_count; + if (!rx_adapter->use_queue_event_buf) { + buf = &rx_adapter->event_enqueue_buffer; + stats->rx_event_buf_count = buf->count; + stats->rx_event_buf_size = buf->events_size; + } else { + stats->rx_event_buf_count = 0; + stats->rx_event_buf_size = 0; + } + return 0; } https://lab.dpdk.org/results/dashboard/patchsets/19363/ UNH-IOL DPDK Community Lab