On 03/26/2019 07:43 AM, Jesper Dangaard Brouer wrote:
> On Mon, 25 Mar 2019 13:42:39 +0000
> Ioana Ciornei <ioana.cior...@nxp.com> wrote:
>
>> Take advantage of the software Rx batching by using
>> netif_receive_skb_list instead of napi_gro_receive.
>>
>> Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com>
>> ---
>
> Nice to see more people/drivers using: netif_receive_skb_list()
>
> We should likely add a similar napi_gro_receive_list() function.
GRO is essentially processing one frame at a time, and recycling
one sk_buff. (one sk_buff per aggregated train)
Having to allocate one sk_buff per MSS just to provide a list
would likely be slower, as far as GRO is concerned.