summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic/setup.h
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2016-12-06 14:04:05 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2017-02-06 18:20:18 +0200
commitb70149dd7dc98661fbbfe7281f127caa408028fe (patch)
treec821d4619a8acc9e01a2078bed52193bc5e8a2a9 /include/uapi/asm-generic/setup.h
parenta6f402e4990145252ce4fde59b273fa7e4f91e1b (diff)
net/mlx5e: XDP Tx, no inline copy on ConnectX-5
ConnectX-5 and later HW generations will report min inline mode == MLX5_INLINE_MODE_NONE, which means driver is not required to copy packet headers to inline fields of TX WQE. Avoid copy to inline segment in XDP TX routine when HW inline mode doesn't require it. This will improve CPU utilization and boost XDP TX performance. Tested with xdp2 single flow: CPU: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz HCA: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] Before: 7.4Mpps After: 7.8Mpps Improvement: 5% Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Diffstat (limited to 'include/uapi/asm-generic/setup.h')
0 files changed, 0 insertions, 0 deletions