From owner-freebsd-net@FreeBSD.ORG Wed Jul 12 19:59:13 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 EDE9916A4E0 for ; Wed, 12 Jul 2006 19:59:13 +0000 (UTC) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D95343D93 for ; Wed, 12 Jul 2006 19:59:12 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.5.8] (host-81-191-3-170.bluecom.no [81.191.3.170]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.6/8.13.6) with ESMTP id k6CJx9Lb027497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 12 Jul 2006 21:59:09 +0200 Message-ID: <44B5547D.1070700@wm-access.no> Date: Wed, 12 Jul 2006 21:58:53 +0200 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Dmitry Pryanishnikov References: <20060705125957.T30599@atlantis.atlantis.dp.ua> <44B4882F.6060200@wm-access.no> <20060712091022.A65006@atlantis.atlantis.dp.ua> In-Reply-To: <20060712091022.A65006@atlantis.atlantis.dp.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: if_rl VLAN support in RELENG_4 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: Wed, 12 Jul 2006 19:59:14 -0000 Dmitry Pryanishnikov wrote: >=20 > Hello! >=20 > On Wed, 12 Jul 2006, Sten Daniel S?rsdal wrote: >>> In RELENG_4, RealTek 8129/8139 driver rl(4) doesn't claim VLAN supp= ort >>> (when I assign vlandev rl0, my vlan device initially gets mtu 1496). = In >>> modern (e.g. RELENG_6) systems if_rl claims native VLAN support. I've= >>> tried setting 'ifconfig vlan0 mtu 1500' for rl-based vlan device, and= >>> resulting interface Just Works (TM) (1500-byte packets trasmit and >>> receive >>> correctly via such a vlan). So is it safe to use vlan with 'vlandev r= l0' >>> and 'mtu 1500' in RELENG_4? Has anyone observed any ill-effects in su= ch >>> a configuration? Would it be simple enough for if_rl in RELENG_4 to >>> just announce native VLAN support to the system? >>> >>> Sincerely, Dmitry >> >> Not necessarily. I would assume, without looking, that you would also >> need to enable oversized frame support. >=20 > I'm curious whether you've missed the following: >=20 >>> I've >>> tried setting 'ifconfig vlan0 mtu 1500' for rl-based vlan device, and= >>> resulting interface Just Works (TM). >=20 > So the required support seems to be already enabled (at least for my > particular NIC). It isn't question for me whether _my_ NIC works in thi= s > mode - it definitely does. My question is whether _any_ rl(4)-supported= > card will behave in the same way ( =3D can I _rely_ on rl(4) in RELENG_= 4 > being able to do 1500-byte VLANs). In RELENG_6, e.g., this capability i= s > announced by the Aha. I'm not sure i can answer that. I was under the impression that not all realtek cards supported oversized frames (notably 8129 with an external phy) and that 8139 A and B series were a little shakey but C is definitly fine. 8139 had internal PHY so i guess they (a/b/c) are pretty similar. I can however not really give you the answer you are looking for, sorry. --=20 Sten Daniel S=F8rsdal