From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5AF8DA04BC; Thu, 8 Oct 2020 18:21:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1579C1B709; Thu, 8 Oct 2020 18:21:40 +0200 (CEST) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) by dpdk.org (Postfix) with ESMTP id 327C71B6F6 for ; Thu, 8 Oct 2020 18:21:38 +0200 (CEST) Received: by mail-io1-f65.google.com with SMTP id n6so6782495ioc.12 for ; Thu, 08 Oct 2020 09:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BYhT6qkGuBx9XwkTo9LijK+ZsYR9mdlnEBTQOJSRq8A=; b=VdozTG1FUBsm8E+6qDEb1I8fmpt0R1RSGrKs28r+MSMCBuSglPJxHm8KI3jW4p0EvH VEQAmv/CFY3vRqffzYRXWrmiCslzlTFdyk1sMf065v3GIdLrYIcFhGeLoyhHGpQLwUBW fvfpZySeEJ7ArgsQtJJAIVlnn1Kxo3WdHj0iaphs4bItINIkl2QLZ3WnRdRDo8FULv6n PwHLmD+kBD5zpMGF7midw2i8aK/6tBKZT4frOyIc8Dmwws7fyoXdOzojGDpHXcCjrVT5 N54xd86vByB8X84HS08zACp6B/mJ6UxvdHZ3RcHcRPJClzmur177MDjiYwgIFg1fkSVK 8XrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BYhT6qkGuBx9XwkTo9LijK+ZsYR9mdlnEBTQOJSRq8A=; b=TzkbPkqdVuc0Iq2Qc4Y+qWlB9gYC/RLUWHqmWTji/GhEJEqcsbAQrlQjbddsXWZYti puKnXC7Vw+lXmJNWXvFzCNtjI/4f3zQagY1pKCAiwzB+afwGbpCoyP+vBCIFEHYXWDDK 0A5/naPbe/TMa206VmhLt7ley2yapPdtWQK0ZzHqKT5+/WFM3z4z0xFvx+tClTyKcfWp DfVJq/u3Fj6kwf6ItvHyh8IHAm2GEKUAnc/wZ8LsNqiZfPQnAuMyOFstRko596ZeJuSq pHj8I7TfIvtBRBeqjhM8l9xHYR0UI8lMayozeQQZ0t+Ma0t7+wjT5RESjrH17iox04Wh 4yzA== X-Gm-Message-State: AOAM531yNf3cgmNzTQJZ3R3mGwi8QUjHutHwOIgaxqbozvOkG77BTXXZ vUU3rofdxfr5Y3nS2EzoFrEejBpDk3LjDZDv0PQ= X-Google-Smtp-Source: ABdhPJxqbIZG+FSz0CKM195eA+BQqKuZieIzqgkvy7pWYF1s4J01nTD0LA/9CvKdSjY9wsSGlWvYA8+ftynVjybPv30= X-Received: by 2002:a6b:ce1a:: with SMTP id p26mr5294767iob.94.1602174097392; Thu, 08 Oct 2020 09:21:37 -0700 (PDT) MIME-Version: 1.0 References: <20201008055423.32259-1-adwivedi@marvell.com> <20201008103435.19187-1-adwivedi@marvell.com> In-Reply-To: From: Jerin Jacob Date: Thu, 8 Oct 2020 21:51:20 +0530 Message-ID: To: Pavan Nikhilesh Bhagavatula Cc: Ankur Dwivedi , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , "akhil.goyal@nxp.com" , Anoob Joseph Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v4 0/3] event/octeontx2: add support for event crypto adapter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Oct 8, 2020 at 8:35 PM Pavan Nikhilesh Bhagavatula wrote: > > Series-Acked-by: Pavan Nikhilesh Series applied to dpdk-next-eventdev/for-main. Thanks. > >This patch series adds support for event crypto adapter in op new > >mode in the OCTEON TX2 event PMD. The functionality has been > >verified with event crypto adapter test application. Build with > >meson and ninja is supported. > > > >v4: > >* In the "event/octeontx2: add crypto adapter datapath" patch, > > replaced rte_cio_wmb with rte_io_wmb, to resolve compilation > > error. > > > >v3: > >* In the "event/octeontx2: add crypto adapter framework" patch, > > the following changes were made: > > - Moved the crypto adapter files from crypto/octeontx2 to > > event/octeontx2 directory. > > - Reused the security flag for crypto adapter implementation. > > > >* In the "event/octeontx2: add crypto adapter datapath" patch, > > the following changes were made: > > - In otx2_ssogws_get_work() and otx2_ssogws_dual_get_work(), > > the crypto adapter function is called if offload flag has > > security enabled. This is an additional check apart from > > checking event type. > > > >v2: > >* In the "event/octeontx2: add crypto adapter datapath" patch, right > > shifting the req pointer by 3 bits before submit during enqueue. > > Because of this the right shift during dequeue is not required. > > > >Ankur Dwivedi (3): > > crypto/octeontx2: move functions to helper file > > event/octeontx2: add crypto adapter framework > > event/octeontx2: add crypto adapter datapath > > > > drivers/common/cpt/cpt_common.h | 1 + > > drivers/crypto/octeontx2/meson.build | 1 + > > .../octeontx2/otx2_cryptodev_hw_access.h | 12 +++ > > .../crypto/octeontx2/otx2_cryptodev_mbox.h | 2 + > > drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 96 ++++++++--------- > >-- > > .../octeontx2/otx2_cryptodev_ops_helper.h | 74 ++++++++++++++ > > drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 7 ++ > > .../rte_pmd_octeontx2_crypto_version.map | 10 ++ > > drivers/event/octeontx2/meson.build | 4 +- > > drivers/event/octeontx2/otx2_evdev.c | 4 + > > drivers/event/octeontx2/otx2_evdev.h | 11 +++ > > .../event/octeontx2/otx2_evdev_crypto_adptr.c | 81 > >++++++++++++++++ > > .../octeontx2/otx2_evdev_crypto_adptr_dp.h | 75 +++++++++++++++ > > drivers/event/octeontx2/otx2_worker.h | 28 ++++-- > > drivers/event/octeontx2/otx2_worker_dual.h | 44 +++++---- > > 15 files changed, 365 insertions(+), 85 deletions(-) > > create mode 100644 > >drivers/crypto/octeontx2/otx2_cryptodev_ops_helper.h > > create mode 100644 > >drivers/event/octeontx2/otx2_evdev_crypto_adptr.c > > create mode 100644 > >drivers/event/octeontx2/otx2_evdev_crypto_adptr_dp.h > > > >-- > >2.28.0 >