Home
last modified time | relevance | path

Searched hist:"47 e550e0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dveth.c47e550e0 Fri Apr 09 06:04:39 CDT 2021 Paolo Abeni <pabeni@redhat.com> veth: refine napi usage

After the previous patch, when enabling GRO, locally generated
TCP traffic experiences some measurable overhead, as it traverses
the GRO engine without any chance of aggregation.

This change refine the NAPI receive path admission test, to avoid
unnecessary GRO overhead in most scenarios, when GRO is enabled
on a veth peer.

Only skbs that are eligible for aggregation enter the GRO layer,
the others will go through the traditional receive path.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>