[V1,0/2] Updating packet module for new util functions and packet types.

Message ID 20230704064726.455361-1-ke1.xu@intel.com (mailing list archive)


Ke Xu July 4, 2023, 6:47 a.m. UTC
  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.

Ke Xu (2):
  framework/packet: Add GTPU and GENEVE support for packet module.
  framework/packet: Update packet module for new methods.

 framework/packet.py | 864 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 860 insertions(+), 4 deletions(-)