From owner-freebsd-net@FreeBSD.ORG Fri Nov 26 21:00:24 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 4CCBE10656B8 for ; Fri, 26 Nov 2010 21:00:24 +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 E58B18FC26 for ; Fri, 26 Nov 2010 21:00:20 +0000 (UTC) Received: by eyb7 with SMTP id 7so1161215eyb.13 for ; Fri, 26 Nov 2010 13:00:19 -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=bCyISxR4bomuKZoWJhE9BXLxFE+zBd3AsfVDvDIHip0=; b=T/jsUVtyBBJjs9kd7dfHbcpznAZ3O34UbChLjBTgPZVned1vuqDzPqMgYHDbOSyYSV 4U5gnLiHAE0oIRuy8ms9LObtK5MCk4GwBzDCr3AzYf4nO0b8jiXgQhGMyn3ShZsxpvGS IhvdTSLJst1MUuZcffe0syUFS/joS1KWX2fA8= 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=cprnP5a64KRbSKxEJ0bG5y70EHW1fmdzM3US09jtBin/Jk58fS3Fkjxv3rwQQhwaM4 Oi3JuDV6OXm596fSBxa798ThtUFrr5yxXn0u4qvGBpf7DpaCjCjLxDsMfXntGghuf0ce 7REl+V7DL1uNVJfYjokIur7p41HDq7RBVGRJg= MIME-Version: 1.0 Received: by 10.213.3.68 with SMTP id 4mr2827081ebm.0.1290805219765; Fri, 26 Nov 2010 13:00:19 -0800 (PST) Received: by 10.213.14.138 with HTTP; Fri, 26 Nov 2010 13:00:19 -0800 (PST) In-Reply-To: References: <201011261037105152721@yahoo.com.cn> Date: Fri, 26 Nov 2010 16:00:19 -0500 Message-ID: From: Ryan Stone To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 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 21:00:24 -0000 On Fri, Nov 26, 2010 at 3:46 PM, Jack Vogel wrote: > Ahh, OK, so how would this solution work: > > In rxeof, in addition to requiring VP to be set, also check that > adapter->num_vlans is non-zero, in order to store the tag. > > Jack Yes, I believe that will work. Ryan Stone