From owner-freebsd-net@FreeBSD.ORG Wed Aug 27 22:23:52 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 459B25E8 for ; Wed, 27 Aug 2014 22:23:52 +0000 (UTC) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (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 C05F13581 for ; Wed, 27 Aug 2014 22:23:51 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id mc6so170827lab.15 for ; Wed, 27 Aug 2014 15:23:49 -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=+YOtwvLQNoUblf3ZrkZ3w+lwQw2s/e0Zu7UpOVrwWFk=; b=yrskkKS6iGJ1dSMizTwY8W8IUqoBFeyS8tLLTpQG70z0KGuxtkTUiGpcSHp01EZsfm Ui1AS5FEji4oul5RbC6mcz2g03YcuHRol/p+gM60herEH6A+Vp3QXtOoXcCHlwn2zjOK 0WiPuIDRth1Gs7exPlSTDTIpp0nDu4vz4zEuROy/lYv2i7zoFo2M4GaWI6NxFthJhtYf vp9z+s5DzLh5FB+EG1EceL6TH2oUYtKRawbwL5tlANAwJKdwFdLig4iDJ/+THTdRnb+2 nYqPWrKHHnSaWsfKnc0G0dvJgwinl+jRwff59OALcIVOuz7rFSRLHaMlG9WIgQulTBWN cK/A== MIME-Version: 1.0 X-Received: by 10.152.7.70 with SMTP id h6mr5812923laa.96.1409178229535; Wed, 27 Aug 2014 15:23:49 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.244.2 with HTTP; Wed, 27 Aug 2014 15:23:49 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Aug 2014 15:23:49 -0700 X-Google-Sender-Auth: XjbFZJSQng_ooRhz4RkxS8S-RLU Message-ID: Subject: Re: help porting netmap to new driver From: Luigi Rizzo To: David Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 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, 27 Aug 2014 22:23:52 -0000 On Wed, Aug 27, 2014 at 3:18 PM, David wrote: > Hi, > > I'm needing to use netmap on a custom driver, I don't understand the > content of the functions I need to implement and that are detailed on > "PORTING" file. > > =E2=80=8Bsometimes (often, actually) the hw has bottlenecks that make nativ= e netmap mode almost useless. =E2=80=8BOne thing you could try is the "emulated netmap mode" which is used by default=E2=80=8B if the driver has no native support. This is in the code on code.google.com/p/netmap/ , the branch "next" (which is basically the code now in FreeBSD) has some fixes for that specific feature cheers luigi can someone give a hand to understand it better? > > regards > > -- > David D=C3=ADaz Barquero > > Ingenier=C3=ADa en Computadores > Tecnol=C3=B3gico de Costa Rica > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --=20 -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2211611 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------