Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2007 22:53:32 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 131555 for review
Message-ID:  <200712242253.lBOMrWNn042303@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131555

Change 131555 by rwatson@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
 -----
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712242253.lBOMrWNn042303>