test suite reviews and discussions
 help / color / mirror / Atom feed
From: Ke Xu <ke1.xu@intel.com>
To: dts@dpdk.org
Cc: ke1.xu@intel.com, tarcadia@qq.com
Subject: [DTS][Patch V1 0/4] Updating packet module and introducing a new common module.
Date: Wed, 12 Jul 2023 19:31:22 +0000	[thread overview]
Message-ID: <20230712193126.1994361-1-ke1.xu@intel.com> (raw)

This patch is updating packet module for new util functions and packet types
 and introducing a new common module for util functions and common executions
 for offload cases. This patch also added a new decorator to test_case module.

Packet module is designed to support packet organizing, analyzing and
 processing of different packet types. This patch introduced several
 new functions and supported new packet types in this module.

Added support for GTPU and GENEVE packet. Packet module only supports
 limited tunneling layers like VxLAN, GRE. New packet types are required
 in recent DPDK releases and GTPU and GENEVE are required to be added.

Added new util functions. Packet module introduced several util functions
 for writing packets into files, getting and increasing IP addresses,
 getting ether types and so on. As more packet types are introduced, some
 other util functions are required. This patch implemented a set of packet
 layer indexing, packet payload, segment and checksum checking. This patch
 also fixed some bad doc strings.

New Offload Common module is designed to support common checksum offload, TSO
 and related cases that requires varied packet types and massive packet-type
 traversal. This new module provides prepared packets, packet modification
 methods, packet and verbose analyzing methods and common execution steps.

New decorator `skip_unsupported` is designed to mark not supported cases. It
 provides two inputs for labeling a case unsupported in condition and labeling
 cases not supported with a reason.

Ke Xu (4):
  framework/packet: Add GTPU and GENEVE support for packet module.
  framework/packet: Update packet module for new methods.
  framework/test_case: Add skip_unsupported decorator.
  tests/offload_common: Add offload_common module.

 framework/packet.py     | 866 ++++++++++++++++++++++++++++++++++++-
 framework/test_case.py  |  21 +
 tests/offload_common.py | 926 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1809 insertions(+), 4 deletions(-)
 create mode 100644 tests/offload_common.py

-- 
2.34.1


             reply	other threads:[~2023-07-12 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-12 19:31 Ke Xu [this message]
2023-07-12 19:31 ` [DTS][Patch V1 1/4] framework/packet: Add GTPU and GENEVE support for packet module Ke Xu
2023-07-12 19:31 ` [DTS][Patch V1 2/4] framework/packet: Update packet module for new methods Ke Xu
2023-07-12 19:31 ` [DTS][Patch V1 3/4] framework/test_case: Add skip_unsupported decorator Ke Xu
2023-07-12 19:31 ` [DTS][Patch V1 4/4] tests/offload_common: Add offload_common module 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=20230712193126.1994361-1-ke1.xu@intel.com \
    --to=ke1.xu@intel.com \
    --cc=dts@dpdk.org \
    --cc=tarcadia@qq.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).