DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Fragmentation ping test failing for large packets - DPDK 18.08
@ 2020-07-03  2:43 Suchetha p
  0 siblings, 0 replies; only message in thread
From: Suchetha p @ 2020-07-03  2:43 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-03  2:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03  2:43 [dpdk-users] Fragmentation ping test failing for large packets - DPDK 18.08 Suchetha p

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).