[dpdk-dev] [PATCH v2] net/thunderx: check data offset alignment requirement

Ferruh Yigit ferruh.yigit at intel.com
Tue Mar 14 16:39:29 CET 2017


On 3/13/2017 8:02 AM, Jerin Jacob wrote:
> nicvf HW expects the DMA address of the packet data to be
> aligned with cache line size.
> 
> Packet data offset is a function of struct mbuf size,
> mbuf private size and headroom. mbuf private size can
> be changed from the application in pool creation, this
> check detects HW alignment requirement constraint in pmd
> start function.
> 
> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>

Applied to dpdk-next-net/master, thanks.



More information about the dev mailing list