From owner-freebsd-net@FreeBSD.ORG Sat Jun 21 00:21:52 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 F0F331065675 for ; Sat, 21 Jun 2008 00:21:52 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB0B8FC1A for ; Sat, 21 Jun 2008 00:21:52 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so655010pyb.10 for ; Fri, 20 Jun 2008 17:21:51 -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=VdekgYY/fwXd7QdWrlPvi/PVWqf5kqelGZcovoFnrnw=; b=Nx/q+duRtNssjoa+uLzvcGZJjOoy3AdMEHiLeQ1vvcvGeX4/hcaGem5Fb6+S8OwNQK iRcm3NkUEubkECsGqTw+u2/AfNX9CmeIrviiYt53ek6ue6neJrL3kFvFUg8mwp994xXv LUzhBmtM25qiGIQkz/jF0os63qDHVJTUjS6Pg= 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=bAClnuAIhwaZLbAqEs5p8wo06s7JYrd9WzyD1Q6bTtysFL6ZKDCIn1Opnue6qNb9ov /YbVIMX4m9EcG0LGnaK+q2rGFAD9zRtFj4slMAtIX1PNdxSONhU2E0Pqol43+eqHZ+ow mwWahlBskGJeNM+V5WfrjjjMDVHHVnWWbRyB8= Received: by 10.140.164.6 with SMTP id m6mr8408638rve.210.1214007711164; Fri, 20 Jun 2008 17:21:51 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id f42sm4414505rvb.5.2008.06.20.17.21.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Jun 2008 17:21:50 -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 m5L0JgIS044293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Jun 2008 09:19:42 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m5L0Je0D044292; Sat, 21 Jun 2008 09:19:40 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 21 Jun 2008 09:19:40 +0900 From: Pyun YongHyeon To: Peter Kirk Message-ID: <20080621001940.GD44099@cdnetworks.co.kr> References: <200806201046.05530.peter@teamspeak-systems.de> <200806201133.28357.peter@teamspeak-systems.de> <485B7A88.9080301@yandex.ru> <200806201154.56281.peter@teamspeak-systems.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200806201154.56281.peter@teamspeak-systems.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org, "Andrey V. Elsukov" Subject: Re: UDP checksum invalid on FreeBSD7/x86 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: Sat, 21 Jun 2008 00:21:53 -0000 On Fri, Jun 20, 2008 at 11:54:55AM +0200, Peter Kirk wrote: > On Friday 20 June 2008 11:38:16 Andrey V. Elsukov wrote: > > Peter Kirk wrote: > > >> Can you show `ifconfig -u` output? > > > > > > re0: flags=8843 metric 0 mtu 1500 > > > options=9b > > > > It's problem in re(4) driver. > > Try to use `ifconfig re0 -rxcsum -txcsum`. You can add these > > parameters to your rc.conf. > > In /etc/rc.conf I changed the line > ifconfig_re0="inet 192.168.1.13 netmask 255.255.255.0" > to > ifconfig_re0="-rxcsum -txcsum inet 192.168.1.13 netmask 255.255.255.0" > > Now the problem no longer appears, even with "net.inet.udp.checksum=1". Thanks > for answering this so promptly, hopefuly the re(4) driver can be fixed to > avoid this kind of problem (or the -rxcsum -txcsum added automatically for > this card). Try re(4) on 7-stable and let me know how it goes. Most checksum offload and bus_dma(9) related issues were fixed in 7-stable. -- Regards, Pyun YongHyeon