automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw101304 [PATCH] [v4] eventdev/rx_adapter: add telemetry callbacks
@ 2021-10-13 13:14 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-10-13 13:14 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: Kundapura, Ganapati <ganapati.kundapura@intel.com>
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 <rte_thash.h>
#include <rte_interrupts.h>
#include <rte_mbuf_dyn.h>

#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 <rte_thash.h>
 #include <rte_interrupts.h>
 #include <rte_mbuf_dyn.h>
+#include <rte_telemetry.h>
 
 #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

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

only message in thread, other threads:[~2021-10-13 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 13:14 [dpdk-test-report] |WARNING| pw101304 [PATCH] [v4] eventdev/rx_adapter: add telemetry callbacks 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).