From owner-freebsd-net@freebsd.org Thu Nov 7 16:23:47 2019 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 0ADCD1B9383 for ; Thu, 7 Nov 2019 16:23:47 +0000 (UTC) (envelope-from damien.deville@stormshield.eu) Received: from work.stormshield.eu (gwlille.netasq.com [91.212.116.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4787xt0JQwz3QHk; Thu, 7 Nov 2019 16:23:45 +0000 (UTC) (envelope-from damien.deville@stormshield.eu) Received: from work.stormshield.eu (localhost.localdomain [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTPS id 76BB33B46612; Thu, 7 Nov 2019 17:23:34 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 5B8CD3B46611; Thu, 7 Nov 2019 17:23:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 work.stormshield.eu 5B8CD3B46611 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormshield.eu; s=BBC9ECEA-016A-11EA-9CC1-8A393C11FBBB; t=1573143814; bh=zhW6Rf5DUjUjaH6KXzmL3o5IKkw7gqS5E0l1uAyWrmM=; h=Date:From:To:Message-ID:MIME-Version; b=70LCMVtQRh6PxzqunfpMsEGqxxMczuUuHtBxcUQqy8umpRY4dJQfHc5vWVxjb+0FZ NPH7gaQr+tv0Vj1uwGhCMz7mwO+9SsH4c/7MnV1iqiLZ+iJUfUq06G7fW08WRE2L60 U1q2vW4/pbJieVDZBmKq8VRwpn8r+VyRZ0rcBe/HlQMbMwRxsPItMIdJ6GNXUht/I3 KBXzueNoR7HDuxvRCIDfhksqLeJSuatO4iIZUQX3787Uz6efwsWet/VLRfle9yvrnx bYPxmLknklOEBC6ZIJl3Crj1XZ8H8jxM9n9ByyhJPSQYrHQpnO9RprFEx2t0otU2eA gqNrOV6o0UPLQ== Received: from work.stormshield.eu ([127.0.0.1]) by localhost (work.stormshield.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IGQ06Mjoe1E6; Thu, 7 Nov 2019 17:23:34 +0100 (CET) Received: from work.stormshield.eu (localhost.localdomain [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 370C33B465FB; Thu, 7 Nov 2019 17:23:34 +0100 (CET) Date: Thu, 7 Nov 2019 17:23:34 +0100 (CET) From: Damien DEVILLE To: ae Cc: Eugene Grosbein , Lawrence Stewart , olivier , Kurt Jaeger , freebsd-net Message-ID: <1240615617.3207954.1573143814176.JavaMail.zimbra@stormshield.eu> In-Reply-To: <744829a7-be59-6a8d-8405-ab0afa335620@FreeBSD.org> References: <20191104194637.GA71627@home.opsec.eu> <261b842d-51eb-4522-6ef5-0672e5d1594e@grosbein.net> <20191107073255.GU8521@funkthat.com> <54db0c82-ad44-13ed-8e1f-702557f331e5@grosbein.net> <972466586.1921723.1573120331472.JavaMail.zimbra@stormshield.eu> <744829a7-be59-6a8d-8405-ab0afa335620@FreeBSD.org> Subject: Re: 10g IPsec ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thread-Topic: 10g IPsec ? Thread-Index: uge7Sc5lDEm+O/VFQcQJ76SXt7jGNg== X-Rspamd-Queue-Id: 4787xt0JQwz3QHk X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=stormshield.eu header.s=BBC9ECEA-016A-11EA-9CC1-8A393C11FBBB header.b=70LCMVtQ; dmarc=none; spf=pass (mx1.freebsd.org: domain of damien.deville@stormshield.eu designates 91.212.116.1 as permitted sender) smtp.mailfrom=damien.deville@stormshield.eu X-Spamd-Result: default: False [1.14 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[stormshield.eu:s=BBC9ECEA-016A-11EA-9CC1-8A393C11FBBB]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.212.116.1:c]; NEURAL_HAM_LONG(-0.21)[-0.207,0]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[stormshield.eu]; NEURAL_SPAM_MEDIUM(0.33)[0.331,0]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[stormshield.eu:+]; RCVD_IN_DNSWL_NONE(0.00)[1.116.212.91.list.dnswl.org : 127.0.10.0]; IP_SCORE(0.52)[ip: (1.37), ipnet: 91.212.116.0/24(0.68), asn: 49068(0.55), country: FR(-0.00)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:49068, ipnet:91.212.116.0/24, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 07 Nov 2019 16:23:47 -0000 Hi Andrey, For the moment we are not using hardware crypto offloading devices except A= ESNI instruction set mainly because our product are certified by common cri= teria and thus have restriction on how crypto can be made. We have some pla= n to look at intel quick-assist, chelsio or melanox devices in the future. Damien -- Damien Deville IPS Technical Leader http://www.stormshield.eu Stormshield 2/6 Avenue de l'Horizon, Bat. 6 - FR 59650 Villeneuve d'Ascq ----- Le 7 Nov 19, =C3=A0 17:12, ae ae@FreeBSD.org a =C3=A9crit : | On 07.11.2019 12:52, Damien DEVILLE wrote: |> At Stormshield we have various patches related to that topic that we |> can share. |=20 | Hi, |=20 | that would be nice. |=20 |> The goal was to optimize this code in the context of a single IPsec |> tunnel and a single network flow in that tunnel. On one of our high |> end hardware (Intel(R) Xeon(R) E-2176G with 6 cores / ixl network |> cards), the previous code was running around 2.4Gbps using AES-GCM |=20 | Have you thought about implementing hardware IPsec offloading on NICs? | I saw Intel's and Mellanox's documentation about such support, I think | Chelsio also does support it. It probably can give good performance boost= . |=20 |=20 | -- | WBR, Andrey V. Elsukov