linux/drivers/net/ethernet/mellanox/mlx4
Tariq Toukan f025fd6061 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>
2017-10-11 20:21:23 -07:00
..
alloc.c mlx4: sizeof style usage 2017-08-16 11:01:57 -07:00
catas.c drivers: net: mlx4: use setup_timer() helper. 2017-09-21 11:44:42 -07:00
cmd.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00
cq.c
en_clock.c
en_cq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00
en_dcb_nl.c
en_ethtool.c net/mlx4_en: Limit the number of RX rings 2017-10-10 13:11:22 -07:00
en_main.c net/mlx4_en: Limit the number of TX rings 2017-10-10 13:11:22 -07:00
en_netdev.c net/mlx4_en: XDP_TX, assign constant values of TX descs on ring creaion 2017-10-11 20:21:23 -07:00
en_port.c
en_port.h
en_resources.c net/mlx4: Fix endianness issue in qp context params 2017-10-09 10:33:05 -07:00
en_rx.c net/mlx4_en: Replace netdev parameter with priv in XDP xmit function 2017-10-11 20:21:23 -07:00
en_selftest.c
en_tx.c net/mlx4_en: XDP_TX, assign constant values of TX descs on ring creaion 2017-10-11 20:21:23 -07:00
eq.c net/mlx4_core: Fix misplaced brackets of sizeof 2017-08-29 14:58:32 -07:00
fw_qos.c net/mlx4: fix spelling mistake: "availible" -> "available" 2017-08-16 14:23:45 -07:00
fw_qos.h net/mlx4: fix spelling mistake: "availible" -> "available" 2017-08-16 14:23:45 -07:00
fw.c net/mlx4_core: Fix cast warning in fw.c 2017-10-09 10:33:05 -07:00
fw.h net/mlx4_core: Dynamically allocate structs at mlx4_slave_cap 2017-08-29 14:58:32 -07:00
icm.c mlx4: sizeof style usage 2017-08-16 11:01:57 -07:00
icm.h mlx4: sizeof style usage 2017-08-16 11:01:57 -07:00
intf.c mlx4: sizeof style usage 2017-08-16 11:01:57 -07:00
Kconfig
main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00
Makefile
mcg.c mlx4: sizeof style usage 2017-08-16 11:01:57 -07:00
mlx4_en.h net/mlx4_en: XDP_TX, assign constant values of TX descs on ring creaion 2017-10-11 20:21:23 -07:00
mlx4_stats.h
mlx4.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00
mr.c mlx4: sizeof style usage 2017-08-16 11:01:57 -07:00
pd.c
port.c net/mlx4: Add user mac FW update support 2017-08-29 14:58:32 -07:00
profile.c
qp.c net/mlx4: Fix endianness issue in qp context params 2017-10-09 10:33:05 -07:00
reset.c
resource_tracker.c net/mlx4: Fix endianness issue in qp context params 2017-10-09 10:33:05 -07:00
sense.c
srq.c