pfil question
Petri Helenius
pete at he.iki.fi
Mon Sep 20 12:57:41 PDT 2004
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
More information about the freebsd-net
mailing list