Date: Sat, 4 Jun 2011 16:33:06 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/contrib/pf/net pf.c src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_syncache.c udp_usrreq.c src/sys/netinet6 in6_pcb.c in6_pcb.h udp6_usrreq.c Message-ID: <201106041633.p54GXJFT058439@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2011-06-04 16:33:06 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_syncache.c udp_usrreq.c sys/netinet6 in6_pcb.c in6_pcb.h udp6_usrreq.c Log: SVN rev 222691 on 2011-06-04 16:33:06Z by rwatson Add _mbuf() variants of various inpcb-related interfaces, including lookup, hash install, etc. For now, these are arguments are unused, but as we add RSS support, we will want to use hashes extracted from mbufs, rather than manually calculated hashes of header fields, due to the expensive of the software version of Toeplitz (and similar hashes). Add notes that it would be nice to be able to pass mbufs into lookup routines in pf(4), optimising firewall lookup in the same way, but the code structure there doesn't facilitate that currently. (In principle there is no reason this couldn't be MFCed -- the change extends rather than modifies the KBI. However, it won't be useful without other previous possibly less MFCable changes.) Reviewed by: bz Sponsored by: Juniper Networks, Inc. Revision Changes Path 1.76 +8 -0 src/sys/contrib/pf/net/pf.c 1.280 +35 -4 src/sys/netinet/in_pcb.c 1.150 +6 -0 src/sys/netinet/in_pcb.h 1.434 +8 -6 src/sys/netinet/tcp_input.c 1.189 +4 -4 src/sys/netinet/tcp_syncache.c 1.279 +2 -2 src/sys/netinet/udp_usrreq.c 1.126 +25 -4 src/sys/netinet6/in6_pcb.c 1.27 +6 -0 src/sys/netinet6/in6_pcb.h 1.122 +2 -2 src/sys/netinet6/udp6_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106041633.p54GXJFT058439>