Re: [dpdk-dev] [PATCH v3 2/2] app/testpmd: fix txonly forwording

2021-09-18 Thread Li, Xiaoyun
Hi > -Original Message- > From: Zhang, AlvinX > Sent: Saturday, September 18, 2021 11:07 > To: Li, Xiaoyun ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: [PATCH v3 2/2] app/testpmd: fix txonly forwording > > When random number of Tx segments is en

[dpdk-dev] [PATCH v3 2/2] app/testpmd: fix txonly forwording

2021-09-17 Thread Alvin Zhang
When random number of Tx segments is enabled, because the actual number of segments may be only one, the first segment of the Tx packets must accommodate a complete being sending Eth/IP/UDP packet. Besides, if multiple flow is enabled, the forwarding will update the IP and UDP header, these header