Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2015 11:25:32 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r283568 - head/sys/net80211
Message-ID:  <CAJ-Vmo=7uaE71vK5SJ3fEopfmq8wPNwWN44iCBf3YORQMntwuQ@mail.gmail.com>
In-Reply-To: <20150526154453.GA73119@FreeBSD.org>
References:  <201505261319.t4QDJ5Hj045298@svn.freebsd.org> <CAJ-VmokcdYP5NLqU%2BEoSo1UjCJZ1Ptw_=UG4qtRRhBKpjjh5LQ@mail.gmail.com> <20150526154453.GA73119@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 May 2015 at 08:44, Gleb Smirnoff <glebius@freebsd.org> wrote:
> On Tue, May 26, 2015 at 08:25:01AM -0700, Adrian Chadd wrote:
> A> Hi,
> A>
> A> We're going to have to move all of the counter API stuff into
> A> ieee80211_freebsd.[ch].
>
> Well, I put the function in the same file where if_get_counter pointer
> is set, so that it can be static. You need distinctive border between
> FreeBSD and non-FreeBSD stuff, which right now isn't yet clear.
>
> I don't mind moving, but looks like the ifnet attachment process, either
> the current one or the future one, also needs to be moved to FreeBSD
> part of the code.

Yeah, the lines got .. blurred. I don't want to go full portability
unless someone comes up with a very pressing need - eg, still assume
ifnet ,still assume ioctl ,transmit/start, receive, mbufs, etc. But
vnets and counter API should be easy to migrate out so
netbsd/dragonflybsd can port things.


-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=7uaE71vK5SJ3fEopfmq8wPNwWN44iCBf3YORQMntwuQ>