Skip to contentSkip to conversation

rte_pktmbuf_attach_extbuf does not update pkt_len

dpdk-dev [email protected] 1 participant 1 message Nov 12, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.