From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 5A52A45700
	for <public@inbox.dpdk.org>; Wed, 31 Jul 2024 12:45:39 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 9064B40E64;
	Wed, 31 Jul 2024 12:45:35 +0200 (CEST)
Received: from fout6-smtp.messagingengine.com (fout6-smtp.messagingengine.com
 [103.168.172.149])
 by mails.dpdk.org (Postfix) with ESMTP id C7EC240696;
 Wed, 31 Jul 2024 12:39:33 +0200 (CEST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailfout.nyi.internal (Postfix) with ESMTP id 50D3113823A1;
 Wed, 31 Jul 2024 06:39:33 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Wed, 31 Jul 2024 06:39:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm3; t=1722422373;
 x=1722508773; bh=GHJ3FYAOhn+I0/+mFW/l1foRVbkKVNCSpEnXb9LzW8U=; b=
 DRLA2UqaE9xbEz9sU1EI8TC5sPXkZvOSv3DY+p8ZgJE+ya4JVHJIvcH3AtnNGT6t
 sMnOUMqOkDn2kJpNDhy1zrUzS1X9bjoFKEINYlubfI0+cPt3ZZjvGcMKbV4Pyt4E
 g3Ib0M0TeixKfusdOHxc5SMkKE6vXHlxvDMW1kZI/Lv7Q7UbPzz5UqZguwZW04h2
 AbI3yOI3yEIA1trrWtuvyJIhHXxxUatj/effwJCQIbVph8gzsJt0EcJtvofRMCZ8
 ij6qE5MdPMHt16NZ48ugAeyiklC9eFjuan/oZa+Gi6wPlhbiwJuKwgT5pXdNw3kW
 z8+moTANtBnzfNc3uOLTrA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722422373; x=
 1722508773; bh=GHJ3FYAOhn+I0/+mFW/l1foRVbkKVNCSpEnXb9LzW8U=; b=f
 r9GrNzRIKn/3DnBXLqrrB+/8AqnefGS8TL8UkHtZIf2u6BSC5ov1SVbGjCIe0uBf
 GqNVwSick6jMf4aig3bUQ34vi0qkYARq5Ti+b8D64/DyE8rBqgMxhi/f4ySJVIMF
 moFUIVI6EJ4HGdPZeTpZ6lD8hYxTiagSoHw+iHmtfcMM6vNutW97wITy3M3kT9gT
 Z2hY6+zTMrUBK2Q81uuPyHG6IOsKWASHMhleCFxVRZMoQDE+EEsF0QiD97HjjEWM
 LhXRQRdftBR2d8JLB42+lVCdn5ZzQuChurA2rj5pNtq87D5Hs7g7KgMRJkVMe3w3
 EQ0UW7KbqY0PEMdJFWmjQ==
X-ME-Sender: <xms:ZBSqZnhlUWhFSfiRzPyq3CGl1cKEB6miQ0Hf1n3Dz-XDeEAHjdsd6Q>
 <xme:ZBSqZkAgaG5jnyPm291EKcYEgysDjw0FUQ2XwidCRn7Hy-U9EMsFeUHsAZX77fy1M
 mjLqzJ8C0HMdQAexA>
X-ME-Received: <xmr:ZBSqZnGTr8FBcQnBLOrniJXukbiuKBu_AxtPl0EomYPTyu3q2ww0xgIP5_lPMGgk9NDSXdWIbqV_3hVNL8manoOZfQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeeigdefvdcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvfevufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepffdtuefhhedvkeelleevffdvlefhleehvdegtddvvdduueeivedt
 gfejvddugeefnecuffhomhgrihhnpeguphgukhdrohhrghenucevlhhushhtvghrufhiii
 gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhn
 rdhnvghtpdhnsggprhgtphhtthhopedt
X-ME-Proxy: <xmx:ZBSqZkS5SGWbVeBzTGmDEJFc_PuxJwVy0Sx9soUcqEmZ9AlwFXW0EA>
 <xmx:ZBSqZky-XXUNg4hQENreUWF1EVBIjlk254n0LoTQnUuZbhzOSFS-6w>
 <xmx:ZBSqZq7q2AjkcUsLLfnvY2GM7d-trDuhxvGRkKp7eKRRD-m42dDY8A>
 <xmx:ZBSqZpzROVYco6C9nG5nN51JclTIp99pTTRQqnKAlIR-zTA3Gleiwg>
 <xmx:ZRSqZjk6nvNUZ6sIx6qHlTdlW8-ErfoPGsoos7jg6n4r95wUf7HHq4Wu>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 31 Jul 2024 06:39:31 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Yaron Illouz <yaroni@radcom.com>
Cc: "users@dpdk.org" <users@dpdk.org>, "dev@dpdk.org" <dev@dpdk.org>,
 Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,
 Radu Nicolau <radu.nicolau@intel.com>, Akhil Goyal <gakhil@marvell.com>,
 Kai Ji <kai.ji@intel.com>, Anoob Joseph <anoobj@marvell.com>
Subject: Re: ipsec on dpdk
Date: Wed, 31 Jul 2024 12:39:30 +0200
Message-ID: <3105959.ktpJ11cQ8Q@thomas>
In-Reply-To: <AM9PR09MB49953F54F5C999BB0871C97CA1B62@AM9PR09MB4995.eurprd09.prod.outlook.com>
References: <AM9PR09MB49953F54F5C999BB0871C97CA1B62@AM9PR09MB4995.eurprd09.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org

Hello,

Adding Cc some experts.

About the IPsec support, we are writing a document, it is in progress.


28/07/2024 14:51, Yaron Illouz:
> Hi
>=20
> I am interested to do ipsec encoding and decoding in my dpdk application
> From my readings, i understand ipsec can be done one time in the nic (inl=
ine ipsec) or with multiple calls (rte_cryptodev_enqueue_burst, rte_cryptod=
ev_dequeue_burst....)
>=20
>=20
>   1.  If ipsec is done by nic I only need to call rte_ipsec_pkt_process(.=
=2E.) without other functions?
>=20
> I use  rte_eth_rx_burst to read from nic.
>=20
>   1.  Where do I see list of nic that support nic inline ipsec? I believe=
 not all dpdk nic support it.
>   2.  How much does it impact performance ? is there a table of performan=
ce per nic?
>   3.  My application is multi process, I can see in documentation :
>=20
> =E2=80=9CCurrently, the security library does not support the case of mul=
ti-process. It will be updated in the future releases.=E2=80=9D From https:=
//doc.dpdk.org/guides/prog_guide/rte_security.html
>=20
> So ipsec also is not supported for multi process application?
>=20
> Even if done inline by the nic?
>=20
> And what about non inline ipsec for multi process applications?
>=20
>=20
>=20
>   1.  Is ip sec also supported in multi queue with rte flow in the inline=
 ipsec ?
>=20