aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/tipc
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2019-10-24 19:24:58 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-28 13:44:26 -0700
commita0c78337dd3a4900bc8628a511131b5a0b1db42a (patch)
tree702fa3ce30da52c3e976efd43f3134777ad80dcd /net/tipc
parentmvpp2: sync only the received frame (diff)
downloadwireguard-linux-a0c78337dd3a4900bc8628a511131b5a0b1db42a.tar.xz
wireguard-linux-a0c78337dd3a4900bc8628a511131b5a0b1db42a.zip
mvpp2: prefetch frame header
When receiving traffic, eth_type_trans() is high up on the perf top list, because it's the first function which access the packet data. Move the DMA unmap a bit higher, and put a prefetch just after it, so we have more time to load the data into the cache. The packet rate increase is about 14% with a tc drop test: 1620 => 1853 kpps Signed-off-by: Matteo Croce <mcroce@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions