https://bugs.linaro.org/show_bug.cgi?id=3686

            Bug ID: 3686
           Summary: IP header checksum not inserted if L4 offset not set
           Product: OpenDataPlane - linux- generic reference
           Version: master
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: Packet IO
          Assignee: maxim.uva...@linaro.org
          Reporter: janne.pelto...@nokia.com
                CC: lng-odp@lists.linaro.org
  Target Milestone: ---

When IPv4 header checksum offload is requested from DPDK pktio in ODP
v1.18.0.1, the checksum does not get inserted if L4 offset of the packet is not
set. See pkt_set_ol_tx() in dpdk.c.

The API spec says (odp_pktout_config_opt_t):

 * For correct operation, packet metadata must provide valid offsets for the
 * appropriate protocols. For example, UDP checksum calculation needs both L3
 * and L4 offsets (to access IP and UDP headers). 

The way I read this is that valid L4 offset is not required if offload is
requested only for IPv4 header checksum.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to