ip_gre Test Suite

DPDK IP GRE test suite.

class TestIpGre

Bases: TestSuite

IP GRE test suite.

gre_ip4_pkt_detect() → None

GRE IP4 packet send and detect.

Steps:
  • Craft packets using GRE tunneling.

  • Send them to the testpmd application.

Verify:
  • All packets were received.

gre_ip6_outer_ip4_inner_pkt_detect() → None

GRE IPv6 outer and IPv4 inner send and detect.

Steps:
  • Craft packets using GRE tunneling.

  • Send them to the testpmd application.

Verify:
  • All packets were received.

gre_ip6_outer_ip6_inner_pkt_detect() → None

GRE IPv6 outer and inner send and detect.

Steps:
  • Craft packets using GRE tunneling.

  • Send them to the testpmd application.

Verify:
  • All packets were received.

gre_checksum_offload() → None

GRE checksum offload test.

Steps:
  • Craft packets using GRE tunneling.

  • Alter checksum of each packet.

  • Send packets to the testpmd application.

Verify:
  • All packets were received with the expected checksum flags.