From owner-freebsd-current@FreeBSD.ORG Sat Oct 6 23:57:43 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1573106566B for ; Sat, 6 Oct 2012 23:57:43 +0000 (UTC) (envelope-from andy@fud.org.nz) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 927728FC12 for ; Sat, 6 Oct 2012 23:57:43 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so3296505pad.13 for ; Sat, 06 Oct 2012 16:57:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=BbFnUnE7/n2vB0lNrdBYVNbGLHHKrJlWfvK1Pz94IXU=; b=NgdN2JRfR8I+RQHag9lcBdidrme7QAAPbEQ0KOddUErEINamA+eRXHvToZFIiCezWI kKt0e5KGd7VO6xM6ce7bhRcQovdAoS3oLgujkFvvANRLzvvmSg1jKlTAO+Rr/MERyNVy xtQ37HshSpPQCNyFL8EL3t8nKbXnDZQAo1NEkXaFIk3xWyxNf3N5ggBSIA96QW1T5rpA AE6F9F4QIOzc0MdW0GXxqsVKX7oR5v3FozLPogTrsTr2i2BBTWfrqLdA9OmNMbLwJE30 FIML6xqAaDHSOYStp9cD1aFRxJPQ6N96ELIRX149Hje3WmsDnIeYYvuBVAK3CqbQkaAr 0iAQ== MIME-Version: 1.0 Received: by 10.66.87.132 with SMTP id ay4mr32047453pab.82.1349567862395; Sat, 06 Oct 2012 16:57:42 -0700 (PDT) Sender: andy@fud.org.nz Received: by 10.68.237.41 with HTTP; Sat, 6 Oct 2012 16:57:42 -0700 (PDT) In-Reply-To: <20121006172834.GB63649@onelab2.iet.unipi.it> References: <20121006172834.GB63649@onelab2.iet.unipi.it> Date: Sun, 7 Oct 2012 12:57:42 +1300 X-Google-Sender-Auth: WNBlJgkIAJyYIjr6V850NEXMEW4 Message-ID: From: Andrew Thompson To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmR3PtnVnDmORVRzvfo2N+TjTZ81PXnK9KtVYKaCVfxo2uUnZ8b6MBz3YPmGksGzm25X3z5 Cc: current@freebsd.org Subject: Re: sysctl-controlled key-value store ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2012 23:57:43 -0000 On 7 October 2012 06:28, Luigi Rizzo wrote: > Hi, > in order to control some netmap feature (namely, which interfaces > are attached to VALE switches), i would considering the use of > a sysctl interface triggering a sysctl-proc, something of the form > > dev.netmap.switch.xyz=em0 ix1 > dev.netmap.switch.foo=ix2 re0 Is it possible to use ifconfig? If a VALE switch was a pseudo interface and you added real interfaces to it then it would be consistent with the current networking fu. Andrew