From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 19 16:32:20 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 47D911065673 for ; Mon, 19 Sep 2011 16:32:20 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id E35908FC13 for ; Mon, 19 Sep 2011 16:32:19 +0000 (UTC) Received: (qmail 23976 invoked by uid 0); 19 Sep 2011 16:32:18 -0000 Received: from 67.206.187.119 by rms-us018 with HTTP Content-Type: text/plain; charset="utf-8" Date: Mon, 19 Sep 2011 12:32:14 -0400 From: "Dieter BSD" Message-ID: <20110919163215.212610@gmx.com> MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Authenticated: #74169980 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: vVdPezEgyH6nIQ7MAzNLbxBPUzc4chEg Subject: Re: checksum offload X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 16:32:20 -0000 >>> 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? >> >> The first question is "is checksum offload a good idea?" >> There is less protection against errors. > > This assumes firmware flaws, right? Albeit, it also does confuse some > software like tcpdump. "Unfortunately lots of high performance people use checksum offload which removes much of the end to end protection"      Alan Cox http://kerneltrap.org/Linux/Data_Errors_During_Drive_Communication Bugs in the hardware/firmware/software are not required to have a problem, but if present would make things even worse.