Skip to content

net/mlx5: improve single core performance

Nelio Laranjeiro dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net/mlx5: prepare Tx vectorizationdrivers/net/mlx5/mlx5_rxtx.c+28 -160 replies
2/7net/mlx5: use work queue buffer as a raw bufferdrivers/net/mlx5/mlx5_prm.h drivers/net/mlx5/mlx5_rxtx.c drivers/net/mlx5/mlx5_rxtx.h +1 more+68 -580 replies
3/7net/mlx5: use vector types to speed up processingdrivers/net/mlx5/mlx5_prm.h drivers/net/mlx5/mlx5_rxtx.c+46 -350 replies
4/7net/mlx5: fix missing inline attributesdrivers/net/mlx5/mlx5_rxtx.c+25 -90 replies
5/7net/mlx5: move static prototypedrivers/net/mlx5/mlx5_rxtx.c+3 -30 replies
6/7net/mlx5: optimize copy of Ethernet headerdrivers/net/mlx5/mlx5_rxtx.c+4 -50 replies
7/7net/mlx5: remove inefficient prefetchingdrivers/net/mlx5/mlx5_rxtx.c+0 -210 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchAdrien Mazarguil
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] net/mlx5: improve single core performance

This series applies on top of
"[PATCH] eal: define generic vector types" [1][2]

Using built-in vector types forces compilers to consider SIMD instructions in specific places in order to improve performance on both IBM POWER8 and Intel architectures.

For example, testpmd single-thread I/O forwarding packets per second performance is improved by 6% on Intel platforms.

[1] http://dpdk.org/ml/archives/dev/2016-November/050261.html
[2] http://dpdk.org/dev/patchwork/patch/17024/

Nelio Laranjeiro (7):
net/mlx5: prepare Tx vectorization net/mlx5: use work queue buffer as a raw buffer net/mlx5: use vector types to speed up processing net/mlx5: fix missing inline attributes net/mlx5: move static prototype
net/mlx5: optimize copy of Ethernet header net/mlx5: remove inefficient prefetching

 drivers/net/mlx5/mlx5_prm.h  |  20 +++-
 drivers/net/mlx5/mlx5_rxtx.c | 243 +++++++++++++++++++++++--------------------
 drivers/net/mlx5/mlx5_rxtx.h |   2 +-
 drivers/net/mlx5/mlx5_txq.c  |   8 +-
 4 files changed, 150 insertions(+), 123 deletions(-)
Signature · 1 line
2.1.4