From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7810EA0548 for ; Thu, 11 Aug 2022 10:26:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E18142C22; Thu, 11 Aug 2022 10:25:14 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70115.outbound.protection.outlook.com [40.107.7.115]) by mails.dpdk.org (Postfix) with ESMTP id 53B574014F for ; Mon, 1 Aug 2022 16:00:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OabLW+U2yFIfGX1TAgTz7HA1eX3nHFZnSxOCuegDn85/N7LMVRioPFTcMvHJLg02vagtyqNCSFXXGvCyqMmcouFtC/1brbNcQYNpAxSugItPU/ETRj0UjJOLTLXkk0aEHQzF0+XLXMr03iVCPp5PnJT6WzcBBcbIuOyuZUvt5BvrG6kYVLXLSUT3V+HIN5dHDKRUE06OOYdGJtTMVqc1RCwrolUG6Zzn12Kr3osDuEHjp7DKGkUDFHQMXoFlV7CLJf1opO79V5kTVBY7IF4fQRPQj4ECoNolNIYgxae7O75/+NyQB3lmVv4CrRfKAKyG0v2W0bMV3hOb3TanaO75Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qE+4YMv30i1gKwUlIWYqE6UL+Vezt3EZ9g88KObQeIk=; b=htFhsTYh6vUoJZ1vT+WhP4Ft7PBtjRQWAeJ0Fr2eHM+UzLcosuzLcz3Hf9bSGqB68mwHTxgmz1wDNJLcA9wWvNolhPZ4JEJ7gtA2MOFXH9Lat6ge6zLQdmzd0PyFLcCfMHOoGOdG9drfByiBXeI85hQDVKdgVXQ+BbcbkVtxiLH8rG4J/6ws8fuNGJKuRkfSMUjrlBGlLB1SIR8iQpAN1HvzKV6f50tzqvaNzFn9IduJS8iU0JYh1HRRW1JqsQN06u6jC1BrgGrPlP3r3OjnY0qXEzhrVadHPHfk6XFpjyg938obm95uxGonHeX7OzxcluXoprTxkD5clOfAlGPYyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=thalesdigital.io; dmarc=pass action=none header.from=thalesdigital.io; dkim=pass header.d=thalesdigital.io; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thalesdigital.io; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qE+4YMv30i1gKwUlIWYqE6UL+Vezt3EZ9g88KObQeIk=; b=dLW/69UiphPdyk0GdxscF7Gkx6NUkZgASX3BuXXk+qrlOP9+GWavDrwwiReOneT00NV0BFU1JUjTUeDnPORSPXHPkx1H03FQR5DgJBIw68SJL6uV2IpYVoN96rWwFv+k8Yxuk5mYOGdsXqWrEp0SQAjOKjawpND4TS7Gyj/G4s0= Received: from VI1PR08MB3871.eurprd08.prod.outlook.com (2603:10a6:803:b7::17) by GV2PR08MB8003.eurprd08.prod.outlook.com (2603:10a6:150:af::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.16; Mon, 1 Aug 2022 14:00:56 +0000 Received: from VI1PR08MB3871.eurprd08.prod.outlook.com ([fe80::dbe:2a7a:52a7:aa5a]) by VI1PR08MB3871.eurprd08.prod.outlook.com ([fe80::dbe:2a7a:52a7:aa5a%6]) with mapi id 15.20.5482.016; Mon, 1 Aug 2022 14:00:56 +0000 From: Nirilanto RAKOTOSALAMA To: "users@dpdk.org" Subject: MACSEC encryption in dpdk app Thread-Topic: MACSEC encryption in dpdk app Thread-Index: AQHYpajTaQHou7WppEaJOrfROOof6Q== Date: Mon, 1 Aug 2022 14:00:56 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=thalesdigital.io; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 66ed1336-acf5-488f-06ea-08da73c6413a x-ms-traffictypediagnostic: GV2PR08MB8003:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AicZsfWHbIme4vyLN/sYkFLAcqdIi/pq/1UvZfCVNs3ZFvm1JE7lZvXF6WScs9fcU3S9affbBVHlEUx8/51QvMR5JZ3bKzGFTRjQJwkZ7bvSEEbj4W6iAsakXGk+9BmRyYRmIgIVvaUo7Bg5GI5kbF58P/mi/nr/yCd9e/tqyadoZ85axTCa2dZ0t+YeauuR8EIXoVryZUVWW6F71qpFRWDyumgtuOU5JuyQG1sa5zAqfD88Dp6riLprOjwuFpBpyoYOPaBMr2ksesTN4+TNulaUCFNmLdqYmWzDeb1OJg/SpVIsQ8LZNsaxKRv8RrXNeLC/+re2B9pN3Kv5HST4vu/Pua06rvn2rIOypM8Ij/d5+f78NZrOApnCa7NUy59F5v9OY2LDeFsm8iJ1bbqUpBD7S4Ksq/rRi8robkD5EdrMM+Tf8vIJjNZqQwePLzH4ZflAdmopwb2NBMjjYeiwO1lak5sPE7pO7D3jKeG0LynoMO0g59xiIoqS45v5juv8u+rZzSMIreLepoFcMAQBQQFw00zJ4p1J2nrfgQSmFs8TaeR+8/HYc3TY3phVkYgpSzAGbCq4Qg++NXZ729OyjQC6NemJkthhhcc9VD1bHvOIue6XxCjowc/W901o+yexdT/iMG7wrZ2qnlbp53P5+0Q+bOCuodKC1N+E3zDKAtriKI0uFuKaeWsoYCZNrrCvmLWHJ6v/s1cRtzuT1pQmyFF72hSb/cYcALNPsbyrFrQ0gopc6xuRHgg8/btwrcQmO6WC2tibAveBPssSYJVyDLEjOft+Y6ZHre/U8wYPqtU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB3871.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(346002)(39850400004)(366004)(396003)(376002)(136003)(478600001)(86362001)(66446008)(64756008)(8676002)(66476007)(66556008)(82960400001)(71200400001)(66946007)(91956017)(76116006)(83380400001)(55016003)(33656002)(6916009)(186003)(38100700002)(19627405001)(122000001)(41300700001)(2906002)(9686003)(316002)(5660300002)(38070700005)(6506007)(7696005)(8936002)(26005)(52536014)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?ZSgZTslE3ttXmhCKTt8o9cYbfzUazYsquykQptri9ntEYRIZZJ20webPIL?= =?iso-8859-1?Q?/IxDF9P9NcXykYdPmrrctOXa3YAk+Q6sTcGZZUr1Z+DS97O1uggwjJkV6m?= =?iso-8859-1?Q?MCW1wc9JgWv5bqOHUQTSJwkXnpOpcd5y4KqDDUcHWMbXsVhwm0k7gLHOd2?= =?iso-8859-1?Q?EFH/1SuXBXh7crdMIxF5qaLJqYpJTLyfLLrek+ebOfKq9eNvR6z6sBs+uj?= =?iso-8859-1?Q?5momOr711DsuEGDiXOm6nh2bRsecT1+UoJFMk4olfjR6mB8XVgvHeUHm7d?= =?iso-8859-1?Q?faJoLDgxEbTWiLoGwIR0jVZf1lPxEBt/sTAlYX6gNHHrmoOGEKotwQdfex?= =?iso-8859-1?Q?LrJ4IXI/PHX3DFximKTl9BkMgaodElaLKGkXbZojqKAlrKvygRxgFuf+M+?= =?iso-8859-1?Q?57XlwUd9kXmoystl2YjL3nTgbDaU0N87qu6EgWJMKT7zKKt+h1Ze4v2YUQ?= =?iso-8859-1?Q?jtnFgGmZU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EWYsFLQr?= =?iso-8859-1?Q?sZyNGQRH+EtEG1fRlDklLPnNk9VgFzN5LdKXXwzC+NHFMQKf2lo1qi7Xry?= =?iso-8859-1?Q?rh+J8recq8xsZWX71D5G/S3AsT9RO48QIi+R0lrgRJ+M5KVD1U6wlzyABa?= =?iso-8859-1?Q?HFs2W72GfyhyPNDc9nOWoGClvz2MfNWZxC4diPF7ApK6k98WFPFk/Yy/i9?= =?iso-8859-1?Q?DlKiExhaI7d3X0MsSTxfwsVlE7ytCjPwWkAfaOlh9YmZtXUHDqk7N1kOm7?= =?iso-8859-1?Q?nRRaN3ROmK3QnSC0pQ6d3VedVpZbxwq/O/Xm423OBPpCns9Ew+UuekqnmL?= =?iso-8859-1?Q?mTYn2JtJ26XlpEpajY8=3D?= Content-Type: multipart/alternative; boundary="_000_VI1PR08MB387166AA4507A3BCEA66F52FB19A9VI1PR08MB3871eurp_" MIME-Version: 1.0 X-OriginatorOrg: thalesdigital.io X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR08MB3871.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66ed1336-acf5-488f-06ea-08da73c6413a X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2022 14:00:56.0918 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 737c6905-f186-4bcf-afb3-43e349ee23a3 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lB4aDUsEIt7W9HZMUMVRnBqi9N9mpZsjhFNZQdMCFkfMaiyLLjzWKoVQqqAY8cytn9RmUPo3+EFhlk4Cw0lwPBdavydT+gHd6krfu+lbcwfby55eKXHC+tp0GEFKcOgj/nn16JMR8PgnhLGsPHT6kA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB8003 X-Mailman-Approved-At: Thu, 11 Aug 2022 10:25:12 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_VI1PR08MB387166AA4507A3BCEA66F52FB19A9VI1PR08MB3871eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have specific usecase where I want to do Macsec encryption inside worker = thread. My data plane chain is the following : ______ ________ ___________________ RX =3D=3D> | QoS | =3D=3D> | Encrypt | =3D=3D> | Custom satcom encap|= =3D=3D> TX |_____| |_______| |__________________ | It seems the rte_security API does not yet implement MACSEC protocol. Do yo= u confirm ? It seems the other way is using rte_cryptodev API but the pmd way but I don= 't know if it fits my usecase (single working thread). Then, what is the best way to do ? Is there any lower encryption API I can = use to do full soft (handmade macsec) implementation ? Best regards. Niry This message contains confidential information and is intended only for the= individual(s) addressed in the message. If you are not the named addressee= , you should not disseminate, distribute, or copy this e-mail. If you are n= ot the intended recipient, you are notified that disclosing, distributing, = or copying this e-mail is strictly prohibited. --_000_VI1PR08MB387166AA4507A3BCEA66F52FB19A9VI1PR08MB3871eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

I have specific usecase where I want to do Macsec encryption inside worker = thread. My data plane chain is the following  :

                 ______  =           ________        &nbs= p; ___________________
RX  =3D=3D>   | QoS   |  =3D=3D> | Encr= ypt | =3D=3D> | Custom satcom encap|  =3D=3D> TX
                |_____|   = ;       |_______|         |________= __________ |

It seems the rte_security API does not yet implement MACSEC proto= col. Do you confirm ?
It seems the other way is using rte_cryptodev API but the pmd way but I don= 't know if it fits my usecase (single working thread).

Then, what is the best way to do ? Is there any lower encryption API I can use to do full soft (handmade macsec) impl= ementation ?

Best regards.

Niry

This message contains confidential information and is intended only for the= individual(s) addressed in the message. If you are not the named addressee= , you should not disseminate, distribute, or copy this e-mail. If you are n= ot the intended recipient, you are notified that disclosing, distributing, or copying this e-mail is strictly= prohibited.

--_000_VI1PR08MB387166AA4507A3BCEA66F52FB19A9VI1PR08MB3871eurp_--