From owner-freebsd-arch@FreeBSD.ORG Wed Feb 25 22:50:54 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62F2ACB; Wed, 25 Feb 2015 22:50:54 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B8C79833; Wed, 25 Feb 2015 22:50:53 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id t1PMop0u025388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Feb 2015 01:50:51 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t1PMopYp025387; Thu, 26 Feb 2015 01:50:51 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 26 Feb 2015 01:50:51 +0300 From: Gleb Smirnoff To: Eric Joyner Subject: Re: Adding new media types to if_media.h Message-ID: <20150225225051.GE17947@glebius.int.ru> References: <201502170150.t1H1ouxM020621@mail.karels.net> <20150225221120.GC17947@FreeBSD.org> <20150225222902.GD17947@glebius.int.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) Cc: "freebsd-net@freebsd.org" , Jack Vogel , Mike Karels , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 22:50:54 -0000 On Wed, Feb 25, 2015 at 02:42:16PM -0800, Eric Joyner wrote: E> Tbh, I respect Gleb's approach, but developing such a thing would take a E> while; the fix Mike proposed would be a fix now. E> E> I mean, I'd like to see a decoupling of media types and speeds from E> "standard" names, and maybe have both an ability to query what modules a E> device supports and what speeds it supports given its current module, E> instead of relying on the clunky media type list now. And then it'd be nice E> to set flow control from ifconfig, too, without having to couple those E> modes to media types. I'm still all for having a new system in the future. E> E> But in changing the KPI so much, it'd be important to consider the "do we E> need an ethtool-equivalent" discussion. E> E> And I think we've lost a bunch of people who were in the original E> discussion from the to:/cc: list. Actually the amount of code for my approach is approximately the same as with Mike's. The only thing we must sit down and think without a hurry are the required and spare fields for new if_media. We definitely need input from Adrian on his net80211 requirements, and input from all involved parties. I'm willing to code this if we all agree on the topic, so that you will code all done and commited before 10.2-RELEASE. -- Totus tuus, Glebius.