From owner-freebsd-net@FreeBSD.ORG Wed Mar 26 02:33:45 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 CBBFD8DC; Wed, 26 Mar 2014 02:33:45 +0000 (UTC) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 778CF99B; Wed, 26 Mar 2014 02:33:45 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id w8so1577432qac.41 for ; Tue, 25 Mar 2014 19:33:44 -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=juyjoZ86NPKVOIjrqUMBmJq1TAe2MaY7et12J+Itkos=; b=DZMtXb+c4cC+B1yukf5juzj0lYK+O/VPflY6rv27Z3T/sBpzdSDUSXgF37Kw2wW27z v2rlqjowRPJINzl8wsjNRlOZMmm1hpnEuAMGLjVDd6Xp/DU4sm94/dt3zn34+0JdpAJ6 8C5H6zywBM1KJBC+KuwzzBjrymZnJcIKIO7YAFSIWCGKVzHhLJlSATsxqDPVpfDzx722 ljUKGFELkjSunBYMnSwrr51iGvIAom1WK8W4+xMUByPWsWc8Aeo8anTZhGWJmKu0Eejs gUFyeDWxLfmtwOVpYe2H9HvfIRIAYr7iNN6mziSqZmEtxIIkVNbH9eaRjbHQru++E0lM i3BA== MIME-Version: 1.0 X-Received: by 10.140.82.175 with SMTP id h44mr3463033qgd.65.1395801224728; Tue, 25 Mar 2014 19:33:44 -0700 (PDT) Received: by 10.96.79.97 with HTTP; Tue, 25 Mar 2014 19:33:44 -0700 (PDT) In-Reply-To: <1197F2E5-F20C-43E4-B8C8-8732F45457C2@hostpoint.ch> References: <0BC10908-2081-45AC-A1C8-14220D81EC0A@hostpoint.ch> <1236110257.2510701.1395709458870.JavaMail.root@uoguelph.ca> <1197F2E5-F20C-43E4-B8C8-8732F45457C2@hostpoint.ch> Date: Tue, 25 Mar 2014 23:33:44 -0300 Message-ID: Subject: Re: 9.2 ixgbe tx queue hang From: Christopher Forgeron To: Markus Gebert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Net , Rick Macklem , Garrett Wollman , Jack Vogel 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: Wed, 26 Mar 2014 02:33:46 -0000 On Tue, Mar 25, 2014 at 8:21 PM, Markus Gebert wrote: > > > Is 65517 correct? With Ricks patch, I get this: > > dev.ix.0.hw_tsomax: 65518 > Perhaps a difference between 9.2 and 10 for one of the macros? My code is: ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); printf("CSF - 3 Init, ifp->if_hw_tsomax = %d\n", ifp->if_hw_tsomax); (BTW, you should submit the hw_tsomax sysctl patch, that's useful to others) > Also the dtrace command you used excludes 65518... > Oh, I thought it was giving every packet that is greater than or equal to 65518 - Could you show me the proper command? That's the third time I've used dtrace, so I'm making this up as I go. :-)