Re: [PATCH] app/testpmd: fix parameters order when calling rte_ether_addr_copy()

2021-11-10 Thread Stephen Hemminger
On Wed, 10 Nov 2021 08:17:59 + "Xu, Wei1" wrote: > eth_hdr = rte_pktmbuf_mtod(m, struct > rte_ether_hdr *); > - > rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr], > - > ð_

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

2021-11-10 Thread Xu, Wei1
Running in 'csum' mode, the 'from' and 'to' parameters are not in correct order when calling rte_ether_addr_copy() which means the src/dst mac addresses will be overwriten. As a result, the packets will not be recognized and received by the receiver(s). Test CLI: ./app/dpdk-testpmd -n 1 -l 1-2 -a