[dpdk-dev] Aligned RX data.

Alex Markuze alex at weka.io
Tue Oct 7 11:40:19 CEST 2014


Hi , I'm trying to receive aligned packets from the wire.
Meaning that for all received packets the pkt.data is always aligned to
(512 -H).

Looking at the pmds of ixgbe/vmxnet I see that the pmds call
__rte_mbuf_raw_alloc and set the rx descriptor with a
RTE_MBUF_DATA_DMA_ADDR_DEFAULT
Instead of the more appropriate RTE_MBUF_DATA_DMA_ADDR.

Do I need to modify each pmd I'm using to be able to receive aligned data?
Or have I missed something?

Thanks


More information about the dev mailing list