summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas/ravb.h
diff options
context:
space:
mode:
authorSaeed Mahameed2017-03-24 22:52:10 +0100
committerDavid S. Miller2017-03-25 03:11:46 +0100
commit2239185ccd888a9934525e5b2d2f55890ab826f6 (patch)
treef5eb7724451f2315a26972fdcbb5a96fee7e8601 /drivers/net/ethernet/renesas/ravb.h
parentnet/mlx5e: Poll XDP TX CQ before RX CQ (diff)
downloadkernel-qcow2-linux-2239185ccd888a9934525e5b2d2f55890ab826f6.tar.gz
kernel-qcow2-linux-2239185ccd888a9934525e5b2d2f55890ab826f6.tar.xz
kernel-qcow2-linux-2239185ccd888a9934525e5b2d2f55890ab826f6.zip
net/mlx5e: Optimize XDP frame xmit
XDP SQ has a fixed size WQE (MLX5E_XDP_TX_WQEBBS = 1) and only posts one kind of WQE (MLX5_OPCODE_SEND), Also we initialize SQ descriptors static fields once on open_xdpsq, rather than every time on critical path. Optimize the code in light of those facts and add a prefetch of the TX descriptor first thing in the xdp xmit function. Performance improvement: System: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz Test case Before Now improvement --------------------------------------------------------------- XDP TX (1 core) 13Mpps 13.7Mpps 5% Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb.h')
0 files changed, 0 insertions, 0 deletions