From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 0E00F2904 for ; Mon, 22 Jan 2018 10:19:48 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jan 2018 01:19:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,396,1511856000"; d="scan'208";a="24321025" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga001.fm.intel.com with ESMTP; 22 Jan 2018 01:19:47 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by IRSMSX107.ger.corp.intel.com ([169.254.10.239]) with mapi id 14.03.0319.002; Mon, 22 Jan 2018 09:19:46 +0000 From: "De Lara Guarch, Pablo" To: "Avi Cohen (A)" , "users@dpdk.org" Thread-Topic: l2fwd-crypto sample application Thread-Index: AdOS1Ua5rK3pNCAxQ6aNMctEFdqU4AAjASMg Date: Mon, 22 Jan 2018 09:19:45 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjA1OTIwYzUtNDlkMy00ODkwLTlkZTAtM2UxNjE5Y2NhYjZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjRPMG5hb3VmNk80SE5hXC84REw5VjVRXC9ZU1BYalBPZ1VBcEdiYzZhMUNvcz0ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] l2fwd-crypto sample application X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 09:19:49 -0000 Hi Avi, > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Avi Cohen (A) > Sent: Sunday, January 21, 2018 4:36 PM > To: users@dpdk.org > Subject: [dpdk-users] l2fwd-crypto sample application >=20 > Hi > Is it possible to run this application for the following use-case: >=20 > [similar to ipsec-secgw application] >=20 > 2 hosts A and B connected back to back via port 2 >=20 > In A: > - Clear-text packet received on port 1 > - Packet is encrypted and sent to port 2 >=20 > In B: > - the encrypted packet is received on port 2 in server B > - packet is decrypted and sent to port 1 Yes, the idea would be running L2fwd-crypto on both hosts and both ports. The command line on host A would be (example: AES-CBC only encryption) : ./l2fwd-crypto -l 1 -n 4 --vdev crypto_X -- --chain CIPHER_ONLY --cipher_al= go aes-cbc --cipher_op ENCRYPT / --cipher_iv_random_size 16 --cipher_key_random_size 16 Whereas, on host B: ./l2fwd-crypto -l 1 -n 4 --vdev crypto_X -- --chain CIPHER_ONLY --cipher_al= go aes-cbc --cipher_op DECRYPT / --cipher_iv_random_size 16 --cipher_key_random_size 16 Pablo >=20 > Best Regards > Avi >=20