From owner-freebsd-net@FreeBSD.ORG Thu Mar 20 17:03:25 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1482D106566B for ; Thu, 20 Mar 2008 17:03:25 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from aurynhome1sv1.zirakzigil.org (mail.zirakzigil.org [82.63.178.63]) by mx1.freebsd.org (Postfix) with SMTP id 3DE6D8FC15 for ; Thu, 20 Mar 2008 17:03:18 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: (qmail 44057 invoked by uid 98); 20 Mar 2008 17:03:04 -0000 Received: from 89.96.52.22 by aurynhome1sv1.zirakzigil.org (envelope-from , uid 89) with qmail-scanner-1.25 ( Clear:RC:0(89.96.52.22):. Processed in 0.136912 secs); 20 Mar 2008 17:03:04 -0000 X-Qmail-Scanner-Mail-From: auryn@zirakzigil.org via aurynhome1sv1.zirakzigil.org X-Qmail-Scanner: 1.25 (Clear:RC:0(89.96.52.22):. Processed in 0.136912 secs) Received: from unknown (HELO aurynmob2.giulioferro.it) (auryn@zirakzigil.org@89.96.52.22) by 0 with SMTP; 20 Mar 2008 17:03:04 -0000 Message-ID: <47E298BD.7050807@zirakzigil.org> Date: Thu, 20 Mar 2008 18:02:53 +0100 From: Giulio Ferro User-Agent: Thunderbird 2.0.0.5 (X11/20070724) MIME-Version: 1.0 To: pyunyh@gmail.com References: <47D817D2.9010306@errno.com> <47D8499A.5070605@zirakzigil.org> <20080313033029.GF16972@cdnetworks.co.kr> <47D92F9D.4070701@zirakzigil.org> <20080314001704.GA22788@cdnetworks.co.kr> <47DA4DCD.6050304@zirakzigil.org> <20080314101555.GF22788@cdnetworks.co.kr> <47DA682E.9010504@zirakzigil.org> <20080314122708.GG22788@cdnetworks.co.kr> <47DA9BC0.8030205@zirakzigil.org> <20080317043945.GA2503@cdnetworks.co.kr> In-Reply-To: <20080317043945.GA2503@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrew Thompson , freebsd-net@freebsd.org Subject: Re: VLAN trunking and fragmentation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 17:03:25 -0000 Pyun YongHyeon wrote: > Please try latest attempt to fix re(4) issues. > http://people.freebsd.org/~yongari/re/if_re.c > http://people.freebsd.org/~yongari/re/if_rlreg.h > > This one is attempt to fix the following bug reports on re(4). > - VLAN tagging does not work on multi-fragmented frames. > - Non-working/instability on re(4) hardwares that uses MSI. > - Unconditional VLAN tag stripping without respect to ifconfig > configuration. > - ENOBUFS on transmitting UDP frames under heavy network loads. > - DAC does not work. > > This one removed previous checksum offload hack for checksum offload > on PCIe hardwares so I'm not sure checksum offload still work on > PCIe hardwares. Please test and let me know how it goes. > Also make sure you have all hardware features enabled.(checksum > offload, TSO, VLAN hardware tagging etc). > > Sorry for the slow answer. I've tried the new files, and they seem to work: # ifconfig re0 re0: flags=8843 metric 0 mtu 1500 options=19b ether 00:14:c1:40:c2:e8 inet 192.168.60.1 netmask 0xffffff00 broadcast 192.168.60.255 media: Ethernet autoselect (1000baseTX ) status: active The only problem I see now is the one I already mention in the last mail. There are slow packets in the stream of the communication: # ping -s 2000 192.168.100.2 PING 192.168.100.2 (192.168.100.2): 2000 data bytes 2008 bytes from 192.168.100.2: icmp_seq=0 ttl=64 time=0.264 ms 2008 bytes from 192.168.100.2: icmp_seq=1 ttl=64 time=1001.186 ms 2008 bytes from 192.168.100.2: icmp_seq=2 ttl=64 time=0.235 ms 2008 bytes from 192.168.100.2: icmp_seq=3 ttl=64 time=0.187 ms 2008 bytes from 192.168.100.2: icmp_seq=4 ttl=64 time=0.189 ms 2008 bytes from 192.168.100.2: icmp_seq=5 ttl=64 time=2002.172 ms 2008 bytes from 192.168.100.2: icmp_seq=6 ttl=64 time=1001.182 ms 2008 bytes from 192.168.100.2: icmp_seq=7 ttl=64 time=2002.178 ms 2008 bytes from 192.168.100.2: icmp_seq=8 ttl=64 time=1001.186 ms 2008 bytes from 192.168.100.2: icmp_seq=9 ttl=64 time=1001.174 ms 2008 bytes from 192.168.100.2: icmp_seq=10 ttl=64 time=0.179 ms 2008 bytes from 192.168.100.2: icmp_seq=11 ttl=64 time=1001.172 ms 2008 bytes from 192.168.100.2: icmp_seq=12 ttl=64 time=0.180 ms 2008 bytes from 192.168.100.2: icmp_seq=13 ttl=64 time=1001.188 ms 2008 bytes from 192.168.100.2: icmp_seq=14 ttl=64 time=0.244 ms 2008 bytes from 192.168.100.2: icmp_seq=15 ttl=64 time=0.188 ms 2008 bytes from 192.168.100.2: icmp_seq=16 ttl=64 time=0.184 ms 2008 bytes from 192.168.100.2: icmp_seq=17 ttl=64 time=1001.173 ms 2008 bytes from 192.168.100.2: icmp_seq=18 ttl=64 time=0.180 ms 2008 bytes from 192.168.100.2: icmp_seq=19 ttl=64 time=0.188 ms 2008 bytes from 192.168.100.2: icmp_seq=20 ttl=64 time=0.185 ms 2008 bytes from 192.168.100.2: icmp_seq=21 ttl=64 time=0.186 ms 2008 bytes from 192.168.100.2: icmp_seq=22 ttl=64 time=2002.174 ms 2008 bytes from 192.168.100.2: icmp_seq=23 ttl=64 time=1001.182 ms 2008 bytes from 192.168.100.2: icmp_seq=24 ttl=64 time=1001.178 ms 2008 bytes from 192.168.100.2: icmp_seq=25 ttl=64 time=0.185 ms 2008 bytes from 192.168.100.2: icmp_seq=26 ttl=64 time=0.176 ms 2008 bytes from 192.168.100.2: icmp_seq=27 ttl=64 time=0.189 ms 2008 bytes from 192.168.100.2: icmp_seq=28 ttl=64 time=0.176 ms 2008 bytes from 192.168.100.2: icmp_seq=29 ttl=64 time=0.190 ms 2008 bytes from 192.168.100.2: icmp_seq=30 ttl=64 time=0.188 ms 2008 bytes from 192.168.100.2: icmp_seq=31 ttl=64 time=0.187 ms 2008 bytes from 192.168.100.2: icmp_seq=32 ttl=64 time=0.188 ms 2008 bytes from 192.168.100.2: icmp_seq=33 ttl=64 time=1001.186 ms 2008 bytes from 192.168.100.2: icmp_seq=34 ttl=64 time=0.234 ms 2008 bytes from 192.168.100.2: icmp_seq=35 ttl=64 time=0.187 ms 2008 bytes from 192.168.100.2: icmp_seq=36 ttl=64 time=0.189 ms 2008 bytes from 192.168.100.2: icmp_seq=37 ttl=64 time=1001.183 ms 2008 bytes from 192.168.100.2: icmp_seq=38 ttl=64 time=0.232 ms 2008 bytes from 192.168.100.2: icmp_seq=39 ttl=64 time=0.187 ms 2008 bytes from 192.168.100.2: icmp_seq=40 ttl=64 time=1001.174 ms 2008 bytes from 192.168.100.2: icmp_seq=41 ttl=64 time=0.181 ms It would be great if you could understand why this happens... Thanks again.