Re: use M_PROTO1 in bridge output too

2011-11-03 Thread Claudio Jeker
On Thu, Nov 03, 2011 at 01:21:25PM +0100, Camiel Dobbelaar wrote: > No one interested in this one? I have another bridge speedup diff after > this. > Ugh, forgot to answer on that one. I'm against overusing the M_PROTO1 flag. Keep in mind that M_PROTO1 is just a flag whereas the mbuf_tag is a p

Re: use M_PROTO1 in bridge output too

2011-11-03 Thread Camiel Dobbelaar
No one interested in this one? I have another bridge speedup diff after this. On Fri, 28 Oct 2011, Camiel Dobbelaar wrote: > M_PROTO1 is used by if_bridge on the input path. On the output path it's > used now only by if_bridge for if_gif. I think we can use it generically > to mark packets

use M_PROTO1 in bridge output too

2011-10-28 Thread Camiel Dobbelaar
M_PROTO1 is used by if_bridge on the input path. On the output path it's used now only by if_bridge for if_gif. I think we can use it generically to mark packets as "processed by bridge" in the output path. The diff simplifies things and avoids mtag checking and allocation so is more efficien