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 9CA91A0512 for ; Wed, 3 Jun 2020 19:31:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76CED1D585; Wed, 3 Jun 2020 19:31:26 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 939231D585 for ; Wed, 3 Jun 2020 19:31:25 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id p5so3231822wrw.9 for ; Wed, 03 Jun 2020 10:31:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=LoxWRqXqoZb5xHO40dR/+IjYhquO2WwZpCCElZqku50=; b=RWxggq83Hh63FWOWLlexhG68PkVQdVqLlBj3WBs1L7nXPFWZmN7s9NpleYJ6jpRrp/ 6yWZMdLPs90XI3Hl9dYif6iyIezkYmCrIuZvuOH6funw+jBWXOjeewF6ie6EdJcKt6dY vmrfuvrrAgylQYrOvMkP2pl8qQEZQEvZPRew4pQdcNN9Kf4ZTk1ILt66T7BA1bz0MR5Q X0JUWV3qFzWwBsPWEf2W7y6709I4awaM9ifwDeUJwoR+O3erlSd9dewYAQHoOKoRYMNU T+ux6FYdU91AensUVtdVK4zbECN3V78e0lk8N1RdeO/nmtqqbXyK0zDifgFvEeMXwTYE F5DA== X-Gm-Message-State: AOAM532Tb7mQVprP8y+6t4TTiLsBfyrszjsi8HJrsBkaL0fFF8sFJNeu zHf2sV+ZN914gySdK6OzFtQ= X-Google-Smtp-Source: ABdhPJza0BeZOb/7Mk8UgjmQGAxKutUyBwu7AaMz31JwM0Q1hvmC4CiVBUBoZrnG/fHUk5kO3Nbkng== X-Received: by 2002:adf:f183:: with SMTP id h3mr514983wro.403.1591205485119; Wed, 03 Jun 2020 10:31:25 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:7a8e:ed70:5c52:ea3]) by smtp.gmail.com with ESMTPSA id r5sm4455626wrq.0.2020.06.03.10.31.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 10:31:24 -0700 (PDT) Message-ID: From: Luca Boccassi To: Apeksha Gupta , akhil.goyal@nxp.com Cc: stable@dpdk.org Date: Wed, 03 Jun 2020 18:31:23 +0100 In-Reply-To: <20200603131707.10231-1-apeksha.gupta@nxp.com> References: <20200603131707.10231-1-apeksha.gupta@nxp.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 19.11] test/crypto: fix statistics case X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Wed, 2020-06-03 at 18:47 +0530, Apeksha Gupta wrote: > [ upstream commit 29fdc5bf4555e16e866188dd9fe95f9bab01404a ] >=20 > The test case - test_stats is directly accessing the > cryptodev and its dev_ops which are internal to library > and should not be used directly by the application. > However, the test case is also missing to check for the > error ENOTSUP. It should skip the case if the API returns > ENOTSUP. This patch fixes these two issues. >=20 > Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests"= ) > Cc: stable@dpdk.org >=20 > Signed-off-by: Apeksha Gupta > Acked-by: Akhil Goyal > --- > app/test/test_cryptodev.c | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-) Thanks, applied and pushed. --=20 Kind regards, Luca Boccassi