From owner-freebsd-net@FreeBSD.ORG Mon Aug 5 00:11:41 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 71813361 for ; Mon, 5 Aug 2013 00:11:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 055F62F53 for ; Mon, 5 Aug 2013 00:11:40 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id l18so832289wgh.0 for ; Sun, 04 Aug 2013 17:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=pF1D5C9cOR+S3xlxVc9tPRrrW4boIYa9ueDQouE6C3I=; b=w0l0zWL220tlnlVQuQR3SIq6C0cc4C/dWyS1Yg1STqKffoWeW4PNyvE3uaQ7ZULyZf ej0B2iasnNQ+pFalIFokngNYWX742864evz57/UkCh7wce+OuZ5MpISMVQYEG94ySI/r F1b3s01447IiwHkPplSx1v5v9K4sfXvk3ttkH3/GntcYyRYyv17LISGPrL6X4/9LReXm nDqUy+97b5b5Slo8rouuJcJFfQ84Eze4BgXT+4rBoXy9YNFuFU2IpaHT+3DIrchx9z0t vqvt20S/OzosirUuj73jbPnqaBSNuiFbJVCbzdNgD3Boy1bbC4fee/LrPtqMCwEUEWZm MZUg== MIME-Version: 1.0 X-Received: by 10.180.20.116 with SMTP id m20mr4908543wie.46.1375661498566; Sun, 04 Aug 2013 17:11:38 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Sun, 4 Aug 2013 17:11:38 -0700 (PDT) In-Reply-To: <20130804225434.87A9C14A152@mail.netbsd.org> References: <20130804191310.2FFBB14A152@mail.netbsd.org> <9813E50B-C557-4FE1-BADF-A2CFFCBB8BD7@felyko.com> <20130804195538.C87A614A135@mail.netbsd.org> <20130804225434.87A9C14A152@mail.netbsd.org> Date: Sun, 4 Aug 2013 17:11:38 -0700 X-Google-Sender-Auth: 9poCcNEJ7YAvXmM-15APhHEuEos Message-ID: Subject: Re: BPF_MISC+BPF_COP and BPF_COPX From: Adrian Chadd To: Mindaugas Rasiukevicius Content-Type: text/plain; charset=ISO-8859-1 Cc: tech-net@netbsd.org, guy@alum.mit.edu, freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 00:11:41 -0000 On 4 August 2013 15:54, Mindaugas Rasiukevicius wrote: > Adrian Chadd wrote: >> I think it's slightly unfair to propose a new extension for BPF >> without any in-tree users. >> > > We have in-tree user in NetBSD as mentioned in the previous email: Ah, cool. I missed that. >> > It provides us a capability to offload more complex packet processing. >> > My primary user would be NPF in NetBSD, e.g. one of the operations is to >> > lookup an IP address in a table/ipset. > > I would like to coordinate the reservation of BPF opcodes though. That's a good idea. I have no problem with that. -adrian