From owner-freebsd-net@FreeBSD.ORG Fri Nov 26 12:48:26 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 B82001065670 for ; Fri, 26 Nov 2010 12:48:26 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2198FC14 for ; Fri, 26 Nov 2010 12:48:25 +0000 (UTC) Received: by eyb7 with SMTP id 7so936706eyb.13 for ; Fri, 26 Nov 2010 04:48:25 -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=D9vbNcJyj8xf6QSMIGCPro9qMRvS9oCRDgD6so0GDW4=; b=cPyuTTIsuQH4MDsKenzKLv517SmBVNN7KdIF3kXIL/S2V6XsxmzD5A1bmiVZshIaSV skkWdfPzcy0S/B0DXsPcEj5hmHK3yztMcD6w17ng85v04W2y/MU1RIT+BX2HnWPpdiRG sWbCqpVyj0aGuBZpXlwZYSaBkU35R1u7TYrpQ= 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=eL64i5Jc3S/5XkiFvBU3HZhxhrQnsLcfSpdXfA1tYiEvWPWWyPKN1Qp6j7/ctysIS3 ubL9W4sY41e5z6IZCqGzxen3oVdiWgwerLU8eRqdpV760/GAyh6y6yCZyGGahxPzCWi/ a/SRjnEcL2KxTXpt3iG898Yagk2rEi86fhFN4= MIME-Version: 1.0 Received: by 10.213.112.145 with SMTP id w17mr358358ebp.0.1290775704870; Fri, 26 Nov 2010 04:48:24 -0800 (PST) Received: by 10.213.14.138 with HTTP; Fri, 26 Nov 2010 04:48:24 -0800 (PST) In-Reply-To: <201011261037105152721@yahoo.com.cn> References: <201011261037105152721@yahoo.com.cn> Date: Fri, 26 Nov 2010 07:48:24 -0500 Message-ID: From: Ryan Stone To: beezarliu Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net , Jack Vogel 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 12:48:26 -0000 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