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 07584A00C4; Wed, 28 Sep 2022 18:13:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1E8D4113C; Wed, 28 Sep 2022 18:13:46 +0200 (CEST) Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by mails.dpdk.org (Postfix) with ESMTP id 255DF410FA for ; Wed, 28 Sep 2022 18:13:46 +0200 (CEST) Received: by mail-qt1-f180.google.com with SMTP id g12so8253860qts.1 for ; Wed, 28 Sep 2022 09:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=LOzvDB3js/dm0gQiiE0K1u8YkL37mpAZ800NfzUziLQ=; b=P57P5+yNFfOcodGXbEvjf8MvSgE61RdDX6N7VVHOnoT0BdiXXvhHdBGr0qoke4mssv KGdm08Hv0XcwBW/SWtNzAoAsHzJzGdfTbTtJpHM1i0IUTvl/sl8/n/3CB68Fsr9U0I91 ZaBbLMbKpOJoI5L7a8CckMJZu0lpVgoK8XmgefIJmy9VbPieh1049guVoYvJ1Si+ripF KsNZC8sP1h+IN3fDyD9kpK/yXdRn8D4660nlzOQO/kfuryvjaqnh9hgUGHQxGIPi4RXn Dg582LQkUdEKa0UewXU+Ilf3jGFgRogvFyrq40/pimZztTma5tCzEvxsVGh6atw0RaAO RiOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=LOzvDB3js/dm0gQiiE0K1u8YkL37mpAZ800NfzUziLQ=; b=thWk7y41/tMeeLfJxv9SpKEWcwyUfOiB1lUWxMdABvwaWfhkP1TfvMsubwrtI2GLAd m9syKGvgHD0BMgbpmxxwugvuVHY5jcZgTSvohzywhKD/bD0vLq58A8C73EXHgi3TJyHH YoydLpRiQYuiSEbg/Aq8bni+tx2IQfEeAS6Qpm0IHP0acUomfBy9JFHHjeZqbObig0Cl dMd7wuLdL2bqwtODiQVtNc7fnbdAaOBa4CcMAM2FPjse8MEPBILuAkoIgQY75dfmJ+rc 0fTt8ow8Gpb5SMX9t4U96iKItVZ7KJr0giMSTyddmOCu3/HsLm8G+LaSttEcScBrw72d 0Jvw== X-Gm-Message-State: ACrzQf1UrRw2yXmXZMrZez5Eky4Qd8ClXSnJ5ZqKcqK2FZ7LQRLLlRpc u/okae4IIAOwbejixTfBAht26LoRod4VIIWMjQg= X-Google-Smtp-Source: AMsMyM5EWfMSZU4zNiNM7EacI0987xdfqSVVuYV3Zh0dyWAchSx0DYEt0VVT05949kO5s4/zbC44qVK3hCVlnD9REHk= X-Received: by 2002:ac8:7d13:0:b0:35c:e54e:9c8 with SMTP id g19-20020ac87d13000000b0035ce54e09c8mr27736898qtb.320.1664381625454; Wed, 28 Sep 2022 09:13:45 -0700 (PDT) MIME-Version: 1.0 References: <20220622013839.405771-1-vfialko@marvell.com> <20220804095907.97895-1-vfialko@marvell.com> <20220804095907.97895-2-vfialko@marvell.com> In-Reply-To: From: Jerin Jacob Date: Wed, 28 Sep 2022 21:43:19 +0530 Message-ID: Subject: Re: [PATCH 1/3] eventdev: introduce event cryptodev vector type To: "Gujjar, Abhinandan S" Cc: Volodymyr Fialko , "Jayatheerthan, Jay" , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Pavan Nikhilesh Bhagavatula , Shijith Thotton , Hemant Agrawal , Sachin Saxena , Akhil Goyal , Anoob Joseph Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Sep 28, 2022 at 8:14 PM Gujjar, Abhinandan S wrote: > > > > > -----Original Message----- > > From: Jerin Jacob > > Sent: Tuesday, September 27, 2022 6:56 PM > > To: Gujjar, Abhinandan S > > Cc: Volodymyr Fialko ; dev@dpdk.org; Jerin Jacob > > Kollanukkaran ; Pavan Nikhilesh Bhagavatula > > ; Shijith Thotton ; > > Hemant Agrawal ; Sachin Saxena > > ; Jayatheerthan, Jay > > ; Akhil Goyal ; Anoob > > Joseph > > Subject: Re: [PATCH 1/3] eventdev: introduce event cryptodev vector typ= e > > > > > > > > > > > > > > > Right now we are targeting crypto_cn10k PMD and ipsec-secgw > > > > > > event mode to support vectorization. > > > > > Is there a way to test this? When can be dataplane changes expect= ed? > > > > > > > > > If the spec looks okay, support in s/w crypto adapter and other h/w > > > > PMDs can be added by respective maintainers. Currently, we are > > > > adding library change, support for one PMD and an application to > > > > test the feature. Feature is exposed with capability flag to not br= eak > > existing functionality. > > > Got it. How do I test this feature without data plane changes? > > > > > > Hi @Gujjar, Abhinandan S > > > > > If there is a way to test this, please let me know. > > > > Dataplane changes can be tested on the cn10k platform. > > This feature is a hardware assisted feature. > > > > > This design is right now tested for cn10k, I am not sure this works f= or sw > > adapter. > > > > SW driver support is not added in this series as in order to accept a A= PI change, > > one would need, 1)API spec 2)One of the driver 3)Test application to ex= ercise > > the API. > > > > It is a similar case for all ethdev, rte_flow features etc. > > Community can add SW driver support just like any other subsystem APIs. > > > > Also, The proposed library changes don't differentiate between SW & HW > > PMDs. > > The proposed changes are exposed with a capability flag and so SW crypt= o > > adapter will not have any perf impact. > > > > > I need to have perf data with and without vectorization support to ap= prove. > > > > On the cn10k platform, we see nearly 2.5x performance with vectorizatio= n. Eth > > rx adapter already supports vectorization and this spec change is in li= ne with > > that. > > > > Also IPsec gateway update to exercise these APIs. See > > http://patches.dpdk.org/project/dpdk/patch/20220804103626.102688-6- > > vfialko@marvell.com/ > > > > Command to test on drivers which have this functionality. > > > > ./dpdk-ipsec-secgw -c 0xff0000 -a 0002:01:00.1 -a 0002:20:00.1 -a > > 0002:1e:00.0 -- -P -p 0x1 -P --transfer-mode event -l --event-schedule= -type > > parallel --desc-nb 8192 --event-vector -f simple.conf > > > > sample.conf > > > > sp ipv4 out esp protect 19 pri 1 dst 192.18.0.0/32 sport 0:65535 dport = 0:65535 > > sa out 19 aead_algo aes-128-gcm aead_key > > 73:69:78:74:65:65:6e:62:79:74:65:73:20:6b:65:79:64:70:64:6b mode ipv4- > > tunnel src 2.1.1.1 dst 1.1.1.1 type lookaside-protocol-offload port_id = 0 > > > > neigh port 0 d0:37:45:02:b0:d3 > > rt ipv4 dst 1.1.0.0/16 port 0 > > > > In order to make forward progress and merge patch in RC1, I would reque= st > > 1)Review the API specific patch(eventdev: introduce event cryptodev vec= tor > > type), If spec needs to be changed to adapt any other driver(SW or HW) = then > > the author should address that. > > 2)If you think, API usage is not enough with dpdk-ipsec-secgw applicati= on, I > > think, author should update the test-eventdev application to support th= e new > > mode.Which can be merged after RC1 as it is a test application change. > > > > Let us know what you think to make forward progress. > > Hi @Jerin Jacob & @Volodymyr Fialko, > Thanks for clarifying. We would like to have a call to discuss on this. > Could you please setup a call & include @Jayatheerthan, Jay also into it? Sure. Setting up one at 4PM IST on 29 Oct. Please find the details. Hi there, Jerin Jacob Kollanukkaran is inviting you to a scheduled Zoom meeting. Topic: Jerin Jacob Kollanukkaran's Personal Meeting Room Join Zoom Meeting: https://marvell.zoom.us/j/9901077677?pwd=3DT2lTTGMwYlc1YTQzMnR4eGRWQXR6QT09 Password: 339888 Or Telephone=EF=BC=9A Dial(for higher quality, dial a number based on your current location)= =EF=BC=9A US: +1 646 558 8656 or +1 646 931 3860 or +1 669 444 9171 or +1 669 900 6833 or +1 719 359 4580 or +1 253 215 8782 or +1 301 715 8592 or +1 309 205 3325 or +1 312 626 6799 or +1 346 248 7799 or +1 386 347 5053 or +1 564 217 2000 or 888 788 0099 (Toll Free) or 833 548 0276 (Toll Free) or 833 548 0282 (Toll Free) or 833 928 4608 (Toll Free) or 833 928 4609 (Toll Free) or 833 928 4610 (Toll Free) or 877 853 5247 (Toll Free) Meeting ID: 990 107 7677 Password: 358309 International numbers available: https://marvell.zoom.us/u/adpcCpMHYt Or a Video Conference Room: >From Touchpad: Tap Join Zoom button. When prompted, enter 990 107 7677 Password: 358309 For China locations, from Touchpad: Dial* then 990 107 7677 Password: 358309 > > Thanks > Abhinandan