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

2017-03-05 Thread Jerin Jacob
On Mon, Mar 06, 2017 at 11:00:01AM +0530, Hemant Agrawal wrote: > On 3/4/2017 6:16 PM, 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

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

2017-03-05 Thread Hemant Agrawal
On 3/4/2017 6:16 PM, 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

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

2017-03-04 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