Date: Mon, 20 Sep 2004 22:57:42 +0300 From: Petri Helenius <pete@he.iki.fi> To: Andre Oppermann <andre@freebsd.org> Cc: net@freebsd.org Subject: pfil question Message-ID: <414F3636.1040807@he.iki.fi> In-Reply-To: <4140A8F5.92E4A2DF@freebsd.org> References: <20040905121111.GA78276@cell.sick.ru> <4140834C.3000306@freebsd.org> <20040909171018.GA11540@cell.sick.ru> <4140A8F5.92E4A2DF@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Andre Oppermann wrote: >BTW: You may be better off using pfil_hooks instead of netgraph for your >tool. You'll save one m_copym and m_freem for each packet. > > > Is pfil zero copy or one copy by default? If the driver supports it, does a packet get directly DMA'd in mbufs and passed over the pf which then drops the packet if applicable? Also, did the locking work for network stack in 5.3 make pf fully parallel so packets arriving can be processed by multiple CPU's? Do these need to be coming in from multiple interfaces or can even packets from one interface be distributed among multiple CPU's? Pete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?414F3636.1040807>