From owner-freebsd-net@FreeBSD.ORG Fri Mar 16 22:48:56 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37E2A106566C for ; Fri, 16 Mar 2012 22:48:56 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id C4A628FC0A for ; Fri, 16 Mar 2012 22:48:55 +0000 (UTC) Received: by wibhr17 with SMTP id hr17so1364391wib.1 for ; Fri, 16 Mar 2012 15:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CAW4IWfKhw+jsYWMtzsVoHiWVA2JAJRq03/91HzgDlU=; b=Sp0gFXRpe49AZQ5jNOgX+nCTX7XGtPSNk+S1mjbNa21f0B3vf8gtqn0ZNgR9nJIX6B Y0zQKsyYnsxLnCAWQlE0GduLvr4Gb2nJ3pB4ckSDNjZQc0MAbw4R4Aj/4/PWkrYrqGpn 9VRpN/5jqIpBmnFMi71JxqGfXAdvfCkBEmilNn23FlDZAO426/8XsQPDaliwfGsRnwDj znlDSF3A/orJS3HpCV7Y0p0h3x5ug/7DHYSBDPQgdaHMG7i3Kp4J776t6Vp8yqcp2lw+ 1EVyfBg26Yy3puFB64Nh68g5GeBSdyiXnnYoyN0lj94bJw74chJbmn0bltay265d7ZsV 0E6w== MIME-Version: 1.0 Received: by 10.180.97.41 with SMTP id dx9mr2113984wib.9.1331938129021; Fri, 16 Mar 2012 15:48:49 -0700 (PDT) Received: by 10.180.102.6 with HTTP; Fri, 16 Mar 2012 15:48:48 -0700 (PDT) Date: Fri, 16 Mar 2012 18:48:48 -0400 Message-ID: From: grarpamp To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: netmap X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 22:48:56 -0000 Hi. I read most of the netmap paper. In short, cool work :) I have one question... is this meant only for use with dedicated tap interfaces? Or will it be integrated with the mangement interface? Example... Today: fxp0 - onboard NIC, 192.168.0.10, ssh, httpd, smtp, tcpdump, etc. ixgbe0 - PCIe addon NIC, tap interface, netmap Tomorrow: ixgbe0 - all the above functions in one NIC It would seem to me that an 'emulate an interface' shim/driver could be written that would hook into netmap below and provide all the normal interface semantics above. netmap interface <--> emulation driver <--> 'net0' interface So example... /etc/rc.conf:netmap_emulate1='ixgbe0 net0' /etc/rc.conf:netmap_emulate2='em0 net1' /etc/rc.conf:netmap_emulate3='fxp1 net2' /etc/rc.conf:ifconfig_net0='inet 10.0.0.3/24' ifconfig net0 192.168.0.10/24 -alias ifconfig net0 ::1 tcpdump, httpd, sshd, ... ipfw, pf, netgraph, vlan, bridge, carp, ... and all the other various capabilities of a physical NIC, etc... Also, though perhaps not needed for line rate capture, but for making a standard interface to them... will various 10/100/1000 NICS such as fxp, em, de, bfe, etc... end up being netmap capable?