From owner-freebsd-net@FreeBSD.ORG Mon Mar 29 10:22:27 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7069F16A4CE; Mon, 29 Mar 2004 10:22:27 -0800 (PST) Received: from sizone.org (mortar.sizone.org [65.126.154.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48D8243D1F; Mon, 29 Mar 2004 10:22:27 -0800 (PST) (envelope-from dgilbert@daveg.ca) Received: by sizone.org (Postfix, from userid 66) id 83D3E308A5; Mon, 29 Mar 2004 13:22:26 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id 040DF1D2669; Mon, 29 Mar 2004 13:22:24 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16488.26976.314273.752771@canoe.dclg.ca> Date: Mon, 29 Mar 2004 13:22:24 -0500 To: "Jacob S. Barrett" In-Reply-To: <200403251650.35714.jbarrett@amduat.net> References: <200403251118.40718.jbarrett@amduat.net> <20040325234527.GC85417@ip.net.ua> <200403251650.35714.jbarrett@amduat.net> X-Mailer: VM 7.17 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid cc: freebsd-net@freebsd.org Subject: Re: Disabling VLAN_HWTAGGING X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 18:22:27 -0000 >>>>> "Jacob" == Jacob S Barrett writes: Jacob> On Thursday 25 March 2004 03:45 pm, you wrote: >> > Can you disable VLAN_HWTAGGING? >> >> Not without modifying if_nge.c, but it should be pretty trivial. Jacob> As trivial as setting chaning: ifp-> if_capabilities = IFCAP_HWCSUM | IFCAP_VLAN_HWTAGGING; Jacob> to: ifp-> if_capabilities = 0; Jacob> This didn't solve the problem completely though. On the remote Jacob> host I can now see tagged frames from the if_nge host, but the Jacob> reply frames from the if_em host or not visible at all on the Jacob> if_nge host (via tcpdump). Are you dumping all packets? We've found that you can dump a specific vlan on nge's, but you can't get good data by dumping the raw port itself. No matter how it's set, in both Linux and FreeBSD, many nge chipsets will not show vlan packets from the driver with a tcpdump. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================