From: Ke Xu <ke1.xu@intel.com>
To: dts@dpdk.org
Cc: qi.fu@intel.com, weiyuanx.li@intel.com, lijuan.tu@intel.com,
ke1.xu@intel.com
Subject: [DTS][PATCH V3 0/5] Improve checksum validate and tso packet counting.
Date: Wed, 28 Dec 2022 13:14:58 +0800 [thread overview]
Message-ID: <20221228051503.36747-1-ke1.xu@intel.com> (raw)
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
next reply other threads:[~2022-12-28 5:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-28 5:14 Ke Xu [this message]
2022-12-28 5:14 ` [DTS][PATCH V3 1/5] tests/vf_offload: Improve checksum_validate method Ke Xu
2022-12-28 5:15 ` [DTS][PATCH V3 2/5] tests/vf_offload: Remove redundant variable used Ke Xu
2022-12-28 5:15 ` [DTS][PATCH V3 3/5] tests/vf_offload: Use modified checksum_validate to replace checksum_validate_tunnel Ke Xu
2022-12-28 5:15 ` [DTS][PATCH V3 4/5] tests/vf_offload: Improve tcpdump_analyse_sniff method Ke Xu
2022-12-28 5:15 ` [DTS][PATCH V3 5/5] tests/vf_offload: Replace the tcpdump implementation to a packet reading implementation Ke Xu
2022-12-28 6:08 ` Li, WeiyuanX
2023-01-03 6:05 ` [DTS][PATCH V3 0/5] Improve checksum validate and tso packet counting Fu, Qi
2023-01-04 1:08 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221228051503.36747-1-ke1.xu@intel.com \
--to=ke1.xu@intel.com \
--cc=dts@dpdk.org \
--cc=lijuan.tu@intel.com \
--cc=qi.fu@intel.com \
--cc=weiyuanx.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).