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

Re: Tunneling issues

2008-07-10 Thread Steve Bertrand
[EMAIL PROTECTED] wrote: ifconfig gif1 inet 192.168.72.1 192.168.70.1 netmask 255.255.255.0 Above you are assigning a /24 netmask. Got it from the manual http://www.freebsd.org/doc/en/books/handbook/ipsec.html # ifconfig gif0 create # ifconfig gif0 tunnel A.B.C.D W.X.Y.Z # ifconfig gif0

[Regarding Packet Error]

2008-07-10 Thread Archimedes Gaviola
Hi, I'm running a FreeBSD-6.2 RELEASE system on an Intel Gigabit copper NIC but when it receive packets, I encounter some errors with netstat. Below is the netstat dump of my system. As what you can see, there is no dropping of packets received but only errors at the input level of the

Re: [Regarding Packet Error]

2008-07-10 Thread Mike Tancsa
At 10:27 AM 7/10/2008, Archimedes Gaviola wrote: Hi, I'm running a FreeBSD-6.2 RELEASE system on an Intel Gigabit copper NIC but when it receive packets, There have been a number of bug fixes to the intel nics since 6.2R. Can you at least update to 6.3R or RELENG_6 ? Also, check the stats

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 manual pages

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

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-10 Thread Paul
I tested Linux in bridge configuration with the same machine and it CPUed out at about 600kpps through the bridge.. That's a bit low :/ Soft interrupt using all the cpu. Same opteron , 82571EB Pci express NIC. Tried SMP/ non-smp , load balanced irqs, etc.. Good news is using iptables

Re: [Regarding Packet Error]

2008-07-10 Thread Artis Caune
On Thu, Jul 10, 2008 at 5:27 PM, Archimedes Gaviola [EMAIL PROTECTED] wrote: Hi, I'm running a FreeBSD-6.2 RELEASE system on an Intel Gigabit copper NIC but when it receive packets, I encounter some errors with netstat. Below is the netstat dump of my system. As what you can see, there is no