PERFORCE change 131555 for review

Robert Watson rwatson at FreeBSD.org
Mon Dec 24 14:53:33 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=131555

Change 131555 by rwatson at rwatson_cinnamon on 2007/12/24 22:53:16

	Update README.

Affected files ...

.. //depot/projects/zcopybpf/README#3 edit

Differences ...

==== //depot/projects/zcopybpf/README#3 (text+ko) ====

@@ -29,6 +29,12 @@
 Build a fresh kernel and install it, with options BPF_ZEROCOPY if you want
 zero-copy buffer support.  Build and install a fresh libpcap.
 
+A new sysctl will be present, net.bpf.zerocopy_enable -- if it is set to 1
+(the default) then all new BPF sessions created by libpcap will use zero-copy
+support.  If set to 0, new sessions will use buffered reads.  The
+BPF_ZERO_COPY/BPF_ZEROCOPY environmental variables used in earlier prototypes
+have now been removed in favour of this model.
+
 Notes
 -----
 


More information about the p4-projects mailing list