From owner-freebsd-net@FreeBSD.ORG Mon Mar 17 04:39:59 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 6FC2C1065672 for ; Mon, 17 Mar 2008 04:39:59 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.251]) by mx1.freebsd.org (Postfix) with ESMTP id 2BDE58FC1A for ; Mon, 17 Mar 2008 04:39:59 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so4382716hsc.11 for ; Sun, 16 Mar 2008 21:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=1TKxisf5a040/+/YtpYUv+M/8R8OLzHYUzAa+9GWm/s=; b=vyyWmj9pihLSUOI/GKDQLDjqkiz6TxJ+81U7DJf6YEW545RsqJ9dS2iCq6uZaVHtdc2e9dE2PvSi25Q/cvGcHgMmMgdEMGNGmuA3QmzWQg34QXhT0EqBNKiIadvuP5/q/8nslkJPEE77wHLhFAjcdb7DfQA8wB/duf9S0fLmYI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=fNXqPE7Ie77sTA5ExMMWhzKYxGU5JYUErktvKf8DL/bA7MpT++zrWxhv2Hz8sNwnIhk7wnycvzO1VK+1wIV209AaIPnE/anElvgsvzby9xo/diTAuYP0HrVN1Kuohg5T5sPGDFuggYizRD1YFbyJDWp7fHTgqcaVt0KyO4oqQeY= Received: by 10.100.119.17 with SMTP id r17mr31440965anc.42.1205728798145; Sun, 16 Mar 2008 21:39:58 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 67sm27727427wra.19.2008.03.16.21.39.55 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Mar 2008 21:39:56 -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 m2H4dlDa002549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Mar 2008 13:39:47 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m2H4djZH002548; Mon, 17 Mar 2008 13:39:45 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 17 Mar 2008 13:39:45 +0900 From: Pyun YongHyeon To: Giulio Ferro Message-ID: <20080317043945.GA2503@cdnetworks.co.kr> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47DA9BC0.8030205@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: Mon, 17 Mar 2008 04:39:59 -0000 On Fri, Mar 14, 2008 at 04:37:36PM +0100, Giulio Ferro wrote: > Pyun YongHyeon wrote: > >This hardware really make me crazy. There had been many attempts to > >fix checksum offload related issues. But it seems that several users > >still suffer from bad checksum or VLAN issues. So I guess the root > >cause of hardware bug was not yet known. This means that previous > >patch to work around hardware bug is not complete. > > > >Hmm, I'm not sure but it could be related with padding. What makes > >me wonder is why the first packet of fragmented packet does not > >show up on destination host. I guess the second packet of fragmented > >packet may be composed of single mbuf. From these information I > >will experiment possible combination of work around in next week. > >I'll let you know when I have a code. > > > > > Great! Thanks for the good job. > 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). -- Regards, Pyun YongHyeon