diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2016-12-06 13:53:49 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-02-06 18:20:17 +0200 |
commit | a6f402e4990145252ce4fde59b273fa7e4f91e1b (patch) | |
tree | e9629cd82413793b5a8c12d736cdeaa44f4e16cc /drivers/usb/host/bcma-hcd.c | |
parent | 2b31f7ae5f645edd852addfca445895b5806f3f9 (diff) |
net/mlx5e: 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.
When inline is not required, vlan insertion will be handled in the
TX descriptor rather than copy to inline.
For LSO case driver is still required to copy headers, for the HW to
duplicate on wire.
This will improve CPU utilization and boost TX performance.
Tested with pktgen burst single flow:
CPU: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
HCA: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
Before: 15.1Mpps
After: 17.2Mpps
Improvement: 14%
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Diffstat (limited to 'drivers/usb/host/bcma-hcd.c')
0 files changed, 0 insertions, 0 deletions