What's the deal with hardware checksum and net.inet.udp.checksum?

2008-07-09 Thread gnn
I would assume that if a card, say the em, has hardware TX checksum that the UDP checksum could be calculated by the hardware, but this seems not to be the case. The manual pages are unhelpful in this regard. Thanks, George ___ freebsd-net@freebsd.org m

Re: What's the deal with hardware checksum and net.inet.udp.checksum?

2008-07-10 Thread Robert Watson
On Wed, 9 Jul 2008, [EMAIL PROTECTED] wrote: I would assume that if a card, say the em, has hardware TX checksum that the UDP checksum could be calculated by the hardware, but this seems not to be the case. The manual pages are unhelpful in this regard. On the whole, they should be generated

Re: What's the deal with hardware checksum and net.inet.udp.checksum?

2008-07-10 Thread gnn
At Thu, 10 Jul 2008 11:43:23 +0100 (BST), rwatson wrote: > > On Wed, 9 Jul 2008, [EMAIL PROTECTED] wrote: > > > I would assume that if a card, say the em, has hardware TX checksum that > > the > > UDP checksum could be calculated by the hardware, but this seems not to be > > the case. The man

Re: What's the deal with hardware checksum and net.inet.udp.checksum?

2008-07-10 Thread Robert Watson
On Thu, 10 Jul 2008, [EMAIL PROTECTED] wrote: If the sysctl it turned off on the transmitter then the receiving machine sees UDP checksums of 0. Right. If you disable UDP checksumming, we don't generate checksums (hardware or software) in udp_output(): /* * Set up checksu

Re: What's the deal with hardware checksum and net.inet.udp.checksum?

2008-07-14 Thread gnn
A, thanks, George ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"