From owner-freebsd-stable@freebsd.org Mon Oct 19 02:45: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 7D859A18558 for ; Mon, 19 Oct 2015 02:45:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) 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 600301E7C for ; Mon, 19 Oct 2015 02:45:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5CB02A18557; Mon, 19 Oct 2015 02:45:53 +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 5C4E2A18554 for ; Mon, 19 Oct 2015 02:45:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D3521E7B for ; Mon, 19 Oct 2015 02:45:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iow1 with SMTP id 1so175606220iow.1 for ; Sun, 18 Oct 2015 19:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iab9W3kqPC6rhqqMtvNiU0ish72hlycGD1DFR9hBE+g=; b=MplOpWjP1bi7MeNshcC3LO9SeQgsgwy+QAwhc1YPWiuD2i7+243KmI5NolmjRZX/y+ Fypt8ygmesX25LLh0uJik73h88kq/7v8YH4bsHth+4heJuMmXS/0e8z90XbxhPcSBD4U Laym2E9oM4JVi5k41ZbW+MaEpVVD5eb6UI+H1DEXhD516+Zfu4UtJm9T1lYf9duFkt38 SFXM/dqPPl6hX9MDBIQ5Eub66Zfq9JxoTOevWMZUbrdEkCnnX5HYsxOwXSVIOm6UmVu7 BFpB4+NkW73oZDNXSwePmWDYhlrwco7sjGuDWFMl9mHBtzCSMyAmSrgxBlDfQK4oCono sCJA== MIME-Version: 1.0 X-Received: by 10.107.3.72 with SMTP id 69mr2711318iod.75.1445222752493; Sun, 18 Oct 2015 19:45:52 -0700 (PDT) Received: by 10.36.46.66 with HTTP; Sun, 18 Oct 2015 19:45:52 -0700 (PDT) In-Reply-To: <20151018210049.GT6469@zxy.spb.ru> References: <20151018185639.GF42243@zxy.spb.ru> <20151018210049.GT6469@zxy.spb.ru> Date: Sun, 18 Oct 2015 19:45:52 -0700 Message-ID: Subject: Re: 82576 + NETMAP + VLAN From: Adrian Chadd To: Slawa Olhovchenkov Cc: "stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Mon, 19 Oct 2015 02:45:53 -0000 Heh, file a bug with luigi; it should be defined better inside netmap itself. -a On 18 October 2015 at 14:00, Slawa Olhovchenkov wrote: > 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.