From owner-freebsd-stable@freebsd.org Sun Oct 18 21:00:53 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0ED8DA1829A for ; Sun, 18 Oct 2015 21:00:53 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EC6D1ACA for ; Sun, 18 Oct 2015 21:00:52 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id EB9D8A18290; Sun, 18 Oct 2015 21:00:52 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA3CEA1828F for ; Sun, 18 Oct 2015 21:00:52 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A78C6ABA for ; Sun, 18 Oct 2015 21:00:52 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Znv4T-000PoD-Ak; Mon, 19 Oct 2015 00:00:49 +0300 Date: Mon, 19 Oct 2015 00:00:49 +0300 From: Slawa Olhovchenkov To: Adrian Chadd Cc: "stable@freebsd.org" Subject: Re: 82576 + NETMAP + VLAN Message-ID: <20151018210049.GT6469@zxy.spb.ru> References: <20151018185639.GF42243@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2015 21:00:53 -0000 On Sun, Oct 18, 2015 at 01:29:23PM -0700, Adrian Chadd wrote: > On 18 October 2015 at 11:56, Slawa Olhovchenkov wrote: > > I have 82576 in NETMAP mode. > > 802.1q packets received in decapsulated form. > > This is bug or this is normal behavior? > > I don't know if it's a bug or not; I don't know if it was ever defined > behaviour. > You should just disable the hardware vlan option via ifconfig or the > ioctl and it'll "work right". I am already do this, but this is very bad behavior: undocumented and unpredicable. 82599ES received this packets in 802.1q form.