[dpdk-users] Fragmentation ping test failing for large packets - DPDK 18.08
Suchetha p
suchetha2005 at gmail.com
Fri Jul 3 04:43:39 CEST 2020
Hi,
Our KVM based VMs on HP Gen10 Servers are running on RHEL 7.6 and having
Intel X710 NIC's.
The VMs are also running on RHEL 7.6 and the DPDK version used in the guest
application is 18.08.
Intel DPDK VF driver vfio-pci is compiled and loaded currently in our VM.
When performing the below fragmentation test it’s working only for max
packet size 1258. For 1500 bytes test, ping is failing in our DPDK based
application.
1.
Start ping with 1200bytes--successful
2.
Start ping with 1250bytes-successful
3.
Start ping with 1300bytes - not successful
4.
Start ping with 1500bytes---not successful
In a successful case (using 1250 bytes ping), we can see that an
unfragmented packet entered in gateway –( DPDK based application)
and gateway forwarding those packets towards destination. In response we
can see the destination responded with ping reply and reply entering into
the gateway.
But in an unsuccessful case (using 1500 bytes ping), we can see 2
fragmented packets (T-PDU 1284 and 48) entered in the gateway. But DPDK
based application is forwarding only one packet (T-PDU 48) towards the
destination and not forwarding other packets. Hence there is no response
for ping requests. And the ping test is failing. Seems our application is
dropping fragmented ping echo request packet internally as I didn’t see any
dropped packet count
This seems to be an issue with fragmentation/re-assembly.
As per the wireshark trace I am getting the below error " IPV4 total
length exceeds packet length".
Please find the ethtool settings on the Host machine.
tcp-segmentation-offload: on
tx-tcp-segmentation: on
tx-tcp-ecn-segmentation: on
tx-tcp6-segmentation: on
tx-tcp-mangleid-segmentation: off
udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: on
generic-receive-offload: on
I see that udp-fragmentation offload is off.
Please let me know if I need to turn on any segmentation parameters with
respect to ethtool settings to make the fragmentation ping test successful.
Thanks,
Suchetha
More information about the users
mailing list