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 V1 0/5] Improve checksum validate and tso packet counting.
Date: Tue, 27 Dec 2022 18:21:27 +0800 [thread overview]
Message-ID: <20221227102131.529684-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 | 241 +++++++++-------------------------
1 file changed, 59 insertions(+), 182 deletions(-)
--
2.25.1
next reply other threads:[~2022-12-27 10:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 10:21 Ke Xu [this message]
2022-12-27 10:21 ` [DTS][PATCH V1 1/5] tests/vf_offload: Improve checksum_validate method Ke Xu
2022-12-27 10:21 ` [DTS][PATCH V1 2/5] tests/vf_offload: Remove redundant variable used Ke Xu
2022-12-27 10:21 ` [DTS][PATCH V1 3/5] tests/vf_offload: Use modified checksum_validate to replace checksum_validate_tunnel Ke Xu
2022-12-27 10:21 ` [DTS][PATCH V1 4/5] tests/vf_offload: Improve tcpdump_analyse_sniff method Ke Xu
2022-12-27 10:21 ` [DTS][PATCH V1 5/5] tests/vf_offload: Replace the tcpdump implementation to a packet reading implementation Ke Xu
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=20221227102131.529684-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).