automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw134116 [PATCH] BUILD bug hidden in SFC driver.
@ 2023-11-11 17:40 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-11-11 17:40 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

_apply patch failure_

Submitter: Stephen Hemminger <stephen@networkplumber.org>
Date: Saturday, November 11 2023 16:56:34 
Applied on: CommitID:147fb8a7be4382b5b1150d74cb7f10933ddf9d78
Apply patch set 134116 failed:

Checking patch drivers/net/sfc/sfc_ef100_tx.c...
error: while searching for:
                * Make sure that the first segment does not need fragmentation
                * (split into many Tx descriptors).
                */
               RTE_BUILD_BUG_ON(SFC_EF100_TX_SEND_DESC_LEN_MAX <
                                RTE_MIN((unsigned int)EFX_MAC_PDU_MAX,
                                SFC_MBUF_SEG_LEN_MAX));
       }

       if (m->ol_flags & sfc_dp_mport_override) {

error: patch failed: drivers/net/sfc/sfc_ef100_tx.c:562
Applying patch drivers/net/sfc/sfc_ef100_tx.c with 1 reject...
Rejected hunk #1.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/sfc/sfc_ef100_tx.c b/drivers/net/sfc/sfc_ef100_tx.c	(rejected hunks)
@@ -562,9 +562,8 @@ sfc_ef100_tx_pkt_descs_max(const struct rte_mbuf *m)
                 * Make sure that the first segment does not need fragmentation
                 * (split into many Tx descriptors).
                 */
-               RTE_BUILD_BUG_ON(SFC_EF100_TX_SEND_DESC_LEN_MAX <
-                                RTE_MIN((unsigned int)EFX_MAC_PDU_MAX,
-                                SFC_MBUF_SEG_LEN_MAX));
+               RTE_BUILD_BUG_ON(SFC_EF100_TX_SEND_DESC_LEN_MAX < EFX_MAC_PDU_MAX);
+               RTE_BUILD_BUG_ON(SFC_EF100_TX_SEND_DESC_LEN_MAX < SFC_MBUF_SEG_LEN_MAX);
        }
 
        if (m->ol_flags & sfc_dp_mport_override) {

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

UNH-IOL DPDK Community Lab

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

only message in thread, other threads:[~2023-11-11 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11 17:40 |WARNING| pw134116 [PATCH] BUILD bug hidden in SFC driver 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).