Re: [dpdk-dev] [PATCH] net/octeontx2: fix buffer size assignment

2020-05-21 Thread Jerin Jacob
On Wed, May 20, 2020 at 5:51 PM Ankur Dwivedi wrote: > > The elt_size field in mempool holds the size of one packet buffer. > It can be used to set the lpm_sizem1 field in rq context. > > The lpb_sizem1 field in rq context is 12 bit, direct assignment > to it was causing overflow of value. Because

[dpdk-dev] [PATCH] net/octeontx2: fix buffer size assignment

2020-05-20 Thread Ankur Dwivedi
The elt_size field in mempool holds the size of one packet buffer. It can be used to set the lpm_sizem1 field in rq context. The lpb_sizem1 field in rq context is 12 bit, direct assignment to it was causing overflow of value. Because of this errors were observed while trying inline inbound with la