From aryeh@flosoft.no-ip.biz  Sat Mar 29 05:38:29 2008
Return-Path: <aryeh@flosoft.no-ip.biz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 99AC31065671
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 05:38:29 +0000 (UTC)
	(envelope-from aryeh@flosoft.no-ip.biz)
Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.4.199])
	by mx1.freebsd.org (Postfix) with ESMTP id 710F78FC1A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 05:38:29 +0000 (UTC)
	(envelope-from aryeh@flosoft.no-ip.biz)
Received: from flosoft.no-ip.biz
 (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta4.srv.hcvlny.cv.net
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTP id <0JYH00KDZ902A1Z0@mta4.srv.hcvlny.cv.net> for
 FreeBSD-gnats-submit@freebsd.org; Sat, 29 Mar 2008 01:38:28 -0400 (EDT)
Received: from flosoft.no-ip.biz (localhost [127.0.0.1])
	by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m2T5cQ3M028885	for
 <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 01:38:26 -0400
Received: (from aryeh@localhost)	by flosoft.no-ip.biz (8.14.2/8.14.2/Submit)
 id m2T5cLUo028884; Sat, 29 Mar 2008 01:38:21 -0400 (EDT envelope-from aryeh)
Message-Id: <200803290538.m2T5cLUo028884@flosoft.no-ip.biz>
Date: Sat, 29 Mar 2008 01:38:21 -0400 (EDT)
From: "Aryeh M. Friedman" <aryeh@flosoft.no-ip.biz>
Reply-To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: re(4) requires -txcsum and -rxcsum on 8-CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         122221
>Category:       kern
>Synopsis:       [re] re(4) requires -txcsum and -rxcsum on 8-CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 29 05:40:05 UTC 2008
>Closed-Date:    Mon Mar 31 04:35:35 UTC 2008
>Last-Modified:  Mon Mar 31 04:35:35 UTC 2008
>Originator:     Aryeh M. Friedman
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
FloSoft Systems
>Environment:
System: FreeBSD flosoft.no-ip.biz 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Mar 28 17:10:34 EDT 2008 root@flosoft.no-ip.biz:/usr/obj/usr/src/sys/MONSTER amd64


>Description:
After working for a while (since august with patchs and since dec with
base install) re(4) on 

re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 17 at device 0.0 on pci4
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:19:db:b5:f8:0f

Requires -txcsum and -rxcsum to be set.  Failure to do so leads to very
poor performence and/or completelyl failure to connect to certain machines
and/or stall of download at 0 bytes.

>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->yongari 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sat Mar 29 13:55:39 UTC 2008 
Responsible-Changed-Why:  
Hey my friend, can you please have a look at this? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122221 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/122221: commit references a PR
Date: Mon, 31 Mar 2008 04:03:24 +0000 (UTC)

 yongari     2008-03-31 04:03:14 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/re           if_re.c 
     sys/pci              if_rlreg.h 
   Log:
   Padding more bytes than necessary one broke another variants of
   PCIe RealTek chips. Only pad IP packets if the payload is less than
   28 bytes.
   
   Obtained from:  NetBSD
   PR:             kern/122221
   
   Revision  Changes    Path
   1.113     +1 -1      src/sys/dev/re/if_re.c
   1.74      +6 -0      src/sys/pci/if_rlreg.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: yongari 
State-Changed-When: Mon Mar 31 04:34:59 UTC 2008 
State-Changed-Why:  
Submitter confirms that patch committed to HEAD fixed this issue. 
Thank you for reporting and testing! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122221 
>Unformatted:
