diff options
author | Paolo Abeni <pabeni@redhat.com> | 2017-06-22 15:01:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-22 13:44:04 -0400 |
commit | 4b943faedfc29eda882851b772c06cecdf78d8e3 (patch) | |
tree | 973e773b5bbbb92bc4832fd13d2de46f61b4ebe3 /net/ipv4/udp.c | |
parent | ea9fc3c5b299a95dacb0a85745c078ce7aa678ca (diff) |
udp/v6: prefetch rmem_alloc in udp6_queue_rcv_skb()
very similar to commit dd99e425be23 ("udp: prefetch
rmem_alloc in udp_queue_rcv_skb()"), this allows saving a cache
miss when the BH is bottle-neck for UDP over ipv6 packet
processing, e.g. for small packets when a single RX NIC ingress
queue is in use.
Performances under flood when multiple NIC RX queues used are
unaffected, but when a single NIC rx queue is in use, this
gives ~8% performance improvement.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions