From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <yliu@fridaylinux.org>
Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45])
 by dpdk.org (Postfix) with ESMTP id 6D4A7997E
 for <stable@dpdk.org>; Mon, 21 Aug 2017 11:38:42 +0200 (CEST)
Received: by mail-pg0-f45.google.com with SMTP id n4so33278534pgn.1
 for <stable@dpdk.org>; Mon, 21 Aug 2017 02:38:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=fridaylinux-org.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:in-reply-to:references;
 bh=m3fJOqgMfRY3gofnLBOo92gw9XcmA/2hIYAYwXIeumQ=;
 b=GNd3KE+BqC+AtFNnGd10ZliL4hsCwR2uJhFWgn4pXVuwYQkx+htXjlw8uFuz5FxoXu
 aYAlRBDUyxu3lax298VOldGmzi0roBCHHCpJzmnYgEzUcUuQoVyCrmxDPmNB8Oc2F8oO
 AsdPuFh6T3yw7QQr66mMvSs7YqgKOfvGvWOyAUz+uxRL+naG/rLvOQU7Rv93ZQQ5eDIY
 OSYiItrlsdvObKvVJfSlZYgo2Y7pm9x7Cy3nv8qYSw5/aIaLgcjwtT2+vEc+kyh2lDvJ
 70S2oMH2oTbUaplYpf53OiLg8nQMDMp/aLPupd7EELIzYE5mH2czK5HQCBGMPlRMgB8D
 8N6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references;
 bh=m3fJOqgMfRY3gofnLBOo92gw9XcmA/2hIYAYwXIeumQ=;
 b=GAjB3X6BVTx2LOe6m5UMsrgX78FUKigMk6SzCo/YS0VNHXXUbVwhPz2RdOTA3No8+a
 /HfBhKpoi18E4eEgpXOdbb+RwE8apO1gLs8yfxrQ7jrT2AoTDLkVlaklnGOh8VA4MHel
 G6kZJNKNyqgZVPBhJsqcdPVeBNQKnuX1rCf2InNqK65grV3boGfz0vbY7SX/r4Ohnhkb
 20uKYV1SIa6Cs+x2WHxn+qL2CA5uCL5/3hyHns2vyInjugN7v3U0YHoyiOCunWQZ2Bxw
 m3OUyLwJCF//NYPKelsEsAzdu5W9LqGGIrrMzTs1fjtv1SrfTI7CUCer/Kx233Xmxadj
 qYSw==
X-Gm-Message-State: AHYfb5h8FJ4FX0OlcZ+pyWUkzpFfTuq5ywbHCQgIGy9OY4M6OAT3P/pH
 oOGiBt0AnywJoQiK
X-Received: by 10.98.147.138 with SMTP id r10mr16373291pfk.47.1503308321794;
 Mon, 21 Aug 2017 02:38:41 -0700 (PDT)
Received: from localhost.localdomain ([45.63.61.64])
 by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.38.37
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
 Mon, 21 Aug 2017 02:38:40 -0700 (PDT)
From: Yuanhan Liu <yliu@fridaylinux.org>
To: Akhil Goyal <akhil.goyal@nxp.com>
Cc: dpdk stable <stable@dpdk.org>,
	Yuanhan Liu <yliu@fridaylinux.org>
Date: Mon, 21 Aug 2017 17:31:18 +0800
Message-Id: <1503307878-16728-64-git-send-email-yliu@fridaylinux.org>
X-Mailer: git-send-email 2.7.4
In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org>
References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org>
Subject: [dpdk-stable] patch 'crypto/dpaa2_sec: fix the return of supported
	API' has been queued to stable release 17.05.2
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2017 09:38:42 -0000

Hi,

FYI, your patch has been queued to stable release 17.05.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/24/17. So please
shout if anyone has objections.

Thanks.

	--yliu

---
>>From 55d2b20d3b35cb364d29171193287b75481919aa Mon Sep 17 00:00:00 2001
From: Akhil Goyal <akhil.goyal@nxp.com>
Date: Tue, 18 Jul 2017 13:03:56 +0530
Subject: [PATCH] crypto/dpaa2_sec: fix the return of supported API

call to dpaa2_sec_dev_configure() is made mandatory,
but dpaa2_sec_pmd returns a ENOTSUP which results in
device not getting configured.

dpaa2_sec PMD does not need any further configuration
to be done in dpaa2_sec_dev_configure, hence returning 0

Fixes: e5cbdfc53765 ("crypto/dpaa2_sec: add basic operations")

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
---
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
index 97ee64c..18a141a 100644
--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
@@ -1263,7 +1263,7 @@ dpaa2_sec_dev_configure(struct rte_cryptodev *dev __rte_unused,
 {
 	PMD_INIT_FUNC_TRACE();
 
-	return -ENOTSUP;
+	return 0;
 }
 
 static int
-- 
2.7.4