|WARNING| pw104117 [PATCH] app/testpmd: fix parameters order when calling rte_ether_addr_copy()

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Nov 10 15:59:23 CET 2021


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

_apply patch failure_

Submitter: Xu, Wei1 <wei1.xu at intel.com>
Date: Wednesday, November 10 2021 08:17:59 
Applied on: CommitID:f4801fdb7828f45ddc4ada148b1b0a230a226570
Apply patch set 104117 failed:

Checking patch app/test-pmd/csumonly.c...
error: while searching for:
                             * and inner headers */
                             eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *);
                             rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr],
                                                           &eth_hdr->dst_addr);
                             rte_ether_addr_copy(&ports[fs->tx_port].eth_addr,
                                                           &eth_hdr->src_addr);
                            parse_ethernet(eth_hdr, &info);
                            l3_hdr = (char *)eth_hdr + info.l2_len;



error: patch failed: app/test-pmd/csumonly.c:872
Applying patch app/test-pmd/csumonly.c with 1 reject...
Rejected hunk #1.
diff a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c	(rejected hunks)
@@ -872,10 +872,10 @@ pkt_burst_checksum_forward(struct fwd_stream *fs)
                              * and inner headers */
                              eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *);
-                             rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr],
-                                                           &eth_hdr->dst_addr);
-                             rte_ether_addr_copy(&ports[fs->tx_port].eth_addr,
-                                                           &eth_hdr->src_addr);
+                            rte_ether_addr_copy(&eth_hdr->dst_addr,
+                                                          &peer_eth_addrs[fs->peer_addr]);
+                            rte_ether_addr_copy(&eth_hdr->src_addr,
+                                                          &ports[fs->tx_port].eth_addr);
                             parse_ethernet(eth_hdr, &info);
                             l3_hdr = (char *)eth_hdr + info.l2_len;



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

UNH-IOL DPDK Community Lab


More information about the test-report mailing list