As shown in this pcap, we can see five packets with the same five-tuple: (TCP, 10.100.0.63:42154 → 10.100.0.59:9008).
However, there are two VxLAN source port numbers: 37302, 59237 depending on where the packets are handled by ASAP2 or by the Kernel.
37302: handled by kernel since it is the TCP handshake packet, so there is no datapath in the ASAP2.
59237: handled by ASAP2 since the flow is offloaded after the handshake, so the flow resides in the ASAP2.
The VxLAN source port number is quite important as it determines which path to take.
Please share any feedback!
This is normal VxLan packet behavior.
For the first few packets, before the offloading handshake, the VxLan source port is determined by the Kernel.
After the offloading handshake, when packets are being offloaded, the source port is determined by the HW - ASAP2.
If you have any further questions regarding this, please open a case at: enterprisesupport@nvidia.com, and it will be handled according to entitlement.