From owner-freebsd-net@FreeBSD.ORG Tue Jun 17 11:55:24 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D5B9D77 for ; Tue, 17 Jun 2014 11:55:24 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D575D2649 for ; Tue, 17 Jun 2014 11:55:23 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id x12so6982299wgg.10 for ; Tue, 17 Jun 2014 04:55:22 -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:message-id:subject :from:to:cc:content-type; bh=o9gxSGErIX0MJjdZPYm46KvN3PEmvkU8q3CmQB4Q/cQ=; b=WzaJKRSfcOKS+xDvC/eilxqXQKZcsUQ92vSdLjRp6QXKbNXbVho6a6CG5GAspX1eZo 3sbKyP1USZsQaNz+x7W9Ti1ziFUSK6hxkxm1rRtsWnFRHRLTf3lpo1Xi+ZZ687qI+Jx0 cxfFewmhwQoe3DTzvMrIqvggx9lMTFERH8oXE9iZi3zxriAC70EGKPoJupTdy2pB9Idx 478W9RXZhqqSbj/mu6hzzscEL8PhA9sllTl181qrW6fPhBgE4iWHS1m1HBkyC5VEIuP8 SeD/HVGFnnI0UNkcXQ8FyW2ezgVLZ3ysN6Rd9oTgljpJNJd6yGJLyJH3kdnSbjchn/uU nLdg== MIME-Version: 1.0 X-Received: by 10.180.83.131 with SMTP id q3mr35666013wiy.31.1403006121905; Tue, 17 Jun 2014 04:55:21 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.194.246.130 with HTTP; Tue, 17 Jun 2014 04:55:21 -0700 (PDT) In-Reply-To: References: <20140614101523.GD22187@onelab2.iet.unipi.it> Date: Tue, 17 Jun 2014 13:55:21 +0200 X-Google-Sender-Auth: t1TQrhjgklmulXmju6Bc9GF3Wpk Message-ID: Subject: Re: netmap From: Luigi Rizzo To: Carlos Ferreira Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 11:55:24 -0000 On Mon, Jun 16, 2014 at 5:30 PM, Carlos Ferreira wrote: > Ok, thanks for the enlightenment regarding the loss of performance. > > One question, just to be sure. Does the kernel module contains the VALA > switch code? Or do I need to compile extra code to have the switch workin= g? > Also, where can I find the documentation to use the Vala Switch? > =E2=80=8BVALE is part of the netmap kernel module, the only thing you need to know to use it is port names: you can have multiple switch instances with multiple ports each, valeX:Y means port Y on switch X, X and Y are arbitrary strings with the constraint that the whole name must fit 15 characters. Details in the netmap manpage cheers luigi