From owner-freebsd-net@freebsd.org Thu Dec 17 14:18:43 2020 Return-Path: Delivered-To: freebsd-net@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 507504B909B; Thu, 17 Dec 2020 14:18:43 +0000 (UTC) (envelope-from olivier@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 4CxYyC1mlNz3k51; Thu, 17 Dec 2020 14:18:43 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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: olivier/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 2D1E123A39; Thu, 17 Dec 2020 14:18:43 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: by mail-lf1-f43.google.com with SMTP id h205so14218574lfd.5; Thu, 17 Dec 2020 06:18:43 -0800 (PST) X-Gm-Message-State: AOAM5314Pygm3WQ3WyzDFRebaKzjLf5+vRCSxpbR+4RzvroDm27ESqq5 fmS8DWQfBeKLTAd8vol2dAHAJnYVv5mTU6ENgr0= X-Google-Smtp-Source: ABdhPJx1iUt+Cdu64uNf8yGp7bGmmISnmb1HfeW3gNt4P5GKbCsfjNL8yaVKjKMA836nC+K0eQfhZ5KJfFGO3WdwoCk= X-Received: by 2002:a2e:9916:: with SMTP id v22mr8276605lji.221.1608214721678; Thu, 17 Dec 2020 06:18:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Thu, 17 Dec 2020 15:18:30 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Netmap Library not getting installed on custom kernel installation To: Vincenzo Maffione Cc: Rajesh Kumar , "freebsd-net@freebsd.org" , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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, 17 Dec 2020 14:18:43 -0000 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 really > 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/ 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 hardware checksum in netmap mode): https://github.com/ocochard/BSDRP/blob/master/BSDRP/patches/ports.pkt-gen.patch Regards, Olivier