Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1147

OVS-DPDK vhost ports may not properly offload checksumming

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • ovs-dpdk
    • OVS-DPDK vhost ports may not properly offload checksumming
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given an environment using OVS DPDK with vhost ports and checksum offloading enabled, 

      When a VM sends an IPv6 UDP tunnel encapsulated packet, 

      Then, the packet is processed correctly without being dropped due to checksum validation errors.


      ( ) The epics work is available in a downstream build (nightly/Async or other)


      ( ) All cards under the epic have been moved to Done

      Show
      Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given an environment using OVS DPDK with vhost ports and checksum offloading enabled,  When a VM sends an IPv6 UDP tunnel encapsulated packet,  Then, the packet is processed correctly without being dropped due to checksum validation errors. ( ) The epics work is available in a downstream build (nightly/Async or other) ( ) All cards under the epic have been moved to Done
    • rhel-10
    • rhel-net-ovs-dpdk
    • 100% To Do, 0% In Progress, 0% Done
    • ssg_networking

      This epic tracks all the effort needed to deliver the solution related to the bug described below.
      Currently vhost ports use a legacy offload flags, which may not accurately reflect the state of a packets checksum in all cases.

      This can especially manifest if checksum offload is enabled and a VM produces an ipv6 udp tunnel encapsulated packet. Currently the udp_extract_tnl_md() function will check for dp_packet_l4_checksum_good(), however, this will not be set even though the checksum is offloaded and the paacket is valid. Resulting in dropped packets.

      There are a few possible solutions, but the most straight forward is probably to turn off legacy mode.

      rhn-support-dmarchan has a branch that does just this, but it needs validation.

       

      Originally reported by rhn-support-qding 

              ovsdpdk-bot ovsdpdk bot
              rh-ee-mpattric Mike Pattrick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: