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

2017-03-14 Thread Ferruh Yigit
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,

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

2017-03-13 Thread Jerin Jacob
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 constrai