diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2017-10-11 13:17:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-12 06:21:23 +0300 |
commit | f025fd6061e120713d6c11c92983804c6805d6cb (patch) | |
tree | 236c45bb63db2c27a70309cf4bb90cf3e2510555 /drivers/net/wireless/st | |
parent | f6f0aa97413a420606aabe8142f8a5c0f15b9246 (diff) | |
download | linux-f025fd6061e120713d6c11c92983804c6805d6cb.tar.xz |
net/mlx4_en: XDP_TX, assign constant values of TX descs on ring creaion
In XDP_TX, some fields in tx_info and tx_desc are constants across
all entries of the different XDP_TX rings.
Assign values to these fields on ring creation time, rather than in
data-path.
Patchset performance tests:
Tested on ConnectX3Pro, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
Single queue no-RSS optimization ON.
XDP_TX packet rate:
------------------------------
Before | After | Gain |
13.7 Mpps | 14.0 Mpps | %2.2 |
------------------------------
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/st')
0 files changed, 0 insertions, 0 deletions