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 B4821A04B5 for ; Tue, 12 Jan 2021 05:55:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81399140D21; Tue, 12 Jan 2021 05:55:43 +0100 (CET) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) by mails.dpdk.org (Postfix) with ESMTP id 8A508140D21; Tue, 12 Jan 2021 05:55:42 +0100 (CET) Received: by mail-io1-f41.google.com with SMTP id z5so1421214iob.11; Mon, 11 Jan 2021 20:55:42 -0800 (PST) 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=U80lWlmfiOAxoXNSKPPlBwHl3ZgP2nfsovDQ1d06v2o=; b=UVgZLQg465ZLDAMZftgxK5ZFxV9rOW4EdGbWKn03B8v2DPenEBq+cVpXMg26RuwOva P99Bw03R8S5DtnDO7zUctzqdoXaiVxdYbfEVSi8hoCLDe0henO8gsKRoFK6GQJOIq+eb nTsWFiMOk2OBVePfTRLTmqQ8hLsnmKnWuovxeMj9LZOFfZI5A3KXcqdKQZCDC+5x2Nxm cL5b+/zijD3aESfZZ53x4nYAXAgMF8XR8FOhPRsXw9F0a4GpDjB+DsI2Y33a0ah42om5 2ykc4VLfZztzHoMWapCzf9mY9hxSfptsBEBRGghlDc6Dcnk7wietTuguKQV1yfEfoRnV XDeA== 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=U80lWlmfiOAxoXNSKPPlBwHl3ZgP2nfsovDQ1d06v2o=; b=c4+QmRLxkIbGqM3w8+tHvh8D+ZOAZlm244SbCaRqdVJ1S758Tw6KRBslmgxynqXj99 q4dXNStI3WaQj+BllgSRuod/jti9/jfXaFDItSYQjhThvkMWWgQ8ZjdbD4O7W/+ioEAw qp921IJQhNhdhIvZ3roCQjXbotAEX1goDv+vGYQ6UBxTvV3sMpgfGH8jiMQbUS80fPgv XeK2UvHcnLADbwo9DajEpKPxd6krIiXy9/qJWtDRKcjrBXYFW4N6ef+6RMfeP8g/v3xe OgwMqZqax3X1togE85vl/+HPR/saz0mjLXERM9K0ixQNCMcv3Crnz5ctSyAdYWIp61d5 DLFg== X-Gm-Message-State: AOAM533r91yoF27X33Vd3e+gghQgv61mIw/eUOW677cLREtW45AHoIUm ZOxVezvU18GNFMlkLvDTTAuv36wnTiqWovoggwE= X-Google-Smtp-Source: ABdhPJzrpRG5Fiks8ykyHnFxQC0uT/zQ7kvBI+HGaGw+MlL76jlAynLWDaWRG/hZrtBBM8VT4nK9NP+xhMik8Ra/+QM= X-Received: by 2002:a92:1508:: with SMTP id v8mr2185172ilk.162.1610427342040; Mon, 11 Jan 2021 20:55:42 -0800 (PST) MIME-Version: 1.0 References: <20210108084051.25429-1-adwivedi@marvell.com> In-Reply-To: <20210108084051.25429-1-adwivedi@marvell.com> From: Jerin Jacob Date: Tue, 12 Jan 2021 10:25:26 +0530 Message-ID: To: Ankur Dwivedi Cc: dpdk-dev , dpdk stable , "Gujjar, Abhinandan S" , Akhil Goyal , Anoob Joseph Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] test/event_crypto_adapter: set cipher operation in transform X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Fri, Jan 8, 2021 at 2:11 PM Ankur Dwivedi wrote: > > The cipher operation in the transform should be set to encrypt. > > Fixes: 74449375237f ("test/event_crypto_adapter: fix configuration") > > Signed-off-by: Ankur Dwivedi @Gujjar, Abhinandan S Please review this. > --- > app/test/test_event_crypto_adapter.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c > index a0169aa6cf..335211cd8c 100644 > --- a/app/test/test_event_crypto_adapter.c > +++ b/app/test/test_event_crypto_adapter.c > @@ -183,6 +183,7 @@ test_op_forward_mode(uint8_t session_less) > cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; > cipher_xform.next = NULL; > cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL; > + cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; > > op = rte_crypto_op_alloc(params.op_mpool, > RTE_CRYPTO_OP_TYPE_SYMMETRIC); > @@ -382,6 +383,7 @@ test_op_new_mode(uint8_t session_less) > cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; > cipher_xform.next = NULL; > cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL; > + cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; > > op = rte_crypto_op_alloc(params.op_mpool, > RTE_CRYPTO_OP_TYPE_SYMMETRIC); > -- > 2.28.0 >