Re: max_linkhdr defaults to 16, too short ?

2010-05-10 Thread Sam Leffler
On Apr 20, 2010, at 5:55 PM, Luigi Rizzo wrote: On Tue, Apr 20, 2010 at 07:28:45PM +0200, Luigi Rizzo wrote: just noticed that sys/kern/uipc_domain.c still sets max_linkhdr=16 as a default. The value is often used to reserve head space in mbufs for the MAC header. As such, 16 is too short for s

Re: max_linkhdr defaults to 16, too short ?

2010-04-20 Thread Luigi Rizzo
On Tue, Apr 20, 2010 at 07:28:45PM +0200, Luigi Rizzo wrote: > just noticed that sys/kern/uipc_domain.c still sets max_linkhdr=16 > as a default. > The value is often used to reserve head space in mbufs for > the MAC header. As such, 16 is too short for systems that make > use of vlans, and the eff

max_linkhdr defaults to 16, too short ?

2010-04-20 Thread Luigi Rizzo
just noticed that sys/kern/uipc_domain.c still sets max_linkhdr=16 as a default. The value is often used to reserve head space in mbufs for the MAC header. As such, 16 is too short for systems that make use of vlans, and the effect might be that we would need additional mbuf entries or at least mov