[DTS][PATCH V3 0/5] Improve checksum validate and tso packet counting.

Fu, Qi qi.fu at intel.com
Tue Jan 3 07:05:45 CET 2023


Acked-by: Fu, Qi <qi.fu at intel.com>

> -----Original Message-----
> From: Xu, Ke1 <ke1.xu at intel.com>
> Sent: Wednesday, December 28, 2022 1:15 PM
> To: dts at dpdk.org
> Cc: Fu, Qi <qi.fu at intel.com>; Li, WeiyuanX <weiyuanx.li at intel.com>; Tu,
> Lijuan <lijuan.tu at intel.com>; Xu, Ke1 <ke1.xu at intel.com>
> Subject: [DTS][PATCH V3 0/5] Improve checksum validate and tso packet
> counting.
> 
> This patch updates checksum_validate method and remove the tunnel one.
> 
> Use packet.show(dump) methods and packet reading to validate the
> packets in a faster, more common and more stable way. This allows
> packets other than the plain packets can be verified by method
> checksum_validate. This updated method replaces
> checksum_validate_tunnel  in checksum offload cases.
> 
> This patch also updates TSO packet checking. Replace the tcpdump
> implementation to a packet reading implementation.
> 
> Packet reading implementation is more common to use when to verify the
> received packet count and payload size. The tcpdump method is not  able
> to recognize some of the tunnel packets, leading to a wrong output  failing
> the validation. Newly added tcpdump_analyse_sniff method is
> implemented by sniff packet reading and analysing and can replace  the
> lagacy methods number_of_packets and number_of_bytes.
> 
> This patch also removes a redundant variable.
> 
> Ke Xu (5):
>   tests/vf_offload: Improve checksum_validate method.
>   tests/vf_offload: Remove redundant variable used.
>   tests/vf_offload: Use modified checksum_validate to replace
>     checksum_validate_tunnel.
>   tests/vf_offload: Improve tcpdump_analyse_sniff method
>   tests/vf_offload: Replace the tcpdump implementation to a packet
>     reading implementation.
> 
>  tests/TestSuite_vf_offload.py | 247 +++++++++-------------------------
>  1 file changed, 66 insertions(+), 181 deletions(-)
> 
> --
> 2.25.1



More information about the dts mailing list