* |WARNING| pw104117 [PATCH] app/testpmd: fix parameters order when calling rte_ether_addr_copy()
@ 2021-11-10 14:59 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-11-10 14:59 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/104117
_apply patch failure_
Submitter: Xu, Wei1 <wei1.xu@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],
ð_hdr->dst_addr);
rte_ether_addr_copy(&ports[fs->tx_port].eth_addr,
ð_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],
- ð_hdr->dst_addr);
- rte_ether_addr_copy(&ports[fs->tx_port].eth_addr,
- ð_hdr->src_addr);
+ rte_ether_addr_copy(ð_hdr->dst_addr,
+ &peer_eth_addrs[fs->peer_addr]);
+ rte_ether_addr_copy(ð_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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-10 14:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 14:59 |WARNING| pw104117 [PATCH] app/testpmd: fix parameters order when calling rte_ether_addr_copy() 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).