diff options
| author | Tariq Toukan <tariqt@mellanox.com> | 2019-07-01 12:08:08 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-01 22:33:31 +0300 |
| commit | b431302e92f00b7acd5617a4d289f8006394bfc2 (patch) | |
| tree | c68c2eaeb514e8db981000b2a86480cd4910992e /tools/perf/scripts/python/futex-contention.py | |
| parent | 7cf6f811b72aced0c48e1065fe059d604ef6363d (diff) | |
| download | linux-b431302e92f00b7acd5617a4d289f8006394bfc2.tar.xz | |
net/mlx5e: Tx, Soften inline mode VLAN dependencies
If capable, use zero inline mode in TX WQE for non-VLAN packets.
For VLAN ones, keep the enforcement of at least L2 inline mode,
unless the WQE VLAN insertion offload cap is on.
Performance:
Tested single core packet rate of 64Bytes.
NIC: ConnectX-5
CPU: Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz
pktgen:
Before: 12.46 Mpps
After: 14.65 Mpps (+17.5%)
XDP_TX:
The MPWQE flow is not affected, as it already has this optimization.
So we test with priv-flag xdp_tx_mpwqe: off.
Before: 9.90 Mpps
After: 10.20 Mpps (+3%)
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Tested-by: Noam Stolero <noams@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
