Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-12 Thread Brian McGinty
 Hi Brian
 I very much doubt that this is ceteris paribus. This is 384 random IPs
  - 384 random IP addresses with a flow lookup for each packet. Also,
 I've read through igb on Linux - it has a lot of optimizations that
 the FreeBSD driver lacks and I have yet to implement.

Hey Kip,
when will you push the optimization into FreeBSD?

Cheers,
Brian
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Route messages

2008-07-12 Thread Bjoern A. Zeeb

On Wed, 2 Jul 2008, Mike Tancsa wrote:

Hi,

It works for me in the lab and on one production machine I patched early this 
morning.


I just MFCed this to 7-STABLE. So if you update your trees make sure
you have rev. 1.332.2.3 of ip_input.c.


/bz



Index: sys/netinet/ip_input.c
===
RCS file: /shared/mirror/FreeBSD/r/ncvs/src/sys/netinet/ip_input.c,v
retrieving revision 1.332.2.2
diff -u -p -r1.332.2.2 ip_input.c
--- sys/netinet/ip_input.c  22 Apr 2008 12:02:55 - 1.332.2.2
+++ sys/netinet/ip_input.c  1 Jul 2008 09:23:08 -
@@ -1363,7 +1363,6 @@ ip_forward(struct mbuf *m, int srcrt)
 * the ICMP_UNREACH_NEEDFRAG Next-Hop MTU field described in 
RFC1191.

 */
bzero(ro, sizeof(ro));
-   rtalloc_ign(ro, RTF_CLONING);
error = ip_output(m, NULL, ro, IP_FORWARDING, NULL, NULL);


--
Bjoern A. Zeeb  Stop bit received. Insert coin for new game.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]