From owner-freebsd-net@FreeBSD.ORG Thu Mar 20 23:54:30 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 72415106566C for ; Thu, 20 Mar 2008 23:54:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by mx1.freebsd.org (Postfix) with ESMTP id 14B2A8FC1F for ; Thu, 20 Mar 2008 23:54:29 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1373267wxd.7 for ; Thu, 20 Mar 2008 16:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=y7l6G5xPgS3ZfgQ6hpf/jkt9b5ADGV3V0tpB7kAWNSU=; b=GCjPpprFx/va+2Oh+FvWdf/rR8L8MUpWcQVptOAoiZhCW8zQc0BbnTuFX8Xik7/dau0I/l3HhwZgs+THE+FI+IceRDgC6VFg8ueC0m1bO2xz/fxlP7XzDLDoD6eSJqFDs3GB+T1xqSwUpLg+RRIWxqyTm7wy+oDL7o9Pv+oWmnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=PdzgIBkddAEkSFVgFwrEtz8IrZictaZqzdcMoUIU20jjl42yfRRLNjh4JmtHu0wla2CpgCo9P18HoonuDS/jOSI+SA+vKXM8RBKRBoq79LtL5jMi99yuvpefYIKqFs1I0UN42FCfgkHbR6RdACVpoM/sfA8VuQV3/Y0qP3c7TUA= Received: by 10.142.47.6 with SMTP id u6mr1949805wfu.29.1206057268526; Thu, 20 Mar 2008 16:54:28 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 20sm4998718wfi.14.2008.03.20.16.54.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Mar 2008 16:54:27 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m2KNsMV7070816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Mar 2008 08:54:22 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m2KNsKH1070815; Fri, 21 Mar 2008 08:54:20 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 21 Mar 2008 08:54:20 +0900 From: Pyun YongHyeon To: Giulio Ferro Message-ID: <20080320235420.GA70708@cdnetworks.co.kr> References: <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> <47E298BD.7050807@zirakzigil.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47E298BD.7050807@zirakzigil.org> User-Agent: Mutt/1.4.2.1i 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 Reply-To: pyunyh@gmail.com 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 23:54:30 -0000 On Thu, Mar 20, 2008 at 06:02:53PM +0100, Giulio Ferro wrote: > 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=41 ttl=64 time=0.181 ms > > > > It would be great if you could understand why this happens... > Try set tunable hw.re.msi_disable and let me know how it goes. (Add hw.re.msi_disable="1" to /boot/loader.conf) -- Regards, Pyun YongHyeon