From owner-freebsd-net@FreeBSD.ORG Fri Aug 6 17:21:00 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5030106564A for ; Fri, 6 Aug 2010 17:21:00 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 31D7C8FC1D for ; Fri, 6 Aug 2010 17:20:59 +0000 (UTC) Received: by wyj26 with SMTP id 26so9951706wyj.13 for ; Fri, 06 Aug 2010 10:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=VuBpEC3A+HDf9nlrCvvy9Ys/KokpOUEh+hRU4GGgFvM=; b=xGWMb/Hsd8wyemd6N0Gk6N98DJfSjefKDAUGGCLcZeuxgP1/fTVBKvcJz7HksthhBF 7SuLxZdAlG880FlcMUpB5eWsk0LXQKd3Bj5tsec0tW5/WeJv9xX5nWoKRebql+SATN9v BjBUlexClRI+aTgumzyDhpGrwI19I0xGsY3/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Zbw3GakbMbt3+SJWeVGvxNUBTb9JWIQD9skdsqkGW2dFcKwTqHEDs8/sN7HM8WRDz7 jnPe17Wi2lNiDwVwtUDKD/4VDQ+KVx+FSRZQ95+rRFMeVeeYtiOU+0BCIQ53uZn8RIZN DXtKajGOgHssWOppZnWdM2xsOEzLM9zvdKnYk= MIME-Version: 1.0 Received: by 10.216.90.3 with SMTP id d3mr10924635wef.99.1281115259185; Fri, 06 Aug 2010 10:20:59 -0700 (PDT) Received: by 10.216.48.6 with HTTP; Fri, 6 Aug 2010 10:20:58 -0700 (PDT) In-Reply-To: <201008061903.25659.pebu3op@googlemail.com> References: <201008061903.25659.pebu3op@googlemail.com> Date: Fri, 6 Aug 2010 10:20:58 -0700 Message-ID: From: Jack Vogel To: pebu3op@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: problem with 82599 controller X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 06 Aug 2010 17:21:00 -0000 What is the exact PCI ID of your adapter (pciconf -l)? How is it configured, on what kind of hardware, how many queues does it have, etc, etc? Jack On Fri, Aug 6, 2010 at 10:03 AM, Alexander Fiveg wrote: > Hello, > > the following problem I've faced while working with 82599-controller (ixgbe > driver): > > - During packet capturing, after the number of received packets exceeds all > allocated descriptors (ixgbe_rxd * ixgbe_num_queues), the next new incoming > packets will be sometimes DMA'ed into the RAM incorrectly. > > Output from my tcpdump session: > > % tcpdump -i ix1 > ... > 15:36:54.970343 IP 10.0.0.2.discard > 12.0.0.160.2200: UDP, length 58 > 15:36:55.070357 IP 10.0.0.2.discard > 12.0.0.161.2200: UDP, length 58 > 15:36:55.170373 c7:49:54:a8:00:0c (oui Unknown) > 35:c5:66:d7:df:e8 (oui > Unknown), ethertype Unknown (0xd53b), length 100: > 0x0000: 4d98 ed85 7537 3b6b 3b8f 7102 4b1c 2cd4 M...u7;k;.q.K.,. > 0x0010: 41a8 2f3d 4faa fc8a a039 0fe2 5960 fad5 A./=O....9..Y`.. > 0x0020: c8b0 964b b0e0 2213 6aa2 330c ef93 80a9 ...K..".j.3..... > 0x0030: 6ac8 071b a9bd 0d51 ecca 94ba ac9c 873b j......Q.......; > 0x0040: a83f aeb0 20f4 cfd9 d1fa 93f3 795c 7d20 .?..........y\}. > 0x0050: 2993 ). > 15:36:55.270388 IP 10.0.0.2.discard > 12.0.0.163.2200: UDP, length 58 > ... > > For packets generating I am using Linux kernel packet generator. The > receive- > and send-interfaces are connected directly (without any hops in the > middle). > By the each new generated packet the destination-IP-address will be > incremented, so I can proof the correctness of received traffic. This > error > appears in both -STABLE and -CURRENT > > I guess it is not a software bug and I would like to check out whether the > controller is in order. > > Are there any test setups for 8259x controllers that I could use ? > > Thanks, > Alex > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >