* |WARNING| pw156092-156091 [PATCH v7 1/3] mbuf: de-inline sanity checking a reinitialized mbuf
[not found] <20250822234515.22518-2-mb@smartsharesystems.com>
@ 2025-08-22 23:22 ` qemudev
2025-08-22 23:44 ` |WARNING| pw156092 " checkpatch
1 sibling, 0 replies; 2+ messages in thread
From: qemudev @ 2025-08-22 23:22 UTC (permalink / raw)
To: test-report; +Cc: mb, zhoumin
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/156092
_apply patch failure_
Submitter: Morten Brørup <mb@smartsharesystems.com>
Date: Fri, 22 Aug 2025 23:45:13 +0000
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: 38543d33bd47fc0ee21f59db80a8763620741879
Apply patch set 156092-156091 failed:
Checking patch lib/mbuf/rte_mbuf.h...
error: while searching for:
static inline int rte_pktmbuf_alloc_bulk(struct rte_mempool *pool,
struct rte_mbuf **mbufs, unsigned count)
{
unsigned idx = 0;
int rc;
rc = rte_mbuf_raw_alloc_bulk(pool, (void **)mbufs, count);
if (unlikely(rc))
return rc;
/* To understand duff's device on loop unwinding optimization, see
* https://en.wikipedia.org/wiki/Duff's_device.
* Here while() loop is used rather than do() while{} to avoid extra
* check if count is zero.
*/
switch (count % 4) {
case 0:
while (idx != count) {
rte_pktmbuf_reset(mbufs[idx]);
idx++;
/* fall-through */
case 3:
rte_pktmbuf_reset(mbufs[idx]);
idx++;
/* fall-through */
case 2:
rte_pktmbuf_reset(mbufs[idx]);
idx++;
/* fall-through */
case 1:
rte_pktmbuf_reset(mbufs[idx]);
idx++;
/* fall-through */
}
}
return 0;
}
error: patch failed: lib/mbuf/rte_mbuf.h:1018
error: lib/mbuf/rte_mbuf.h: patch does not apply
^ permalink raw reply [flat|nested] 2+ messages in thread
* |WARNING| pw156092 [PATCH v7 1/3] mbuf: de-inline sanity checking a reinitialized mbuf
[not found] <20250822234515.22518-2-mb@smartsharesystems.com>
2025-08-22 23:22 ` |WARNING| pw156092-156091 [PATCH v7 1/3] mbuf: de-inline sanity checking a reinitialized mbuf qemudev
@ 2025-08-22 23:44 ` checkpatch
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2025-08-22 23:44 UTC (permalink / raw)
To: test-report; +Cc: Morten Brørup
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/156092
_coding style issues_
WARNING:MACRO_ARG_UNUSED: Argument 'm' is not used in function-like macro
#202: FILE: lib/mbuf/rte_mbuf.h:351:
+#define __rte_mbuf_raw_sanity_check_mp(m, mp) do { } while (0)
WARNING:MACRO_ARG_UNUSED: Argument 'mp' is not used in function-like macro
#202: FILE: lib/mbuf/rte_mbuf.h:351:
+#define __rte_mbuf_raw_sanity_check_mp(m, mp) do { } while (0)
total: 0 errors, 2 warnings, 230 lines checked
Warning in lib/mbuf/rte_mbuf.c:
Using rte_panic/rte_exit
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-22 23:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20250822234515.22518-2-mb@smartsharesystems.com>
2025-08-22 23:22 ` |WARNING| pw156092-156091 [PATCH v7 1/3] mbuf: de-inline sanity checking a reinitialized mbuf qemudev
2025-08-22 23:44 ` |WARNING| pw156092 " checkpatch
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).