From owner-p4-projects@FreeBSD.ORG Tue Mar 11 14:34:24 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0CEC61065672; Tue, 11 Mar 2008 14:34:24 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C09721065671 for ; Tue, 11 Mar 2008 14:34:23 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 950FB8FC15 for ; Tue, 11 Mar 2008 14:34:23 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2BEYN8K037457 for ; Tue, 11 Mar 2008 14:34:23 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2BEYN5s037455 for perforce@freebsd.org; Tue, 11 Mar 2008 14:34:23 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 11 Mar 2008 14:34:23 GMT Message-Id: <200803111434.m2BEYN5s037455@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 137398 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 14:34:24 -0000 http://perforce.freebsd.org/chv.cgi?CH=137398 Change 137398 by rwatson@rwatson_cinnamon on 2008/03/11 14:33:23 Comment for zrotbuf. Affected files ... .. //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.c#30 edit Differences ... ==== //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.c#30 (text+ko) ==== @@ -414,6 +414,11 @@ return (0); } +/* + * Ioctl to force rotation of the two buffers, if there's any data available. + * This can be used by user space to implement time outs when waiting for a + * buffer to fill. + */ int bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)