summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSaeed Mahameed2015-06-23 16:14:14 +0200
committerDavid S. Miller2015-06-24 09:42:34 +0200
commit03289b88e3bcbdf2c8e0f1c92ce4e5a4cfbabf77 (patch)
tree564425dd5b615f6681e8b290c86dd474c37ccf7e /Makefile
parentnet/mlx4_en: Use HW counters for rx/tx bytes/packets in PF device (diff)
downloadkernel-qcow2-linux-03289b88e3bcbdf2c8e0f1c92ce4e5a4cfbabf77.tar.gz
kernel-qcow2-linux-03289b88e3bcbdf2c8e0f1c92ce4e5a4cfbabf77.tar.xz
kernel-qcow2-linux-03289b88e3bcbdf2c8e0f1c92ce4e5a4cfbabf77.zip
net/mlx5e: Static mapping of netdev priv resources to/from netdev TX queues
To save per-packet calculations, we use the following static mappings: 1) priv {channel, tc} to netdev txq (used @mlx5e_selec_queue()) 2) netdev txq to priv sq (used @mlx5e_xmit()) Thanks to these static mappings, no more need for a separate implementation of ndo_start_xmit when multiple TCs are configured. We believe the performance improvement of such separation would be negligible, if any. The previous way of dynamically calculating the above mappings required allocating more TX queues than actually used (@alloc_etherdev_mqs()), which is now no longer needed. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions