From owner-freebsd-net@FreeBSD.ORG Thu Mar 27 12:23:54 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67F548EC; Thu, 27 Mar 2014 12:23:54 +0000 (UTC) Received: from mail-qg0-x22a.google.com (mail-qg0-x22a.google.com [IPv6:2607:f8b0:400d:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 04892A14; Thu, 27 Mar 2014 12:23:53 +0000 (UTC) Received: by mail-qg0-f42.google.com with SMTP id q107so2710231qgd.1 for ; Thu, 27 Mar 2014 05:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qiPMKOKB2htRhy6rthqOebVOOXumpe46T85jaGJwSG0=; b=gPtBiMBDW1WfKuqM3rCXFI0sEMv3roGZoTJbf278AZeJcSLzYW8k5Szt9rY51gEdwQ S482pr7T16ZaFI9UxLHTOeBZ2xQyvwnjtsA79vNgPUNwOeV0LfrEuICt496h2hfDpFnK WEADfCIUe7gukRVjlNRebB9rdoTSU61o6MJFWNpeoX2ZC8a7TwSJmY09k6b72gvwpbbf 9az9+T582RRntKknysJ3CAZcA0TbWS3iMgI62HZhJUNEZKCbgLwzqTacQTcWS9EM0ap6 w1Ki7QXW7e////ywBwsZgXwPKqtJoaW4XezLDjkleHOf17JApeR/TpA9HrvtxAeTslyo uhQQ== MIME-Version: 1.0 X-Received: by 10.140.34.46 with SMTP id k43mr1476914qgk.63.1395923033137; Thu, 27 Mar 2014 05:23:53 -0700 (PDT) Received: by 10.96.79.97 with HTTP; Thu, 27 Mar 2014 05:23:52 -0700 (PDT) In-Reply-To: <1380107288.1240335.1395880548644.JavaMail.root@uoguelph.ca> References: <1380107288.1240335.1395880548644.JavaMail.root@uoguelph.ca> Date: Thu, 27 Mar 2014 09:23:52 -0300 Message-ID: Subject: Re: 9.2 ixgbe tx queue hang From: Christopher Forgeron To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Net , Garrett Wollman , Andre Oppermann , Jack Vogel , Markus Gebert X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 12:23:54 -0000 On Wed, Mar 26, 2014 at 9:35 PM, Rick Macklem wrote: > > > I've suggested in the other thread what you suggested in a recent > post...ie. to change the default, at least until the propagation > of driver set values is resolved. > > rick > I wonder if we need to worry about propagating values up from the sub-if's - Setting the default in if.c means this is set for all if's, and it's a simple 1 line code change. If a specific 'if' needs a different value, it can be set before ether_attach() is called. I'm more concerned with the equation we use to calculate if_hw_tsomax - Are we considering the right variables? Are we thinking on the wrong OSI layer for headers?