[DTS][PATCH V3 0/5] Improve checksum validate and tso packet counting.
Ke Xu
ke1.xu at intel.com
Wed Dec 28 06:14:58 CET 2022
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