1
linux/drivers/net/ethernet/mellanox/mlx4
Yevgeny Petrilin ebf8c9aa03 net/mlx4_en: Saving mem access on data path
Localized the pdev->dev, and using dma_map instead of pci_map
There are multiple map/unmap operations on data path,
optimizing those by saving redundant pointer access.
Those places were identified as hot-spots when running kernel profiling
during some benchmarks.
The fixes had most impact when testing packet rate with small packets,
reducing several % from CPU load, and in some case being the difference
between reaching wire speed or being CPU bound.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-03-06 15:19:17 -05:00
..
alloc.c
catas.c
cmd.c
cq.c
en_cq.c
en_ethtool.c
en_main.c
en_netdev.c net/mlx4_en: Saving mem access on data path 2012-03-06 15:19:17 -05:00
en_port.c
en_port.h
en_resources.c
en_rx.c net/mlx4_en: Saving mem access on data path 2012-03-06 15:19:17 -05:00
en_selftest.c
en_tx.c net/mlx4_en: Saving mem access on data path 2012-03-06 15:19:17 -05:00
eq.c mlx4: Replacing pool_lock with mutex 2012-02-21 15:27:23 -05:00
fw.c mlx4_core: Exported functions can't be static 2012-02-22 23:00:38 -08:00
fw.h
icm.c
icm.h
intf.c
Kconfig
main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-26 21:55:51 -05:00
Makefile
mcg.c mlx4: attach multicast with correct flag 2012-02-14 14:11:58 -05:00
mlx4_en.h net/mlx4_en: Saving mem access on data path 2012-03-06 15:19:17 -05:00
mlx4.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-26 21:55:51 -05:00
mr.c mlx4_core: Exported functions can't be static 2012-02-22 23:00:38 -08:00
pd.c
port.c mlx4: remove redundant adding of steering type to gid 2012-02-14 14:11:58 -05:00
profile.c
qp.c
reset.c
resource_tracker.c mlx4: add unicast steering entries to resource_tracker 2012-02-15 14:50:16 -05:00
sense.c
srq.c