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| pw101304 [PATCH] [v4] eventdev/rx_adapter: add telemetry callbacks
Date: Wed, 13 Oct 2021 09:14:04 -0400 (EDT)	[thread overview]
Message-ID: <20211013131404.A2F0760524@noxus.dpdklab.iol.unh.edu> (raw)

[-- 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

                 reply	other threads:[~2021-10-13 13:14 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=20211013131404.A2F0760524@noxus.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).