Re: [PATCH 1/2] net: thunderx: Set recevie buffer page usage count in bulk

From: David Miller
Date: Thu Mar 10 2016 - 14:48:28 EST


From: Sunil Kovvuri <sunil.kovvuri@xxxxxxxxx>
Date: Thu, 10 Mar 2016 23:57:48 +0530

> Difference between NIU driver and this patch is there it's
> calculate split count, increment page count and then divide page into
> buffers. Here it's divide page into buffers, have a counter which increments
> at every split and then at the end do a atomic increment of page->_count.
>
> Any issue with this approach ?

I guess not.