Re: [PATCH 1/3] net/nfp: fix wrong increment of free list counter

2022-11-18 Thread Ferruh Yigit
On 11/18/2022 1:44 AM, Chaoyong He wrote: > When receiving a packet that is larger than the mbuf size, the Rx > function will break the receive loop and sent a free list descriptor > with random DMA address. > > Fix this by moving the increment of the free list descriptor counter > to after the pa

[PATCH 1/3] net/nfp: fix wrong increment of free list counter

2022-11-17 Thread Chaoyong He
When receiving a packet that is larger than the mbuf size, the Rx function will break the receive loop and sent a free list descriptor with random DMA address. Fix this by moving the increment of the free list descriptor counter to after the packet size have been checked and acted on. Fixes: bb34