Bug 2144728

Summary: [ice] dpdk vxlan over ipv6 does not work
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Hekai Wang <hewang>
Component: DPDKAssignee: Kevin Traynor <ktraynor>
DPDK sub component: other QA Contact: liting <tli>
Status: NEW --- Docs Contact:
Severity: unspecified    
Priority: unspecified CC: ctrautma, fleitner, jhsiao, ktraynor
Version: FDP 22.K   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hekai Wang 2022-11-22 06:19:43 UTC
Description of problem:
[ice] dpdk vxlan over ipv6 does not work

Version-Release number of selected component (if applicable):
kernel:kernel-4.18.0-305.72.1.el8_4.x86_64

[root@dell-per740-40 ~]# rpm -q dpdk
dpdk-21.11.2-1.el9_1.x86_64
[root@dell-per740-40 ~]# rpm -q dpdk-tools
dpdk-tools-21.11.2-1.el9_1.x86_64

[root@dell-per740-40 ~]# ethtool -i ens1f0
driver: ice
version: 5.14.0-162.9.1.el9_1.x86_64
firmware-version: 4.00 0x800117e9 1.3236.0
expansion-rom-version: 
bus-info: 0000:3b:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

[root@dell-per740-40 ~]# lspci -s 0000:3b:00.0 -vv
3b:00.0 Ethernet controller: Intel Corporation Ethernet Controller E810-C for QSFP (rev 02)
	Subsystem: Intel Corporation Ethernet Network Adapter E810-C-Q2
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 123
	NUMA node: 0
	IOMMU group: 62
	Region 0: Memory at ae000000 (64-bit, prefetchable) [size=32M]
	Region 3: Memory at b2010000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at ab000000 [disabled] [size=1M]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
		Address: 0000000000000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [70] MSI-X: Enable+ Count=1024 Masked-
		Vector table: BAR=3 offset=00000000
		PBA: BAR=3 offset=00008000
	Capabilities: [a0] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0.000W
		DevCtl:	CorrErr- NonFatalErr+ FatalErr+ UnsupReq+
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop- FLReset-
			MaxPayload 256 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 16GT/s, Width x16, ASPM not supported
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
		LnkCtl:	ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 8GT/s (downgraded), Width x8 (downgraded)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR-
			 10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS- TPHComp- ExtTPHComp-
			 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 65ms to 210ms, TimeoutDis- LTR- OBFF Disabled,
			 AtomicOpsCtl: ReqEn-
		LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
		LnkCtl2: Target Link Speed: 16GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
			 EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [e0] Vital Product Data
		Product Name: Intel(R) Ethernet Network Adapter E810-CQDA2
		Read-only fields:
			[V1] Vendor specific: Intel(R) Ethernet Network Adapter E810-CQDA2
			[PN] Part number: K91258-006
			[SN] Serial number: B49691AC1E48
			[V2] Vendor specific: 5020
			[RV] Reserved: checksum good, 1 byte(s) reserved
		End
	Capabilities: [100 v2] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt+ RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP+ FCP+ CmpltTO+ CmpltAbrt+ UnxCmplt- RxOF+ MalfTLP+ ECRC+ UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		CEMsk:	RxErr+ BadTLP+ BadDLLP+ Rollover+ Timeout+ AdvNonFatalErr+
		AERCap:	First Error Pointer: 00, ECRCGenCap+ ECRCGenEn+ ECRCChkCap+ ECRCChkEn+
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000000 00000000 00000000 00000000
	Capabilities: [148 v1] Alternative Routing-ID Interpretation (ARI)
		ARICap:	MFVC- ACS-, Next Function: 1
		ARICtl:	MFVC- ACS-, Function Group: 0
	Capabilities: [150 v1] Device Serial Number b4-96-91-ff-ff-ac-1e-48
	Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
		IOVCap:	Migration-, Interrupt Message Number: 000
		IOVCtl:	Enable- Migration- Interrupt- MSE- ARIHierarchy+
		IOVSta:	Migration-
		Initial VFs: 128, Total VFs: 128, Number of VFs: 0, Function Dependency Link: 00
		VF offset: 8, stride: 1, Device ID: 1889
		Supported Page Size: 00000553, System Page Size: 00000001
		Region 0: Memory at 00000000b1000000 (64-bit, prefetchable)
		Region 3: Memory at 00000000b2220000 (64-bit, prefetchable)
		VF Migration: offset: 00000000, BIR: 0
	Capabilities: [1a0 v1] Transaction Processing Hints
		Device specific mode supported
		No steering table available
	Capabilities: [1b0 v1] Access Control Services
		ACSCap:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
	Capabilities: [1d0 v1] Secondary PCI Express
		LnkCtl3: LnkEquIntrruptEn- PerformEqu-
		LaneErrStat: 0
	Capabilities: [200 v1] Data Link Feature <?>
	Capabilities: [210 v1] Physical Layer 16.0 GT/s <?>
	Capabilities: [250 v1] Lane Margining at the Receiver <?>
	Kernel driver in use: ice
	Kernel modules: ice

