From owner-freebsd-stable@FreeBSD.ORG Sun Apr 3 12:56:57 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B329516A4D0; Sun, 3 Apr 2005 12:56:57 +0000 (GMT) Received: from rt1.chem.msu.ru (rt1-tower.chem.msu.ru [195.208.208.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E083443D1D; Sun, 3 Apr 2005 12:56:56 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by rt1.chem.msu.ru (8.13.3/8.13.3) with ESMTP id j33CugL0013942; Sun, 3 Apr 2005 16:56:46 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.9p2/8.12.9) with ESMTP id j33Cuff9076422; Sun, 3 Apr 2005 16:56:42 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.9p2/8.12.9/Submit) id j33Cue9O076421; Sun, 3 Apr 2005 16:56:40 +0400 (MSD) (envelope-from yar) Date: Sun, 3 Apr 2005 16:56:40 +0400 From: Yar Tikhiy To: Max Laier Message-ID: <20050403125640.GF66519@comp.chem.msu.su> References: <8eea040805010512321bf5b953@mail.gmail.com> <200503292325.38904.max@love2party.net> <424B62C3.5090107@cuk.nu> <200503311746.07844.max@love2party.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503311746.07844.max@love2party.net> User-Agent: Mutt/1.5.6i cc: rwatson@freebsd.org cc: Marko ??uk cc: freebsd-stable@freebsd.org Subject: Re: ALTQ, pf and VLANs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 03 Apr 2005 12:56:57 -0000 On Thu, Mar 31, 2005 at 04:45:52PM +0100, Max Laier wrote: > On Thursday 31 March 2005 04:38, Marko ??uk wrote: > > Max, that solution works fine. I have tried it and it works fine for me. > > > > Thanks. > > > > Anyway, do you know some issues with dropping traffic on em0 vlan > > enabled interfaces and tcpdump-ing ? The average traffic, that we > > tcpdump is cca 10-20mbit/s and when tcpdump-ing, we get allmost 90% > > packet loss on interfaces. Any clue ? > > Ugh, I know of such an issue, but was thinking that it should be fixed by now. > Can you make sure that you have your kernel/em(4) built with if_em.c 1.44.2.6 > or later? The effect should simply be that it disables VLAN hardware support > which doesn't seem to work with promiscuous mode. You could also try to > disable it manually (ifconfig) to see if that improves on the packet loss. Max, I'm not sure it's using VLAN acceleration in em(4) that causes _partial_ packet loss. The case you referred to manifested itself in full traffic halt on attached vlan(4) interfaces and not in its partial loss. -- Yar