From owner-freebsd-hackers@freebsd.org Thu Dec 17 22:42:46 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93F114C69AA; Thu, 17 Dec 2020 22:42:46 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cxn7p3gVKz4tST; Thu, 17 Dec 2020 22:42:46 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id 68EBB282C8; Thu, 17 Dec 2020 22:42:46 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pj1-f42.google.com with SMTP id iq13so220706pjb.3; Thu, 17 Dec 2020 14:42:46 -0800 (PST) X-Gm-Message-State: AOAM5306uKNK9ma6ZIGD88JTugZZKWDe3mp//IwE/eMibJEJOCR+cwM8 5NS28G1qEYxFUher/sB+rCKuekI7etgfmx7w00I= X-Google-Smtp-Source: ABdhPJyw4tJJRkcM1RUgZ6h8skTnN93nl+BD3x4DP8Qxv8Ki9TIBXoRgJET3LWB/fS/p+WrCqT7XlGUBW2RAB2xvM9o= X-Received: by 2002:a17:90a:4dcd:: with SMTP id r13mr1353911pjl.74.1608244965212; Thu, 17 Dec 2020 14:42:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Vincenzo Maffione Date: Thu, 17 Dec 2020 23:42:33 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Netmap Library not getting installed on custom kernel installation To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Cc: Rajesh Kumar , "freebsd-net@freebsd.org" , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 22:42:46 -0000 Il giorno gio 17 dic 2020 alle ore 15:18 Olivier Cochard-Labb=C3=A9 < olivier@freebsd.org> ha scritto: > On Wed, Dec 16, 2020 at 9:53 PM Vincenzo Maffione > wrote: > >> >> On a side note, the netmap tools (pkt-gen, bridge, lb, etc.) should real= ly >> be a port. Another TODO item. >> >> > There is already one port for an old version of pkt-gen: > https://svnweb.freebsd.org/ports/head/net/pkt-gen/ > > Thanks. I would however prefer to have a "netmap-tools" port, so that you get all the basic applications at once. They are actually just 4-5, so it is worth avoiding multiple ports. And here is a custom port's patch to upgrade this port to a not-so-old > version including a quick&dirty range bug fix (cleaner version > fresh-from-today official netmap github), and adding a new option to > prevent doing software IP & UDP checksum by default (because it consumes = a > lot of ressource on 40G or 100G NIC and Chelsio NIC are able to do hardwa= re > checksum in netmap mode): > > https://github.com/ocochard/BSDRP/blob/master/BSDRP/patches/ports.pkt-gen= .patch > > I see. That should be pushed on the github (and then reflected on the src tree). The current netmap tools that live in tools/tools/netmap are actually aligned with the github. Thanks, Vincenzo > Regards, > > Olivier > > >