From owner-freebsd-net@FreeBSD.ORG Fri Nov 26 20:14:46 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 172F71065675 for ; Fri, 26 Nov 2010 20:14:46 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id DCE8B8FC13 for ; Fri, 26 Nov 2010 20:14:45 +0000 (UTC) Received: by pxi1 with SMTP id 1so459510pxi.13 for ; Fri, 26 Nov 2010 12:14:45 -0800 (PST) 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=Ueut+Y0/+7v6P/E3V4kqlDylQPm1uOtpwjtapUxlY9A=; b=Nk92BlltVRkG2Vfr9OQ6gazhHpONvEO7FfSJ3oxE3soR2IH0bYrPMJ1wWhEDrUki9U Es2EerWREpKStpZwJ+rjTVpW20Ar14t6UD29rJDu2y/WMfRX/Sb8b1K+wkDaOn1hzob/ UUvlAu4D6ud6MRd4ZJOMWvvVdZg7maEfklH6I= 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=k7G2jZFoYGGRRuDGuI6258Khh6kC3r0WNCqCRH++rIYdlhEiTQRrhYt2YjaRme6ufg c1HYXb6UNVxfSbjV+pFnqzEueH8JaDYapgnHJ3mV0qy1R8G1pa834luMB8K02cWSaFHK Sf9yaKq1sm7PCyIgNfp8IoTs1aBysI0HWGNzE= MIME-Version: 1.0 Received: by 10.142.100.13 with SMTP id x13mr2549497wfb.270.1290802485378; Fri, 26 Nov 2010 12:14:45 -0800 (PST) Received: by 10.142.51.9 with HTTP; Fri, 26 Nov 2010 12:14:45 -0800 (PST) In-Reply-To: References: <201011261037105152721@yahoo.com.cn> Date: Fri, 26 Nov 2010 12:14:45 -0800 Message-ID: From: Jack Vogel To: Ryan Stone Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: beezarliu , freebsd-net Subject: Re: 82599 receiving packets with vlan tag=0 (vlan strip problem)? 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, 26 Nov 2010 20:14:46 -0000 Hmmm, so you're saying the VP get's set when it shouldn't ? I'm not sure I follow the logic of how that would result in what he is seeing? I'm wondering if this might also have to do with a problem reported with IPv6 forwarding and vlans?? At least I can code this simply enough. Jack On Fri, Nov 26, 2010 at 4:48 AM, Ryan Stone wrote: > This one bit me hard several months ago. Your analysis is correct. > It's a hardware bug. The solution is to track in the driver whether > the VME bit is set for the given queue, and if it isn't, ignore the VP > bit. > > I meant to report this one to Jack but forgot, evidently. > > Ryan Stone >