Re: mbuf changes

2010-10-06 Thread Robert N. M. Watson
On 5 Oct 2010, at 17:01, Karim Fodil-Lemelin wrote: > I will share some of the experience I had doing embed mtags. Hopefully its > relevant :) > > The idea of carrying a certain amount of mbuf tags within the mbuf structure > is somewhat similar but much cleaner, imo, then Linux's skbuff char

Re: mbuf changes

2010-10-05 Thread Karim Fodil-Lemelin
On 03/10/2010 9:13 AM, Luigi Rizzo wrote: On Sun, Oct 03, 2010 at 12:29:21AM +0100, Rui Paulo wrote: On 2 Oct 2010, at 21:35, Juli Mallett wrote: On Sat, Oct 2, 2010 at 12:07, Rui Paulo wrote: On 2 Oct 2010, at 16:29, Robert Watson wrote: On Thu, 30 Sep 2010, Julian Elischer wrote: On 9/3

Re: mbuf changes

2010-10-03 Thread Luigi Rizzo
On Sun, Oct 03, 2010 at 12:29:21AM +0100, Rui Paulo wrote: > On 2 Oct 2010, at 21:35, Juli Mallett wrote: > > > On Sat, Oct 2, 2010 at 12:07, Rui Paulo wrote: > >> On 2 Oct 2010, at 16:29, Robert Watson wrote: > >>> On Thu, 30 Sep 2010, Julian Elischer wrote: > On 9/30/10 10:49 AM, Ryan Ston

Re: mbuf changes

2010-10-02 Thread Rui Paulo
On 2 Oct 2010, at 21:35, Juli Mallett wrote: > On Sat, Oct 2, 2010 at 12:07, Rui Paulo wrote: >> On 2 Oct 2010, at 16:29, Robert Watson wrote: >>> On Thu, 30 Sep 2010, Julian Elischer wrote: On 9/30/10 10:49 AM, Ryan Stone wrote: > It's not a big thing but it would be nice to replace the

Re: mbuf changes

2010-10-02 Thread Juli Mallett
On Sat, Oct 2, 2010 at 12:07, Rui Paulo wrote: > On 2 Oct 2010, at 16:29, Robert Watson wrote: >> On Thu, 30 Sep 2010, Julian Elischer wrote: >>> On 9/30/10 10:49 AM, Ryan Stone wrote: It's not a big thing but it would be nice to replace the m_next and m_nextpkt fields with queue.h macr

Re: mbuf changes

2010-10-02 Thread Rui Paulo
On 2 Oct 2010, at 16:29, Robert Watson wrote: > On Thu, 30 Sep 2010, Julian Elischer wrote: > >> On 9/30/10 10:49 AM, Ryan Stone wrote: >>> It's not a big thing but it would be nice to replace the m_next and >>> m_nextpkt fields with queue.h macros. >> funny, I've never even thought of that.. >

Re: mbuf changes

2010-10-02 Thread Robert Watson
On Thu, 30 Sep 2010, Julian Elischer wrote: On 9/30/10 10:49 AM, Ryan Stone wrote: It's not a big thing but it would be nice to replace the m_next and m_nextpkt fields with queue.h macros. funny, I've never even thought of that.. I have, and it's a massive change touching code all over the

Re: mbuf changes

2010-09-30 Thread Julian Elischer
On 9/30/10 10:49 AM, Ryan Stone wrote: It's not a big thing but it would be nice to replace the m_next and m_nextpkt fields with queue.h macros. funny, I've never even thought of that.. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.o

Re: mbuf changes

2010-09-30 Thread Ryan Stone
It's not a big thing but it would be nice to replace the m_next and m_nextpkt fields with queue.h macros. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr

Re: mbuf changes

2010-09-27 Thread Andre Oppermann
On 27.09.2010 18:13, Julian Elischer wrote: On 9/27/10 6:09 AM, Andre Oppermann wrote: On 26.09.2010 08:32, Julian Elischer wrote: On 9/25/10 1:20 AM, Andre Oppermann wrote: On 25.09.2010 09:19, Julian Elischer wrote: * dynamically working out what the front padding size should be.. per sessi

Re: mbuf changes

2010-09-27 Thread Andre Oppermann
On 27.09.2010 18:09, Julian Elischer wrote: On 9/27/10 6:14 AM, Andre Oppermann wrote: On 27.09.2010 15:18, Luigi Rizzo wrote: On Mon, Sep 27, 2010 at 02:55:45PM +0200, Andre Oppermann wrote: ... my idea was to have an extra field in the mbuf to tell how much room should be reserved/used for m