How reproducible:
Always

Steps to Reproduce:

TOPO:back to back

DUT side


modprobe vfio-pci
modprobe vfio
driverctl -v set-override 0000:3b:00.0 vfio-pci'
driverctl: setting driver override for 0000:3b:00.0: vfio-pci
driverctl: loading driver vfio-pci
driverctl: unbinding previous driver ice
driverctl: reprobing driver for 0000:3b:00.0
driverctl: saving driver override for 0000:3b:00.0
sleep 3
driverctl -v list-devices | grep vfio-pci
0000:3b:00.0 vfio-pci [*] ()
driverctl -v set-override 0000:3b:00.1 vfio-pci
driverctl: setting driver override for 0000:3b:00.1: vfio-pci
driverctl: loading driver vfio-pci
driverctl: unbinding previous driver ice
driverctl: reprobing driver for 0000:3b:00.1
driverctl: saving driver override for 0000:3b:00.1
sleep 3
0000:3b:00.0 vfio-pci [*] ()
0000:3b:00.1 vfio-pci [*] ()

dpdk-testpmd -w 0000:3b:00.0 -w 0000:3b:00.1 -- -i --auto-start
EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-2048kB
:: [ 23:47:53 ] :: [   LOG    ] :: Exec update testpmd command
:: [ 23:47:53 ] :: [   LOG    ] :: 
            stop
            port stop all
            set verbose 9
            rx_vxlan_port add 4789 0
            rx_vxlan_port add 4789 1
            port start all
            start
            
:: [ 23:49:30 ] :: [   LOG    ] :: stop
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:3b:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE OS Default Package
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:3b:00.1 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE OS Default Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_0>: n=435456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=435456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: B4:96:91:AC:1E:48
Configuring Port 1 (socket 0)
Port 1: B4:96:91:AC:1E:49
Checking link statuses...
testpmd> Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=2
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32

Port 1: link state change event

Port 0: link state change event

testpmd>             stop
testpmd>             port stop all
Telling cores to stop...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
Stopping ports...
Checking link statuses...
testpmd>             set verbose 9
testpmd>             rx_vxlan_port add 4789 0
testpmd>             rx_vxlan_port add 4789 1
testpmd>             port start all
Done
Change verbose level from 0 to 9
Port 0: B4:96:91:AC:1E:48
Port 1: B4:96:91:AC:1E:49
Checking link statuses...

Port 1: link state change event

Port 0: link state change event
testpmd>             start
testpmd>             Done
io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=2
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32

Port 0: link state change event

Port 1: link state change event
port 1/queue 0: received 1 packets
  src=98:03:9B:2C:04:A4 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=98:03:9B:2C:04:A4 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: received 1 packets
  src=98:03:9B:2C:04:A5 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: sent 1 packets
  src=98:03:9B:2C:04:A5 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =47stop89, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=EC:2A:72:19:64:8E - dst=98:03:9B:2C:04:A5 - type=0x0800 - length=64 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: received 1 packets
  src=98:03:9B:2C:04:A4 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: sent 1 packets
  src=98:03:9B:2C:04:A4 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 0/queue 0: received 1 packets
  src=98:03:9B:2C:04:A5 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
port 1/queue 0: sent 1 packets
  src=98:03:9B:2C:04:A5 - dst=33:33:00:00:00:02 - type=0x86dd - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_ICMP  - sw ptype: L2_ETHER L3_IPV6  - l2_len=14 - l3_len=40 - Send queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 
Telling cores to stop...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 12             TX-dropped: 0             TX-total: 12
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 12             RX-dropped: 0             RX-total: 12
  TX-packets: 2              TX-dropped: 0             TX-total: 2
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 14             RX-dropped: 0             RX-total: 14
  TX-packets: 14             TX-dropped: 0             TX-total: 14
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.

