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

2021-11-22 Thread Xu, Wei1
Hi Ferruh, Thanks for your explaining. It it by design, maybe a check and only rewrite the mac addresses when they are explicitly set? Thanks, Wei -Original Message- From: Yigit, Ferruh Sent: Tuesday, November 16, 2021 3:00 AM To: Xu, Wei1 ; Lu, Wenzhuo ; Wu, Jingjing ; Iremonger

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

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

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

2021-11-10 Thread Xu, Wei1
./app/dpdk-testpmd -n 1 -l 1-2 -a 09:00.0 -- -i --forward-mode=csum Fixes: 10f4620(app/testpmd: modify mac in csum forwarding) Signed-off-by: Wei Xu wei1...@intel.com<mailto:wei1...@intel.com> --- app/test-pmd/csumonly.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git