Re: mbuf changes

2010-09-27 Thread Julian Elischer
On 9/27/10 6:09 AM, Andre Oppermann wrote: On 26.09.2010 08:32, Julian Elischer wrote: On 9/25/10 1:20 AM, Andre Oppermann wrote: On 25.09.2010 09:19, Julian Elischer wrote: over the last few years there has been a bit of talk about some changes people want to see in mbufs for 9.x extra fiel

Re: mbuf changes

2010-09-27 Thread Julian Elischer
On 9/27/10 6:14 AM, Andre Oppermann wrote: On 27.09.2010 15:18, Luigi Rizzo wrote: On Mon, Sep 27, 2010 at 02:55:45PM +0200, Andre Oppermann wrote: ... my idea was to have an extra field in the mbuf to tell how much room should be reserved/used for metadata (such as mtags) after the payload ar

Re: mbuf changes

2010-09-27 Thread Andre Oppermann
On 27.09.2010 15:18, Luigi Rizzo wrote: On Mon, Sep 27, 2010 at 02:55:45PM +0200, Andre Oppermann wrote: ... my idea was to have an extra field in the mbuf to tell how much room should be reserved/used for metadata (such as mtags) after the payload area so you don't need to change the allocator,

Re: mbuf changes

2010-09-27 Thread Andre Oppermann
On 26.09.2010 08:32, Julian Elischer wrote: On 9/25/10 1:20 AM, Andre Oppermann wrote: On 25.09.2010 09:19, Julian Elischer wrote: over the last few years there has been a bit of talk about some changes people want to see in mbufs for 9.x extra fields, changes in the way things are done, etc.

Re: mbuf changes

2010-09-27 Thread Luigi Rizzo
On Mon, Sep 27, 2010 at 02:55:45PM +0200, Andre Oppermann wrote: ... > >my idea was to have an extra field in the mbuf to tell how much room > >should be reserved/used for metadata (such as mtags) after > >the payload area so you don't need to change the allocator, and > >possibly can even modify t

Re: mbuf changes

2010-09-27 Thread Andre Oppermann
On 25.09.2010 18:30, Luigi Rizzo wrote: On Sat, Sep 25, 2010 at 10:20:19AM +0200, Andre Oppermann wrote: On 25.09.2010 09:19, Julian Elischer wrote: over the last few years there has been a bit of talk about some changes people want to see in mbufs for 9.x extra fields, changes in the way thing

Re: mbuf changes

2010-09-25 Thread Julian Elischer
On 9/25/10 1:20 AM, Andre Oppermann wrote: On 25.09.2010 09:19, Julian Elischer wrote: over the last few years there has been a bit of talk about some changes people want to see in mbufs for 9.x extra fields, changes in the way things are done, etc. If you are one of these people, pipe up now

Re: mbuf changes

2010-09-25 Thread Luigi Rizzo
On Sat, Sep 25, 2010 at 10:20:19AM +0200, Andre Oppermann wrote: > On 25.09.2010 09:19, Julian Elischer wrote: > >over the last few years there has been a bit of talk about some changes > >people want to see in mbufs > >for 9.x > >extra fields, changes in the way things are done, etc. > > > >If yo

Re: mbuf changes

2010-09-25 Thread Andre Oppermann
On 25.09.2010 09:19, Julian Elischer wrote: over the last few years there has been a bit of talk about some changes people want to see in mbufs for 9.x extra fields, changes in the way things are done, etc. If you are one of these people, pipe up now.. to get the ball rolling.. * Add a field

mbuf changes

2010-09-25 Thread Julian Elischer
over the last few years there has been a bit of talk about some changes people want to see in mbufs for 9.x extra fields, changes in the way things are done, etc. If you are one of these people, pipe up now.. to get the ball rolling.. * Add a field for the current FIB.. currently this is 4 b

Re: FreeBSD route tables limited 16? (mbuf changes)

2010-09-14 Thread Julian Elischer
On 9/13/10 11:31 PM, Dave Seddon wrote: Greetings, Thanks for the quick response. It sounds like dedicating some space for this in the mbuf would be the best way forward, but the question is how much. I'm worried that most freebsd users won't go for lots of route tables, which is why you went