From owner-freebsd-net@FreeBSD.ORG  Fri Jan 13 23:04:58 2012
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
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 7C5D7106564A
	for <freebsd-net@freebsd.org>; Fri, 13 Jan 2012 23:04:58 +0000 (UTC)
	(envelope-from jfvogel@gmail.com)
Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50])
	by mx1.freebsd.org (Postfix) with ESMTP id 0BE368FC17
	for <freebsd-net@freebsd.org>; Fri, 13 Jan 2012 23:04:57 +0000 (UTC)
Received: by wgbgn7 with SMTP id gn7so125044wgb.31
	for <freebsd-net@freebsd.org>; Fri, 13 Jan 2012 15:04:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=bbO+tyOeSPqMN8u5F88G/U/bbl55UI0fEcf11ZL4b18=;
	b=Qfu5alu7q3fhljltFqp7Y5RSi7OfeI4HUHxUvwdSaCXVfuzFvbVRWTASyeagfe4vD+
	HQePyGwj/55YJ9tNTGEWMYunVeE23CGVimdu9teKH6tXCyN/qba3IrfxjJWPVhcp+uAU
	mghQkJlU1wRgTEiRwaxegXAFahOhv21uuFRtQ=
MIME-Version: 1.0
Received: by 10.180.83.104 with SMTP id p8mr68410wiy.4.1326495896725; Fri, 13
	Jan 2012 15:04:56 -0800 (PST)
Received: by 10.180.84.66 with HTTP; Fri, 13 Jan 2012 15:04:56 -0800 (PST)
In-Reply-To: <10A2858D-8DA8-45C4-B9A6-00CFA172404F@averesystems.com>
References: <10A2858D-8DA8-45C4-B9A6-00CFA172404F@averesystems.com>
Date: Fri, 13 Jan 2012 15:04:56 -0800
Message-ID: <CAFOYbc=ANdsMGXNGvjmkr=ecKVUQhFDDiK0+vga_XB7m0JyB3Q@mail.gmail.com>
From: Jack Vogel <jfvogel@gmail.com>
To: Andrew Boyer <aboyer@averesystems.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: freebsd-net@freebsd.org, Ryan Stone <rysto32@gmail.com>,
	Jack Vogel <jack.vogel@intel.com>
Subject: Re: Bad interaction between 82599 hardware RSC and VLANs
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jan 2012 23:04:58 -0000

Hey Andrew,

Not heard of this before, but I'll check around.

Jack


On Fri, Jan 13, 2012 at 3:01 PM, Andrew Boyer <aboyer@averesystems.com>wrote:

> Hello Jack,
> I'm seeing an issue on 82599 controllers.  When hardware RSC is used,
> large VLAN packets arrive without the VP bit set, even though the vtag in
> the descriptor is correct.  It totally kills the receive performance.
>  Turning off hardware RSC in the driver (falling back to software LRO)
> works fine, as does turning off LRO entirely.
>
> I've worked around the problem for now by overriding the VP bit if
> ixgbe_rxeof() finds a valid vtag in the descriptor.
>
> Have you seen this before?
>
> It's not in the latest errata.  It almost seems to be the opposite of what
> Ryan reported in November 2010 ("82599 receiving packets with vlan tag=0
> (vlan strip problem)?").
>
> Thanks,
>  Andrew
>
> --------------------------------------------------
> Andrew Boyer    aboyer@averesystems.com
>
>
>
>
> _______________________________________________
> 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"
>