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

            Bug ID: 1661
           Summary: Invalid data in segmented packet when copying data
                    with odp_packet_copydata_in()
           Product: OpenDataPlane
           Version: 1.1
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: ---
         Component: Buffers & Packets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 339
  --> https://bugs.linaro.org/attachment.cgi?id=339&action=edit
Sample code to reproduce the problem.

Invalid data in segmented packet when copying data with
odp_packet_copydata_in() and reading segment-by segment.

Steps to Reproduce: 
1. create packet & use odp_packet_copydata_in() so that the packet gets
segmented, i.e.: >2500bytes
2. Iterate over segments using odp_packet_first_seg() and odp_packet_next_seg()
3. get segment length with odp_packet_seg_data_len()
4. read pkt segment data using odp_packet_seg_data().

Actual Results:
- The 2nd segment's length is incorrect. Segment lengths does not add up to
packet length.
- Data in 2nd segment is corrupted.

Expected Results: Segment lengths should add up to packet length. Data should
be correct

Additional Information:
Petri Savolainen is aware of the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to