Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 16:07:07 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, FreeBSD Net <freebsd-net@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, George Neville-Neil <gnn@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r258328 - head/sys/net
Message-ID:  <CAJ-Vmoniz70ziNCickHE8AHVfO95viuk_mO4q8XwD1HH=NxRSQ@mail.gmail.com>
In-Reply-To: <20131121000245.GA30549@onelab2.iet.unipi.it>
References:  <201311182258.rAIMwEFd048783@svn.freebsd.org> <CAJ-VmomjQrq39jafTTGQA_EJLSi5j%2BNB=g1sLwCK-KaEfgwrbw@mail.gmail.com> <023E719B-1059-4670-8556-EBAC18A2F007@freebsd.org> <20131121000245.GA30549@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

We should migrate drivers to use a multi-input method where it's
appropriate. It's the same pain as if_transmit() is/was.

I'd really like to avoid having hacky solutions like mbufs with magic
types. If we're going down that path, we should create a correct
inline messaging mechanism that includes arbitrary messages in the
stream, where some may or may not be mbufs. Magic mbufs just makes me
want to tear out my eyes a little.

So, the reason I'd like to back it out is because we should be doing
it via a multi method with some type that represents an mbuf list. If
George doesn't mind, I'll add a multi input method, move this stuff
into it, and make ether_input just be single frames.



-adrian



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