[dpdk-dev] [Bug 362] rte_pktmbuf_attach_extbuf does not update pkt_len

bugzilla at dpdk.org bugzilla at dpdk.org
Tue Nov 12 11:25:10 CET 2019


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 at dpdk.org
          Reporter: joerg.dpdk at 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.


More information about the dev mailing list