From owner-freebsd-net@FreeBSD.ORG Wed Jun 5 13:40:40 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 996BDAD9 for ; Wed, 5 Jun 2013 13:40:40 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 673A11A22 for ; Wed, 5 Jun 2013 13:40:40 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id eh20so2528440obb.39 for ; Wed, 05 Jun 2013 06:40:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to:x-gm-message-state; bh=mms8+uSZH6n7puK8st2CVsn9/RpPSqkYMP+eLRL4J5s=; b=NuKaXViBzZQNcgCpF1weZFs3S1smr9hlnlUakZwTIceI5goOSirRdxEVaAfiumTIol YWoarm8D5WH2bAd09kuHHwcEJ6Otsb5HhFNL7EJhDo+Q4wHDCg1e2/uTsX+d9iEEKoIR 5llYCYnUPy3dkQNQjVYL3vreDXrlqlQM83w4f3R2oOyR768Vmqtvc9vjJRwipVOcoLyb FgcxD+T6zQmuXbWiyTmOJXGnmtDq8s7l7jxbelVAhzOjinaW22l/Q17De+W6YxFkPlN9 J1aXs+Iv/4PaX/2KDTRKJk9+oW4dlGakutPwIK79aBLL+XuZBHMtPv+J0SCEOj4x+Kwa b3zw== X-Received: by 10.60.95.193 with SMTP id dm1mr10206135oeb.127.1370439639944; Wed, 05 Jun 2013 06:40:39 -0700 (PDT) Received: from [51.134.10.244] (66-87-120-244.pools.spcsdns.net. [66.87.120.244]) by mx.google.com with ESMTPSA id zn5sm52795855obc.10.2013.06.05.06.40.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 06:40:39 -0700 (PDT) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <580124BA-5EAA-4EE2-8BAA-7317E4BB521D@netgate.com> X-Mailer: iPhone Mail (10B350) From: Jim Thompson Subject: Re: netmap on wireless NIC Date: Wed, 5 Jun 2013 08:40:37 -0500 To: Ivan Voras X-Gm-Message-State: ALoCoQnvLTth3S4DytSsOIe+6+j7cFkQvp0iYgm0S/oL3yPmdnlJc5nIwqix3TYJdZ+nA96oRWkO Cc: "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: Wed, 05 Jun 2013 13:40:40 -0000 On Jun 5, 2013, at 7:50 AM, Ivan Voras wrote: > On 04/06/2013 23:06, Chao Xu wrote: >> Hello, >>=20 >> Is it possible to hacking some wireless NIC driver (carl9170 for example)= >> to enable netmap on it? I guess this is possible because wireless drivers= >> also manage packets using ring buffers. My goal is to access the raw >> packets as quickly as possible, not to achieve high data rate. Is there a= ny >> argument against doing so? Thank you. >=20 > Would using netmap on a wireless NIC make sense at all? There is no way th= at current wifi technologies could achieve the PPS rates at which you would n= eed netmap, and there already are other ways (e.g. pcap) to > access raw packets. 802.11ad and 8 antenna 802.11ac could pass 7gbps, in theory.=20