Re: csum offload and af_packet

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <herbert@...>
Cc: <netdev@...>, <rusty@...>, <anthony@...>, <netdev@...>
Date: Tuesday, August 12, 2008 - 8:55 pm

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Wed, 13 Aug 2008 09:37:53 +1000


However, I think Rusty may have a point.

The whole point of the auxdata thing was that if your tool is smart
you can get the notification that the checksum is going to be HW
computed and therefore keep capturing at a very low cost.

But for a stupid AF_PACKET user, like dhclient currently is, there is
no harm in COW'ing the packet header area and calculating the checksum
for them in this case.

I kind of hope that libpcap/tcpdump has been taught about auxdata
by now, has it? :-/

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/9][RFC] KVM virtio_net performance, Rusty Russell, (Mon Aug 11, 3:44 am)
Re: [PATCH 0/9][RFC] KVM virtio_net performance, Herbert Xu, (Mon Aug 11, 5:51 am)
csum offload and af_packet, Rusty Russell, (Mon Aug 11, 9:50 am)
Re: csum offload and af_packet, Herbert Xu, (Mon Aug 11, 8:32 pm)
Re: csum offload and af_packet, Rusty Russell, (Mon Aug 11, 10:27 pm)
Re: csum offload and af_packet, David Miller, (Mon Aug 11, 8:51 pm)
Re: csum offload and af_packet, Herbert Xu, (Mon Aug 11, 8:58 pm)
Re: csum offload and af_packet, Ingo Oeser, (Tue Aug 12, 12:17 pm)
Re: csum offload and af_packet, Herbert Xu, (Tue Aug 12, 7:37 pm)
Re: csum offload and af_packet, David Miller, (Tue Aug 12, 8:55 pm)
Re: csum offload and af_packet, Herbert Xu, (Tue Aug 12, 9:09 pm)
Re: csum offload and af_packet, Patrick McHardy, (Wed Aug 13, 7:26 am)
Re: csum offload and af_packet, David Miller, (Sun Aug 17, 7:08 pm)
Re: csum offload and af_packet, Herbert Xu, (Sun Aug 17, 9:10 pm)
Re: csum offload and af_packet, David Miller, (Sun Aug 17, 9:12 pm)
Re: csum offload and af_packet, David Miller, (Tue Aug 12, 9:17 pm)
Re: csum offload and af_packet, Herbert Xu, (Tue Aug 12, 9:21 pm)
Re: csum offload and af_packet, David Miller, (Tue Aug 12, 9:25 pm)
Re: csum offload and af_packet, Herbert Xu, (Tue Aug 12, 9:37 pm)