From owner-freebsd-net@FreeBSD.ORG Mon Mar 24 17:04:18 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45292888; Mon, 24 Mar 2014 17:04:18 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB86FD99; Mon, 24 Mar 2014 17:04:17 +0000 (UTC) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.8/8.14.8) with ESMTP id s2OGsCbu008184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 24 Mar 2014 09:54:13 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <5330632E.3050505@freebsd.org> Date: Mon, 24 Mar 2014 09:54:06 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Rick Macklem , Christopher Forgeron Subject: Re: 9.2 ixgbe tx queue hang References: <1936201708.1670348.1395619029045.JavaMail.root@uoguelph.ca> In-Reply-To: <1936201708.1670348.1395619029045.JavaMail.root@uoguelph.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Net , Garrett Wollman , 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: Mon, 24 Mar 2014 17:04:18 -0000 On 3/23/14, 4:57 PM, Rick Macklem wrote: > Christopher Forgeron wrote: >> >> >> >> >> >> On Sat, Mar 22, 2014 at 6:41 PM, Rick Macklem < rmacklem@uoguelph.ca >>> wrote: >> >> >> Christopher Forgeron wrote: >>> #if defined(INET) || defined(INET6) >>> /* Initialize to max value. */ >>> if (ifp->if_hw_tsomax == 0) >>> ifp->if_hw_tsomax = IP_MAXPACKET; >>> KASSERT(ifp->if_hw_tsomax <= IP_MAXPACKET && >>> ifp->if_hw_tsomax >= IP_MAXPACKET / 8, >>> ("%s: tsomax outside of range", __func__)); >>> #endif >>> >>> >>> Should this be the location where it's being set rather than in >>> ixgbe? I would assume that other drivers could fall prey to this >>> issue. >>> >> All of this should be prepended with "I'm an NFS guy, not a >> networking >> guy, so I might be wrong". >> >> Other drivers (and ixgbe for the 82598 chip) can handle a packet that >> is in more than 32 mbufs. (I think the 82598 handles 100, grep for >> SCATTER >> in *.h in sys/dev/ixgbe.) >> the Xen backend can not handle mor ethan 32 segments in some versions of Xen.