diff options
author | 2024-06-18 13:34:44 +0200 | |
---|---|---|
committer | 2024-06-19 17:38:11 -0700 | |
commit | 0f3cd437a1d88b2a77dfb146c88a297bea974ceb (patch) | |
tree | 932aa636ff5fc656c51cf03032a6557850b2a95e /include/linux/local_lock_internal.h | |
parent | mlxsw: pci: Use page pool for Rx buffers allocation (diff) | |
download | wireguard-linux-0f3cd437a1d88b2a77dfb146c88a297bea974ceb.tar.xz wireguard-linux-0f3cd437a1d88b2a77dfb146c88a297bea974ceb.zip |
mlxsw: pci: Optimize data buffer access
Before accessing data buffer, call net_prefetch() to load it into the
cache. This change improves driver performance, CPU can handle about
7.1% more packets per second.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/1fa07c510890866a6f201163ab7e78890ba28b3b.1718709196.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/local_lock_internal.h')
0 files changed, 0 insertions, 0 deletions