From owner-freebsd-net@FreeBSD.ORG Thu Jan 23 22:39:28 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 7EFA3AC7 for ; Thu, 23 Jan 2014 22:39:28 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 021EB1481 for ; Thu, 23 Jan 2014 22:39:27 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id mc6so2036427lab.28 for ; Thu, 23 Jan 2014 14:39:26 -0800 (PST) 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=GdXqxKIxOn9v8zMV8b1Vfa6DHgUA4inpbehnQusZgSQ=; b=FVtlSx0BwwrOOm6AXLIMTie6I5vjGfm0SIZQSY2itbU/PWUm36aKyZE3FskLqnbBbJ /IiwE8mJrlOY4vv5Fk3aKX1jUl1732vp/j2xUKAKSHyX6rkTUTUaU2Kr3tbE4h5JQiIz hfpWlU1sK2SKxDIiEhhCTIIoWzhVqk9YRxbyWAD/fIX1ggSVMHC/DtD0MTcIG3t8cbOw R4LpHgUoza1uHdGRIyc4WkmVPlZuOvZE/oT2dpKRYB6Y5lvdThNrvPMilVMnVKp7eUij 5fusJNZ7jjaN4ICM0hlegAzR+uw8PNCOXOmLkPix+ilCcfEjECBKKf9wMVZaf2F0EdzO 5AbQ== MIME-Version: 1.0 X-Received: by 10.152.5.136 with SMTP id s8mr75601las.55.1390516766031; Thu, 23 Jan 2014 14:39:26 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.115.4.162 with HTTP; Thu, 23 Jan 2014 14:39:25 -0800 (PST) In-Reply-To: References: <20140122184552.GB98322@onelab2.iet.unipi.it> Date: Thu, 23 Jan 2014 14:39:25 -0800 X-Google-Sender-Auth: 6Zis__1e-JIjlBzxoxjdtx06XEI Message-ID: Subject: Re: Netmap in FreeBSD 10 From: Luigi Rizzo To: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "C. L. Martinez" , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 22:39:28 -0000 On Thu, Jan 23, 2014 at 2:29 PM, Olivier Cochard-Labb=E9 wrote: > On Wed, Jan 22, 2014 at 7:45 PM, Luigi Rizzo wrote: > >> >> I also suggest to update the netmap code to the one in head, >> which has more features and bugfixes. >> >> > I've tried to copy the netmap code from head to 10.0: it's a little bit > more complex than a simple copy :-) > you definitely need to bring in some small device driver modifications from head (such as svn 260368 and 257529; look for my commits after 250108 in the drivers), and probably also update sys/conf/files; but the errors below suggest that you are compiling with some of the old headers. FWIW the same applies to stable/9 as well. The reason i have not MFC'ed it yet is that we have another couple of additional features that require a small ABI change, and we'd like to do it all at once in the stable branches. Hopefully it should be only a few days now. cheers luigi