Refactor some code in the RX path to allow prefetching some data from the
packet header. The first patch is only a refactor, the second one
reduces the data synced, while the third one adds the prefetch.
The packet rate improvement with the second patch is very small (1606 => 1620 kpps),
while the prefetch bumps it up by 14%: 1620 => 1853 kpps.
Matteo Croce (3):
mvpp2: refactor frame drop routine
mvpp2: sync only by the frame size
mvpp2: prefetch frame header
.../net/ethernet/marvell/mvpp2/mvpp2_main.c | 27 ++++++++++++-------
1 file changed, 17 insertions(+), 10 deletions(-)
--
2.21.0
From: Matteo Croce <[email protected]>
Date: Thu, 24 Oct 2019 19:24:55 +0200
> Refactor some code in the RX path to allow prefetching some data from the
> packet header. The first patch is only a refactor, the second one
> reduces the data synced, while the third one adds the prefetch.
>
> The packet rate improvement with the second patch is very small (1606 => 1620 kpps),
> while the prefetch bumps it up by 14%: 1620 => 1853 kpps.
Series applied to net-next, thanks Matteo.