From owner-freebsd-net@freebsd.org Fri Mar 17 22:43:31 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DFF0D108CF for ; Fri, 17 Mar 2017 22:43:31 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5FB1395 for ; Fri, 17 Mar 2017 22:43:30 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-yw0-f177.google.com ([209.85.161.177]) by mwinf5d81 with ME id xAbp1u00D3pwwoH03AbqPn; Fri, 17 Mar 2017 23:35:51 +0100 X-ME-Helo: mail-yw0-f177.google.com X-ME-Auth: Y29jaGFyZC1sYWJiZS5vbGl2aWVyQG9yYW5nZS5mcg== X-ME-Date: Fri, 17 Mar 2017 23:35:51 +0100 X-ME-IP: 209.85.161.177 Received: by mail-yw0-f177.google.com with SMTP id o4so62252530ywd.3 for ; Fri, 17 Mar 2017 15:35:50 -0700 (PDT) X-Gm-Message-State: AFeK/H2IPOfaYN4Ut2RnPK8OpBqQRppqvbyXp2rBxTuigMi4hgFpL1paC+Yw7ekfUfTy1YUeKrC7G11HUezzIA== X-Received: by 10.13.203.195 with SMTP id n186mr4714850ywd.154.1489790149483; Fri, 17 Mar 2017 15:35:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.112.195 with HTTP; Fri, 17 Mar 2017 15:35:29 -0700 (PDT) In-Reply-To: References: <58CBA727.3040108@omnilan.de> <58CBBF7A.8050604@omnilan.de> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Fri, 17 Mar 2017 23:35:29 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Are ./valte-ctl and ./bridge friends or competitors? To: Vincenzo Maffione Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 22:43:31 -0000 On Fri, Mar 17, 2017 at 6:51 PM, Vincenzo Maffione wrote: > > When using your physical NICs with netmap, you need to disable the > offloadings because netmap is not able to program the NIC to perform thes= e > offloadings. This is a design decision that has been taken to preserve > simplicity and efficiency. > =E2=80=8BHi, What do you mean by efficiency ? For the netmap's pkt-gen tool, the option of using range for source or destination IP address has some big impact because the software checksum calculation. Hopefully the Chelsio drivers allow to re-enable checksum offloading=E2=80= =8B in netmap mode: This is mandatory for reaching 10G line-rate with pkt-gen (with the range option). Regards, Olivier