From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 17 20:57:33 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EA801065677 for ; Sat, 17 Sep 2011 20:57:33 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id D8EBC8FC1F for ; Sat, 17 Sep 2011 20:57:32 +0000 (UTC) Received: by pzk33 with SMTP id 33so9697343pzk.4 for ; Sat, 17 Sep 2011 13:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=x4Fu8EatruGKfPX8Pd2b0ThWmujRFVRJ3V9jiosw7p8=; b=BeyZeLYhKA+8+u7cejXUpDsRkUvPxFhe944+fRH+3lVxpE0nEs43932aXd/D+QhgAJ 2KAL7drlgtGcsvEw9f/URtVrwKgs/8TLhxNF3DbtYQo/cC+fwttwKyHyGnvBpHxLRB89 342a21YhAc2zXfSPBwBGSF/1jrHhwdv1WjFiU= Received: by 10.68.50.1 with SMTP id y1mr1362167pbn.495.1316291538602; Sat, 17 Sep 2011 13:32:18 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id i8sm26182165pbl.2.2011.09.17.13.32.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 17 Sep 2011 13:32:17 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sat, 17 Sep 2011 13:32:18 -0700 From: YongHyeon PYUN Date: Sat, 17 Sep 2011 13:32:18 -0700 To: Hooman Fazaeli Message-ID: <20110917203218.GC13993@michelle.cdnetworks.com> References: <4E744BCE.7060302@sepehrs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E744BCE.7060302@sepehrs.com> User-Agent: Mutt/1.4.2.3i Cc: jfv@FreeBSD.org, freebsd-hackers@freebsd.org Subject: Re: intel checksum offload X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 20:57:33 -0000 On Sat, Sep 17, 2011 at 11:57:10AM +0430, Hooman Fazaeli wrote: > Hi list, > > The data sheet for intel 82576 advertises IP TX/RX checksum offload > but the driver does not set CSUM_IP in ifp->if_hwassist. Does this mean that > driver (and chip) do not support IP TX checksum offload or the support for > TX is not yet included in the driver? After reading this mail, I checked em(4)/lem(4) code and noticed these drivers removed CSUM_IP capability as well. igb(4) didn't support CSUM_IP from day 1 but em(4)/lem(4) used to take advantage of IP checksum offloading capability. Given that these drivers share many code with Linux, Jack may know the details and why IP checksum offloading code was removed. Note, Linux does not use IP checksum offloading so I guess this could be oversight in shared code. BTW, hackers may not be right ML to post this kind of post. CCed to jfv@, the driver maintainer.