From owner-cvs-all@FreeBSD.ORG Sat Apr 14 02:39:34 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 351F216A402; Sat, 14 Apr 2007 02:39:34 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 235F113C45B; Sat, 14 Apr 2007 02:39:34 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3E2dYcV022370; Sat, 14 Apr 2007 02:39:34 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3E2dXKS022369; Sat, 14 Apr 2007 02:39:33 GMT (envelope-from yongari) Message-Id: <200704140239.l3E2dXKS022369@repoman.freebsd.org> From: Pyun YongHyeon Date: Sat, 14 Apr 2007 02:39:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/msk if_msk.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 02:39:34 -0000 yongari 2007-04-14 02:39:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/msk if_msk.c Log: MFC if_msk.c, rev. 1.13 to RELENG_6 Add work around for hardware Tx checksum offload bug in Yukon II. Yukon II generated corrupted TCP checksum for short TCP packets that's less than 60 bytes in size(e.g. window probe packet, pure ACK packet etc). Padding the frame with zeros to make the frame minimum ethernet frame size didn't work at all. Instead of dropping Tx checksum offload support we calculate TCP checksum with S/W method when we encounter short TCP frames. Fortunately it seems that short UDP datagrams appear to be handled correctly by Yukon II. While I'm here simplify ethernet/VLAN header size calculation logic. PR: 111384 Revision Changes Path 1.11.2.4 +25 -5 src/sys/dev/msk/if_msk.c