Date: Fri, 21 Mar 2014 20:18:08 -0300 From: Christopher Forgeron <csforgeron@gmail.com> To: shiu michael <mshiu612@gmail.com> Cc: FreeBSD Net <freebsd-net@freebsd.org>, Jack Vogel <jfvogel@gmail.com>, Markus Gebert <markus.gebert@hostpoint.ch> Subject: Re: 9.2 ixgbe tx queue hang (packets that exceed 65535bytes in length) Message-ID: <CAB2_NwAU%2BenhYHP7%2BvD5BFv=7ha%2Bs=qgVxN6x8SqfmesV1CcLw@mail.gmail.com> In-Reply-To: <CAOg8pzfpF73udQuV4K%2BbwcwnsMFQbGmHfA3Qu5nM-JJ_x60=iw@mail.gmail.com> References: <CAOg8pzfpF73udQuV4K%2BbwcwnsMFQbGmHfA3Qu5nM-JJ_x60=iw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mshiu612@gmail.com> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB2_NwAU%2BenhYHP7%2BvD5BFv=7ha%2Bs=qgVxN6x8SqfmesV1CcLw>