Stopping port 0...
Stopping ports...
Done

Stopping port 1...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Port 0 is closed
Done

Shutting down port 1...
Closing ports...
Port 1 is closed
Done

Bye...

RX-total: 12
:: [ 23:49:51 ] :: [   PASS   ] :: dpdk_tunnel_vxlan_test Rx total result check pass
 
TX-total: 12
:: [ 23:49:52 ] :: [   PASS   ] :: dpdk_tunnel_vxlan_test Tx total result check pass
 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Client side

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   dpdk_tunnel_vxlan_test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
ip link set ens3f0 mtu 9600
ip link set ens3f1 mtu 9600
ip link set ens3f0 up
ip link set ens3f1 up
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   dpdk_tunnel_vxlan_test IPV4 packets check
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 23:48:18 ] :: [  BEGIN   ] :: Running 'rm -f abc.cap'
:: [ 23:48:18 ] :: [   PASS   ] :: Command 'rm -f abc.cap' (Expected 0, got 0)
:: [ 23:48:18 ] :: [  BEGIN   ] :: Running 'tcpdump -i ens3f1 host 2.2.2.2 -w abc.cap &'
:: [ 23:48:18 ] :: [   PASS   ] :: Command 'tcpdump -i ens3f1 host 2.2.2.2 -w abc.cap &' (Expected 0, got 0)
dropped privs to tcpdump
tcpdump: listening on ens3f1, link-type EN10MB (Ethernet), capture size 262144 bytes
:: [ 23:48:18 ] :: [  BEGIN   ] :: Running 'sleep 3'
:: [ 23:48:21 ] :: [   PASS   ] :: Command 'sleep 3' (Expected 0, got 0)
###[ Ethernet ]### 
  dst       = 98:03:9b:2c:04:a5
  src       = ec:2a:72:19:64:8e
  type      = IPv4
###[ IP ]### 
     version   = 4
     ihl       = None
     tos       = 0x0
     len       = None
     id        = 1
     flags     = 
     frag      = 0
     ttl       = 64
     proto     = udp
     chksum    = None
     src       = 1.1.1.1
     dst       = 2.2.2.2
     \options   \
###[ UDP ]### 
        sport     = vxlan
        dport     = vxlan
        len       = None
        chksum    = None
###[ VXLAN ]### 
           flags     = Instance
           reserved1 = 0
           vni       = 0x0
           reserved2 = 0x0
###[ Raw ]### 
              load      = 'xxxxxxxxxxxxxx'

:: [ 23:48:22 ] :: [   LOG    ] :: None
..........
Sent 10 packets.

            sleep 2
            pkill tcpdump
            sleep 2
            unset pkt_num
            pkt_num=`tcpdump -r abc.cap -q  | wc -l`
            rlAssertEquals 'check receive pkts' '$pkt_num' '10'
            
