From owner-freebsd-net@FreeBSD.ORG Fri Mar 21 23:18:09 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 54C9ECAC for ; Fri, 21 Mar 2014 23:18:09 +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 14B3BF10 for ; Fri, 21 Mar 2014 23:18:09 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id w8so3178632qac.27 for ; Fri, 21 Mar 2014 16:18:08 -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=bYu1FnZVM2XzVr48tOw4Jj5gx9dKrxSsOmr5MRjMP0g=; b=AghYiXs0ljszrLDounUmTGFGnb4+oVMAmoh6Z1gZ9UZ+n1wc1hTZ4IbiPAPtZp46SQ fqfoLvwXKTI76VyoojLiEFkOf2Kwf555weHr9BJe5lVNT85LLTxk1yu6jGLKPgWAs+8T LRvTUK/3OOV3lh+F5K72AekxG+NAO9hQVkWkqPl1q7pblZT4TRp3Nt8YlUdyylLHc7N9 WGl6QmT2RZ8YfTGpl7qybFTUHwsEui/TjFaHRy+0Zr1Tfep85GLyBBUlk3InriKmc++X Vn/vwewxQxF+JW1bGszonfarwfAHXws3hLurxEPALA2lzXd3AFdJWOAnr7BlXsngX7Xi Nkwg== MIME-Version: 1.0 X-Received: by 10.224.122.20 with SMTP id j20mr35854498qar.79.1395443888372; Fri, 21 Mar 2014 16:18:08 -0700 (PDT) Received: by 10.96.79.97 with HTTP; Fri, 21 Mar 2014 16:18:08 -0700 (PDT) In-Reply-To: References: Date: Fri, 21 Mar 2014 20:18:08 -0300 Message-ID: Subject: Re: 9.2 ixgbe tx queue hang (packets that exceed 65535bytes in length) From: Christopher Forgeron To: shiu michael Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Net , 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: Fri, 21 Mar 2014 23:18:09 -0000 Good point - I'm printing where Rick asked, in the 'before' printf statement, which comes before the m = m_defrag(*m_headp, M_NOWAIT); command in ixgbe_xmit I'm going to be adding more printf's to the code to see if I can find anything interesting, your suggestions would be welcome. ..and I suppose there is no such thing as Unit Tests for the FreeBSD Kernel? On Fri, Mar 21, 2014 at 8:06 PM, shiu michael wrote: > >Ok, so this isn't a TSO segment then, unless I don't understand how > >the csum flags are used, which is quite possible. > >Assuming that you printed this out in decimal: > >4116->0x1014 > >Looking in mbuf.h, 0x1014 is > >CSUM_SCTP_VALID | CSUM_FRAGMENT | CSUM_UDP > > > >alternately, if 4116 is hex, then it is: > >CSUM_TCP_IPV6 | CSUM_IP_CHECKED | CSUM_FRAGMENT | CSUM_UDP > > > >either way, it doesn't appear to be a TCP TSO? > >(But you said that disabling TSO fixed the problem, so colour me > >confused by this.;-) > > Maybe Christopher is printing the csum from the last mbuf chain ?? > > Just 2 cents, > Mike >