Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's
From: Eric Dumazet
Date: Tue Oct 15 2013 - 10:52:33 EST
On Tue, 2013-10-15 at 07:26 -0700, Eric Dumazet wrote:
> And the receiver should also do the same : (ethtool -K eth0 rx off)
>
> 10.55% netserver [kernel.kallsyms] [k]
> csum_partial_copy_generic
I get the csum_partial() if disabling prequeue.
echo 1 >/proc/sys/net/ipv4/tcp_low_latency
24.49% swapper [kernel.kallsyms] [k]
csum_partial
|
--- csum_partial
skb_checksum
__skb_checksum_complete_head
__skb_checksum_complete
tcp_rcv_established
tcp_v4_do_rcv
tcp_v4_rcv
ip_local_deliver_finish
ip_local_deliver
ip_rcv_finish
ip_rcv
So yes, we can call csum_partial() in receive path in this case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/