netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] mvpp2 improvements in rx path
@ 2019-10-24 17:24 Matteo Croce
  2019-10-24 17:24 ` [PATCH net-next v2 1/3] mvpp2: refactor frame drop routine Matteo Croce
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Matteo Croce @ 2019-10-24 17:24 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Antoine Tenart, Maxime Chevallier, Marcin Wojtas,
	Stefan Chulski, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-28 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-24 17:24 [PATCH net-next v2 0/3] mvpp2 improvements in rx path Matteo Croce
2019-10-24 17:24 ` [PATCH net-next v2 1/3] mvpp2: refactor frame drop routine Matteo Croce
2019-10-24 17:24 ` [PATCH net-next v2 2/3] mvpp2: sync only the received frame Matteo Croce
2019-10-24 17:24 ` [PATCH net-next v2 3/3] mvpp2: prefetch frame header Matteo Croce
2019-10-28 20:54 ` [PATCH net-next v2 0/3] mvpp2 improvements in rx path David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).