https://bugs.dpdk.org/show_bug.cgi?id=362

            Bug ID: 362
           Summary: rte_pktmbuf_attach_extbuf does not update pkt_len
           Product: DPDK
           Version: 19.08
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: joerg.d...@thalheim.io
  Target Milestone: ---

When attaching an external buffer also pkt_len should be updated.
Otherwise some drivers such as i40e will refuse those packages 
in the preparation phase:
https://github.com/DPDK/dpdk/blob/31aa07759ecd151967b568b1f1aa12b7794217c8/drivers/net/i40e/i40e_rxtx.c#L1453

https://github.com/DPDK/dpdk/blob/31aa07759ecd151967b568b1f1aa12b7794217c8/lib/librte_mbuf/rte_mbuf.h#L985

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to