mbox series

[net-next,v2,0/3] mvpp2 improvements in rx path

Message ID 20191024172458.7956-1-mcroce@redhat.com
Headers show
Series mvpp2 improvements in rx path | expand

Message

Matteo Croce Oct. 24, 2019, 5:24 p.m. UTC
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(-)

Comments

David Miller Oct. 28, 2019, 8:54 p.m. UTC | #1
From: Matteo Croce <mcroce@redhat.com>
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.