Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Nov 2013 12:50:38 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        Andre Oppermann <andre@freebsd.org>, Luigi Rizzo <rizzo@iet.unipi.it>, Adrian Chadd <adrian@freebsd.org>, Navdeep Parhar <np@freebsd.org>, Randall Stewart <rrs@lakerest.net>, "freebsd-net@freebsd.org" <net@freebsd.org>
Subject:   Re: [long] Network stack -> NIC flow (was Re: MQ Patch.)
Message-ID:  <5275578E.40000@freebsd.org>
In-Reply-To: <52717A62.7040600@freebsd.org>
References:  <40948D79-E890-4360-A3F2-BEC34A389C7E@lakerest.net> <526FFED9.1070704@freebsd.org> <CA%2BhQ2%2BgTc87M0f5pvFeW_GCZDogrLkT_1S2bKHngNcDEBUeZYQ@mail.gmail.com> <52701D8B.8050907@freebsd.org> <527022AC.4030502@FreeBSD.org> <527027CE.5040806@freebsd.org> <5270309E.5090403@FreeBSD.org> <5270462B.8050305@freebsd.org> <CAJ-Vmo=6thETmTDrPYRjwNTEQaTWkSTKdRYN3eRw5xVhsvr5RQ@mail.gmail.com> <20131030050056.GA84368@onelab2.iet.unipi.it> <52717A62.7040600@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/30/13, 2:30 PM, Andre Oppermann wrote:
>
> Now ifnet has become very complex and large and should be brought
> back to its original purpose of the being the logical layer 3 interface
> abstraction.  There isn't necessarily a 1:1 mapping from one ifnet
> instance to one hardware interface.  In fact there are pure logical
> ifnets (gre, tun, ...), direct hardware ifnets (simple network 
> interfaces
> like fxp(4)), and multiple logic interfaces on top a single hardware
> (vlan, lagg, ...).  Depending on the ifnets purpose the backend can
> be very different.  Thus I want to decouple the current implicit
> notion of ifnet==hardware with associated queuing and such. Instead
> it should become a layer 3 abstraction inside the kernel again and
> delegate all lower layers to appropriate protocol, layer 2, and
> hardware specific implementations.

I have thought for a long time that the 'if' should be split in two..

the top half really is just common for everything..
it is basically what tun is.. (or ng_iface for that matter)






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5275578E.40000>