Re: if_var.h micro-optimization

2008-05-30 Thread Bruce M. Simpson
rihad wrote: Bruce M. Simpson wrote: It could save dirtying an L2 data cache line at the expense of taking a conditional branch, Whoa, why don't you take it easy on me :) I'm not that much into kernel (or hardware) programming. It's just that reading Ch. 3 of TCP/IP Illustrated Vol.2 by Rich

Re: if_var.h micro-optimization

2008-05-30 Thread rihad
Bruce M. Simpson wrote: rihad wrote: Not sure if this is a worthwhile optimization? FreeBSD 7.0 --- /usr/src/sys/net/if_var.h 2007-12-07 09:46:08.0 +0400 +++ if_var.h2008-05-30 18:10:25.0 +0500 @@ -282,7 +282,8 @@ if (m) {

Re: if_var.h micro-optimization

2008-05-30 Thread Bruce M. Simpson
rihad wrote: Not sure if this is a worthwhile optimization? FreeBSD 7.0 --- /usr/src/sys/net/if_var.h 2007-12-07 09:46:08.0 +0400 +++ if_var.h2008-05-30 18:10:25.0 +0500 @@ -282,7 +282,8 @@ if (m) {\ if

Re: kern/124127: [msk] watchdog timeout (missed Tx interrupts) -- recovering

2008-05-30 Thread remko
Synopsis: [msk] watchdog timeout (missed Tx interrupts) -- recovering Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: remko Responsible-Changed-When: Fri May 30 14:35:51 UTC 2008 Responsible-Changed-Why: Reassign to networking team. http://www.freebsd.org/cgi/query

if_var.h micro-optimization

2008-05-30 Thread rihad
Not sure if this is a worthwhile optimization? FreeBSD 7.0 --- /usr/src/sys/net/if_var.h 2007-12-07 09:46:08.0 +0400 +++ if_var.h2008-05-30 18:10:25.0 +0500 @@ -282,7 +282,8 @@ if (m) {\ if (((ifq)->ifq_

Re: carp and vlan at the same time?

2008-05-30 Thread Niki Denev
On Fri, May 30, 2008 at 1:06 PM, Rudy <[EMAIL PROTECTED]> wrote: > Niki Denev wrote: >> >> I'm currently using carp over VLANs over lagg and if works without >> problems. >> So I think you should have no problems running carp over vlan interfaces. > > Could you send me a sample configuration or poi

Re: carp and vlan at the same time?

2008-05-30 Thread Niki Denev
Hi Rudy, On Fri, May 30, 2008 at 12:44 PM, Rudy <[EMAIL PROTECTED]> wrote: > > Dear NET, > > I have some questions! > > [1] vlan & carp > I have 10.3.1.1/24 10.3.2.1/25 and a 10.3.3.129/25 as gateway IPs each in > their own vlan. > How do I get CARP working, or are people using another method to

Re: anyone tried the Multi routing table code yet?

2008-05-30 Thread Julian Elischer
Julian Elischer wrote: Rajkumar S wrote: On Sat, May 24, 2008 at 6:09 AM, Julian Elischer <[EMAIL PROTECTED]> wrote: subject says it all really.. I am using pf and rtable to setfib and get an pfctl: DIOCADDRULE: Device busy when trying to load "pass in quick on fxp0 from any to any keep state

Re: anyone tried the Multi routing table code yet?

2008-05-30 Thread Julian Elischer
Rajkumar S wrote: On Sat, May 24, 2008 at 6:09 AM, Julian Elischer <[EMAIL PROTECTED]> wrote: subject says it all really.. I am using pf and rtable to setfib and get an pfctl: DIOCADDRULE: Device busy when trying to load "pass in quick on fxp0 from any to any keep state rtable 1" I'm not re

carp and vlan at the same time?

2008-05-30 Thread Rudy
Dear NET, I have some questions! [1] vlan & carp I have 10.3.1.1/24 10.3.2.1/25 and a 10.3.3.129/25 as gateway IPs each in their own vlan. How do I get CARP working, or are people using another method to get failover working? [2] carp Is there a way to get around the requirement to already

Re: anyone tried the Multi routing table code yet?

2008-05-30 Thread Rajkumar S
On Sat, May 24, 2008 at 6:09 AM, Julian Elischer <[EMAIL PROTECTED]> wrote: > subject says it all really.. I am using pf and rtable to setfib and get an pfctl: DIOCADDRULE: Device busy when trying to load "pass in quick on fxp0 from any to any keep state rtable 1" I can successfully load "pass in