Re: IPPROTO_DIVERT and PF_INET6
On Wed, May 07, 2008 at 08:40:56AM +0100, Bruce M. Simpson wrote: > Julian Elischer wrote: > >actually the divert sockets should really not be in PF_INET > >they could deliver both inet and inet6 packets. > >the sockaddr that they return (and which needs to be read for divert > >to make sense) could be used to distinguish between them. > > Good point. I'd forgotten that they were abusing the fields in sin_zero. > This is not OK for IPv6, although the kludge can still be perpetuated by > looking at sa_len and stashing what divert wants at the end of sockaddr_in6. > > So there IS a case for making them a separate protocol family if > someone's going to do a clean implementation of divert sockets for IPv6. I have it more or less working! See my "FreeBSD IPv6 Divert socket adventures" at http://www.mavetju.org/weblog/html/00231.html (1) http://www.mavetju.org/weblog/html/00232.html (2) http://www.mavetju.org/weblog/html/00233.html (3) It contains links to patches for FreeBSD 6.3 and the nat6to4d.c. Please read the disclaimer in the second last paragraph of the 3rd article about the rough edges on it. I'm very keen on getting help from somebody to check it and to polish it up once I'm happy with it. For example with regarding to the "inpcb" things which I have absolutely no idea about what they are or what they do, or how to properly manage them. Edwin -- Edwin Groothuis |Personal website: http://www.mavetju.org [EMAIL PROTECTED]| Weblog: http://www.mavetju.org/weblog/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPPROTO_DIVERT and PF_INET6
On Wed, May 14, 2008 at 12:37:58AM +1000, Edwin Groothuis wrote: > It contains links to patches for FreeBSD 6.3 and the nat6to4d.c. Needless to say that the code of nat6to4d.c is a proof-of-concept and is missing essential features like garbage-collection and configurationability. Edwin -- Edwin Groothuis |Personal website: http://www.mavetju.org [EMAIL PROTECTED]| Weblog: http://www.mavetju.org/weblog/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RX/TX multiqueue support
Good Day, I see that the new igb driver has a tunable for multiple rx/tx queues. Is that for future use or already working when using a 82575 NIC? Currently the processing of packets is limited to one CPU per NIC. Can we now have multiple taskq processes for one NIC in parallel? Best Regards, Markus ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RX/TX multiqueue support
This would be awesome, like the Yandex driver for fbsd 6.. I wish there was some way of doing this for 7.0 :) maybe this is it.. So this is the question now... Markus Oestreicher wrote: Good Day, I see that the new igb driver has a tunable for multiple rx/tx queues. Is that for future use or already working when using a 82575 NIC? Currently the processing of packets is limited to one CPU per NIC. Can we now have multiple taskq processes for one NIC in parallel? Best Regards, Markus ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to identify a PHY?
0n Mon, May 12, 2008 at 01:19:58PM +0200, Marius Strobl wrote: >If the system is running the simplest thing in order to identifiy >the PHYs is to check the oui= and model= output of `devinfo -v`. >Otherwise boot verbose and check the OUI and model output of >ukphy(4). Curious, once we have the hex codes for the oui and model e.g. brgphy0 pnpinfo oui=0x818 model=0x1a rev=0x2 at phyno=1 How do we then determine what 0x818 and 0x1a refer to ? -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"