:: [ 23:48:32 ] :: [  BEGIN   ] :: Running 'sleep 2'
:: [ 23:48:34 ] :: [   PASS   ] :: Command 'sleep 2' (Expected 0, got 0)
:: [ 23:48:34 ] :: [  BEGIN   ] :: Running 'pkill tcpdump'
10 packets captured
10 packets received by filter
0 packets dropped by kernel
:: [ 23:48:34 ] :: [   PASS   ] :: Command 'pkill tcpdump' (Expected 0, got 0)
:: [ 23:48:34 ] :: [  BEGIN   ] :: Running 'sleep 2'
:: [ 23:48:36 ] :: [   PASS   ] :: Command 'sleep 2' (Expected 0, got 0)
:: [ 23:48:36 ] :: [  BEGIN   ] :: Running 'unset pkt_num'
:: [ 23:48:36 ] :: [   PASS   ] :: Command 'unset pkt_num' (Expected 0, got 0)
reading from file abc.cap, link-type EN10MB (Ethernet)
dropped privs to tcpdump
:: [ 23:48:39 ] :: [  BEGIN   ] :: Running 'pkt_num=10'
:: [ 23:48:39 ] :: [   PASS   ] :: Command 'pkt_num=10' (Expected 0, got 0)
:: [ 23:48:39 ] :: [  BEGIN   ] :: Running 'rlAssertEquals 'check receive pkts' '10' '10''
:: [ 23:48:39 ] :: [   PASS   ] :: check receive pkts (Assert: '10' should equal '10')
:: [ 23:48:39 ] :: [   PASS   ] :: Command 'rlAssertEquals 'check receive pkts' '10' '10'' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 23s
::   Assertions: 10 good, 0 bad
::   RESULT: PASS (dpdk_tunnel_vxlan_test IPV4 packets check)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   dpdk_tunnel_vxlan_test IPV6 packets check
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 23:48:48 ] :: [  BEGIN   ] :: Running 'rm -f abc.cap'
:: [ 23:48:48 ] :: [   PASS   ] :: Command 'rm -f abc.cap' (Expected 0, got 0)
:: [ 23:48:48 ] :: [  BEGIN   ] :: Running 'tcpdump -i ens3f1 host 3000::200 -w abc.cap &'
:: [ 23:48:48 ] :: [   PASS   ] :: Command 'tcpdump -i ens3f1 host 3000::200 -w abc.cap &' (Expected 0, got 0)
dropped privs to tcpdump
tcpdump: listening on ens3f1, link-type EN10MB (Ethernet), capture size 262144 bytes
:: [ 23:48:48 ] :: [  BEGIN   ] :: Running 'sleep 3'
:: [ 23:48:51 ] :: [   PASS   ] :: Command 'sleep 3' (Expected 0, got 0)
###[ Ethernet ]### 
  dst       = 98:03:9b:2c:04:a5
  src       = ec:2a:72:19:64:8e
  type      = IPv6
###[ IPv6 ]### 
     version   = 6
     tc        = 0
     fl        = 0
     plen      = None
     nh        = UDP
     hlim      = 64
     src       = 3000::100
     dst       = 3000::200
###[ UDP ]### 
        sport     = vxlan
        dport     = vxlan
        len       = None
        chksum    = None
###[ VXLAN ]### 
           flags     = Instance
           reserved1 = 0
           vni       = 0x0
           reserved2 = 0x0
###[ Raw ]### 
              load      = ''

:: [ 23:48:52 ] :: [   LOG    ] :: None
..........
Sent 10 packets.

            sleep 2
            pkill tcpdump
            sleep 2
            unset pkt_num
            pkt_num=`tcpdump -r abc.cap -q  | wc -l`
            rlAssertEquals 'check ipv6 receive pkts' '$pkt_num' '10'
            
:: [ 23:49:02 ] :: [  BEGIN   ] :: Running 'sleep 2'
:: [ 23:49:04 ] :: [   PASS   ] :: Command 'sleep 2' (Expected 0, got 0)
:: [ 23:49:04 ] :: [  BEGIN   ] :: Running 'pkill tcpdump'
0 packets captured
0 packets received by filter
0 packets dropped by kernel
:: [ 23:49:04 ] :: [   PASS   ] :: Command 'pkill tcpdump' (Expected 0, got 0)
:: [ 23:49:04 ] :: [  BEGIN   ] :: Running 'sleep 2'
:: [ 23:49:06 ] :: [   PASS   ] :: Command 'sleep 2' (Expected 0, got 0)
:: [ 23:49:06 ] :: [  BEGIN   ] :: Running 'unset pkt_num'
:: [ 23:49:06 ] :: [   PASS   ] :: Command 'unset pkt_num' (Expected 0, got 0)
reading from file abc.cap, link-type EN10MB (Ethernet)
dropped privs to tcpdump
:: [ 23:49:07 ] :: [  BEGIN   ] :: Running 'pkt_num=0'
:: [ 23:49:07 ] :: [   PASS   ] :: Command 'pkt_num=0' (Expected 0, got 0)
:: [ 23:49:07 ] :: [  BEGIN   ] :: Running 'rlAssertEquals 'check ipv6 receive pkts' '0' '10''
:: [ 23:49:07 ] :: [   FAIL   ] :: check ipv6 receive pkts (Assert: '0' should equal '10')
:: [ 23:49:07 ] :: [   FAIL   ] :: Command 'rlAssertEquals 'check ipv6 receive pkts' '0' '10'' (Expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 20s
::   Assertions: 8 good, 2 bad
::   RESULT: FAIL (dpdk_tunnel_vxlan_test IPV6 packets check)



Actual results:
tunnel vxlan over ipv6 packets receive failed 

Expected results:
It works fine .

Additional info: