diff options
author | 2012-03-06 04:03:34 +0000 | |
---|---|---|
committer | 2012-03-06 15:19:17 -0500 | |
commit | ebf8c9aa032f03343b91c91951b0705021b02eb0 (patch) | |
tree | 821ec45a0319a6592603a66048700bac3b0f15bc /include/linux/inetdevice.h | |
parent | qla3xxx: ethernet: Silence static checker warning. (diff) | |
download | wireguard-linux-ebf8c9aa032f03343b91c91951b0705021b02eb0.tar.xz wireguard-linux-ebf8c9aa032f03343b91c91951b0705021b02eb0.zip |
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>
Diffstat (limited to 'include/linux/inetdevice.h')
0 files changed, 0 insertions, 0 deletions