From owner-freebsd-current@FreeBSD.ORG Sat Mar 6 22:53:14 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34CC41065670 for ; Sat, 6 Mar 2010 22:53:14 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f183.google.com (mail-qy0-f183.google.com [209.85.221.183]) by mx1.freebsd.org (Postfix) with ESMTP id DCF538FC14 for ; Sat, 6 Mar 2010 22:53:13 +0000 (UTC) Received: by qyk14 with SMTP id 14so4171902qyk.9 for ; Sat, 06 Mar 2010 14:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:subject :message-id:reply-to:mime-version:content-type:content-disposition :user-agent; bh=+7Pp58PRiaqkKh8wkXn6245cRdDrNVdnz2tk+6P1G6Q=; b=uGOZWwUFj2/rdZS4dQ1bqClDJc58yhQRC+wpLtBkyNlQKP11GdJ0HzC48FGbY1rwyM PEVi+F42lSlmWgj4rIbPMvqbuslA9MtfShtJdmpS1sMf9mW6mkfhGmotdIyAmgk6cYX5 DZ8TU808QQOcJGlQwq9IbOtEhbLEMMzqjLVHI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:subject:message-id:reply-to:mime-version:content-type :content-disposition:user-agent; b=jmbtt9mBoYSy5S64x99fGiDXIESbhZHfI9uJbvrPayFnvNXOvnhoouvz4frTgiss2M LjrOKxZoBokwyQm7OghUHBB8OHu+v/tBrzDEGmJTkIXBk7pGyACYSmQwkdfv4WOxyFA2 lh3c1Bbdt5d58IbySUu6lQWMzMP0eZiboWhVM= Received: by 10.224.52.132 with SMTP id i4mr1452834qag.37.1267915982449; Sat, 06 Mar 2010 14:53:02 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm8244812qwd.14.2010.03.06.14.53.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 06 Mar 2010 14:53:01 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sat, 6 Mar 2010 14:52:48 -0800 From: Pyun YongHyeon Date: Sat, 6 Mar 2010 14:52:48 -0800 To: freebsd-current@FreeBSD.org Message-ID: <20100306225248.GA20677@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: CFT: msk(4) Rx checksum offloading support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2010 22:53:14 -0000 Finally I managed to understand how Rx checksum offloading works on Yukon II controllers. The patch at the following URL will add Rx checksum offloading support to msk(4) controllers. http://people.freebsd.org/~yongari/msk/msk.csum.patch The patch was generated against HEAD. Controllers(Yukon Extreme and Yukon FE+) which use more matured Rx checksum offloading does not need this patch. msk(4) already supported Rx checksum offloading for these controllers. This patch is for old Yukon controllers(Yukon EC, Yukon EC Ultra, Yukon FE and Yukon Ultra2). Due to known issues, Rx checksum offloading for Yukon XL was still disabled. I did not see much differences with/without Rx checksum offloading on my box but I guess it may show some differences on notebook systems. The patch also includes some diagnostic message like "Rx checksum value mismatch!" to detect possible hardware checksum logic failure so if you see this message please let me know. Thanks.