|WARNING| pw119239 [PATCH] [v2] mempool: optimized debug statistics

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Thu Oct 27 20:47:56 CEST 2022


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

_apply patch failure_

Submitter: Morten Brørup <mb at smartsharesystems.com>
Date: Thursday, October 27 2022 18:29:26 
Applied on: CommitID:e6b42038e859407af3c8eb0d7d588570622f687a
Apply patch set 119239 failed:

Checking patch lib/mempool/rte_mempool.c...
Checking patch lib/mempool/rte_mempool.h...
error: while searching for:
	uint32_t size;	      /**< Size of the cache */
	uint32_t flushthresh; /**< Threshold before we flush excess elements */
	uint32_t len;	      /**< Current cache count */
	/**
	 * Cache objects
	 *

error: patch failed: lib/mempool/rte_mempool.h:86
Hunk #2 succeeded at 1325 (offset -10 lines).
Hunk #3 succeeded at 1362 (offset -10 lines).
Hunk #4 succeeded at 1474 (offset -10 lines).
Hunk #5 succeeded at 1506 (offset -10 lines).
Hunk #6 succeeded at 1531 (offset -10 lines).
Applied patch lib/mempool/rte_mempool.c cleanly.
Applying patch lib/mempool/rte_mempool.h with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
diff a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h	(rejected hunks)
@@ -86,6 +86,14 @@ struct rte_mempool_cache {
 	uint32_t size;	      /**< Size of the cache */
 	uint32_t flushthresh; /**< Threshold before we flush excess elements */
 	uint32_t len;	      /**< Current cache count */
+#ifdef RTE_LIBRTE_MEMPOOL_DEBUG
+	uint32_t unused;
+	/* Fast access statistics, only for likely events */
+	uint64_t put_bulk;             /**< Number of puts. */
+	uint64_t put_objs;             /**< Number of objects successfully put. */
+	uint64_t get_success_bulk;     /**< Successful allocation number. */
+	uint64_t get_success_objs;     /**< Objects successfully allocated. */
+#endif
 	/**
 	 * Cache objects
 	 *

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

UNH-IOL DPDK Community Lab


More information about the test-report mailing list