From patchwork Wed Apr 24 11:45:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 162770 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp557237jan; Wed, 24 Apr 2019 04:46:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzThCwKXYD5Orayd6SAJq23y4Rqx/NTfy0KJbVAcwWSMH6ir/ZtmCVi8NjhB7y8uzbbLWHF X-Received: by 2002:a17:906:e0c7:: with SMTP id gl7mr9374970ejb.274.1556106404127; Wed, 24 Apr 2019 04:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556106404; cv=none; d=google.com; s=arc-20160816; b=rMhfveqFFYG6D1qqhS0flCMsxmi2b1InAszPSCbOK8EiUVBsZFymKPdu0RWhQtuijK KdggGDyHjtsWR14z9oD3++GRaO0SQiKig91La7abm9PaCFPj/HP/753t0IysawLy+hZ1 zUMGN4/hYBGhSenqU1CG2cskFiPYRkGPdW09XZvjb/tMIA5byz8igjet6ZPX5todbbJM TtkWvq+KW8ldAJcQzRCmTXfkMdYrRap2i4zCZsBMIuyGoKE54s/oAtX6tRc/euLKMHWM tBgQgArDA/wkLD4vRvspeKfPgjmLrVBEjG2NAu2jgZKhBGZQrh0i8VQiEl0V0EXG0cxn 0orw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:cc:to :from; bh=sKwm9mk8psPFIirwCaHA4+OlxlPpC7Y5IsnSF0sq8e8=; b=vmmNYhwrsOXCK3aM/1EeDbuBdGhVpwO/7qpH8LENT/nUYeiWb88qJX1r+ZfcGRIoc3 NslsWJYtasf06/bkgcGE7f6FR79lDy1Q3eup+yH/2FW+g6lvZS3tZVbr/ePJBA7CXWNO 3nc6j5fyCa4DYX4ms7Ei1aKo0/Bcj/GbwOAy1VaG8YDC5izWVHc2Vg/9OAT7EfJ0/Lll a9Tc3ZMYxSjOfrs6iYAiaD89a19zVs8ZmwcB4rF0piu81kIfOcCBDSDIjqAdEFG+utnm SoK8VJyAj9Hu58xXwrR78LoDKcHpsA48vUYMq0HZh6uLCQQHbbP0IvSyfM+J+AMVj0hj hyBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id s43si4712183edb.145.2019.04.24.04.46.43; Wed, 24 Apr 2019 04:46:44 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C1D81B51E; Wed, 24 Apr 2019 13:46:36 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id A54BD1B3D8; Wed, 24 Apr 2019 13:46:31 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5D91B200195; Wed, 24 Apr 2019 13:46:31 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8EEDC200158; Wed, 24 Apr 2019 13:46:29 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id D2494402A3; Wed, 24 Apr 2019 19:46:26 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: shreyansh.jain@nxp.com, stable@dpdk.org Date: Wed, 24 Apr 2019 17:15:16 +0530 Message-Id: <20190424114520.23655-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition 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" The code shall be unlock post the lock. Fixes: c22fab9a6c34 ("raw/dpaa2_qdma: support configuration APIs") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index a41c1e385..102d423c6 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -984,7 +984,7 @@ rte_qdma_vq_destroy(uint16_t vq_id) memset(qdma_vq, 0, sizeof(struct qdma_virt_queue)); - rte_spinlock_lock(&qdma_dev.lock); + rte_spinlock_unlock(&qdma_dev.lock); return 0; } From patchwork Wed Apr 24 11:45:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 162769 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp557115jan; Wed, 24 Apr 2019 04:46:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2Dk2iptar7nB0COya6MAqRa7atJ8O0Opmosh8vUNinawZgv7I1EU8PEoqbHl+N6BRsMK5 X-Received: by 2002:a50:f9cb:: with SMTP id a11mr20666566edq.1.1556106395248; Wed, 24 Apr 2019 04:46:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556106395; cv=none; d=google.com; s=arc-20160816; b=cQFj4D2tQ1IuirfCPBrorAKQhFJNecZqUASPv9E3AVnalLayN71MCLQtqheeR7oyTC MLpupNh5NQJITHtSaKJ5Ze75ziDUY3GIT9DI2ft0nWPWnhwO/95pxZaYmbYIdVRQzO9R Erg0d7nW9VeEK5vWk/1jp9KBLr9HTYpbELC0IzJukbMjoQYQ1QKRL17Y+8cwmWFahHSy CGUhhSMFtb6soku9rJ3VAevXvUPk7UtoCbRygEFdYzv5qYvSJ9iztKEp+6ynNKPw/sE1 DDmuVi+TXDOGDtkjTN8gAuJBlJdDHJAOdw983R6smuXK9IG+vNfyxpFv+L9LUTWCIz+B LmlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=p03su2cC08DpWYYieUhxjPNNwOwBvOPReu/lZUj1SHw=; b=pFQBVoqFuSMoJ1NHnNj8EaEsR2PxrW7bIak5X375XB3WRVtNcNYjyHDeTRTHku2T7M NjLhkz2ACCrnvx05oP8E1Z1u9W7Ac8BOpDe/l81fxzCBj6inl7hLlW4G6szy9p5DIV6N f3r+tnYomKAxJ6hNDvEIhAK80uFAz8c2MImYEjGnUN6G39dMRji1brw1rO7ztpKGNqxA NrkQpkV4SKJvl7KN+KHNOutHnHY+403K1lwzRW2ebteM1yX+q8OB9bwwKmYRUYu/p18T 6gwrev1uKkxNMcr1IhYtxiTVQmttjyglOi1lR1+/10nXtug+OQF1UNdnKR95QJATDfCs 3JeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id o22si1530804eju.165.2019.04.24.04.46.35; Wed, 24 Apr 2019 04:46:35 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7155F1B4BD; Wed, 24 Apr 2019 13:46:33 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id A159F1B3B7 for ; Wed, 24 Apr 2019 13:46:31 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2EDFE200180; Wed, 24 Apr 2019 13:46:31 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BEC55200195; Wed, 24 Apr 2019 13:46:29 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 829C1402CB; Wed, 24 Apr 2019 19:46:27 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: shreyansh.jain@nxp.com Date: Wed, 24 Apr 2019 17:15:17 +0530 Message-Id: <20190424114520.23655-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190424114520.23655-1-hemant.agrawal@nxp.com> References: <20190424114520.23655-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 2/5] raw/dpaa2_qdma: fix spin lock 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" This shall be unlock post the lock Fixes: 4d9a3f2a0159 ("raw/dpaa2_qdma: support RBP mode") Signed-off-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index 102d423c6..a391913b0 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -1013,7 +1013,7 @@ rte_qdma_vq_destroy_rbp(uint16_t vq_id) memset(qdma_vq, 0, sizeof(struct qdma_virt_queue)); - rte_spinlock_lock(&qdma_dev.lock); + rte_spinlock_unlock(&qdma_dev.lock); return 0; } From patchwork Wed Apr 24 11:45:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 162771 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp557361jan; Wed, 24 Apr 2019 04:46:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHkKQ3lXcRdGY1YJfrUpywsA4vvNwo0TcmBuXRLkRgdRdMGqz6E9knP/l4XtXFjTsO28sx X-Received: by 2002:a17:906:724d:: with SMTP id n13mr8656636ejk.8.1556106411362; Wed, 24 Apr 2019 04:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556106411; cv=none; d=google.com; s=arc-20160816; b=cxRlA8a5WzdW8h46RhjnKMluJ1P2ztLpsZ7em6mRPAp4mm3PUeOEqFCqVnPxXR+6pG 8tpW0SbfphZto8PGobX5VqQjMrMhXHJM7R8DZesweFccRfeId7ISRQWS6ei7X7Q+cu5m YGBwU/cThx4JClJZvy2G0+094OnAFoJa4S3JwGb7x3/kDnRW/ygVqPpgODtnhvbtHvDe pHg1tUD5nGsgOMCeXIGR+m/0f/cI7uE+L00k75AxfFFJCUcOV06fpolft73a0SOLnwbK WoCQCWr93CDA9cB3OwTkoNuJymxQX1brMovBm6YvfETEhxNOHko8e/5Cadbl/7qh1q8I ikTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=Yzwo4KtwKkEpymStaoQrJuF0n14QKdFSjQl6sVGN9JE=; b=g3AIX7boZZgmatJBz78h11YN5DfZoo2cdBctwKNudygSVFDNTCrhljLY1K0F5lsgmq khl7K2rFsftzUq7HWzxp5XL1BtwdLCIJJ3p7jGtIDC0iA6+s3ZlHfnPXk5PHXQ1tbpYT 6ts7IMgn8RIQXx+XPv83yGbhLiwJK08HKLV/DCN1HqKmK8MGwZk7NS7lV40OqY0G+7VJ Petv0aJxOnMhiWaqcJKrGgDTMnw2u3tanFWVRbStXFBSf5gcOGZosYKj57vCrPPkdyBQ q8WX69kheS/N4cevWM5T3xZpbWJN4V55XKOmQx2Qg3ENJSzYy5hmH9iI4+B2qumKJYLk +JUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id l44si765372eda.258.2019.04.24.04.46.51; Wed, 24 Apr 2019 04:46:51 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 350E91B52B; Wed, 24 Apr 2019 13:46:39 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id DA92F1B3B7; Wed, 24 Apr 2019 13:46:32 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9DDC3200195; Wed, 24 Apr 2019 13:46:32 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id CE68220027B; Wed, 24 Apr 2019 13:46:30 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 1D047402D8; Wed, 24 Apr 2019 19:46:28 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: shreyansh.jain@nxp.com, stable@dpdk.org Date: Wed, 24 Apr 2019 17:15:18 +0530 Message-Id: <20190424114520.23655-3-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190424114520.23655-1-hemant.agrawal@nxp.com> References: <20190424114520.23655-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 3/5] net/dpaa2: fix the loopback spelling 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" Fixes: a3a997f02d07 ("net/dpaa2: support low level loopback tester") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 89d20d0bf..900182f66 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -28,7 +28,7 @@ #include "dpaa2_ethdev.h" #include -#define DRIVER_LOOPBACK_MODE "drv_looback" +#define DRIVER_LOOPBACK_MODE "drv_loopback" /* Supported Rx offloads */ static uint64_t dev_rx_offloads_sup = From patchwork Wed Apr 24 11:45:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 162773 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp557566jan; Wed, 24 Apr 2019 04:47:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPiJZ+uvv6Ue1ixigfIZcDZ14mS8kpVl8rIVMS7XgXYHu0Qcs8QfBqWXD0Dh+FaaszuRoU X-Received: by 2002:a17:906:fd4:: with SMTP id c20mr15524527ejk.159.1556106425604; Wed, 24 Apr 2019 04:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556106425; cv=none; d=google.com; s=arc-20160816; b=tx8ZfukgE9T4Kli/PUIwN38azWZXnH3h2I7k0OQZ5j5B0uIfPuEICFBsUwsG85x/8x w8gtM4zQsID9p8sKJs9R2+m3CBmNQs7pCNrl9KwC3v/et4S2i2rHUdqHTrWK5Zd0Icxi Yu9kC5Bd/emwNKJUs2bYWMQ7PP4iAFIkQJVqw/7mUiqHLz9UEBd2D2OOFCrpgDnYlXIu C5hxFEDggF+0x9zQvkmg+B+iAsDopP2yS6gMie4w5W9+rwBSq9c2gX9BLG5N0/KjktDC d8qm7/g7fgauWgAEBRrk+t5eyBDcHG1MLME//yOYrs8yVRs/ZCT7eGbubtoc5jluc90W SD7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=b+ef+x5mG/Ot7jGslH96fCiKbhb1WvkyJSfTxOuhUrw=; b=zYfv898MI+mLJWO0bh9uTJ6Z3KdhRBmbGxCYAzE8K4iwicp+vrNLKBxiKkk2XkVWc5 Fm+pq2RQ1eO4CRe50IuIhY6cYdi/zdjmNyhIhJHju0mXynUb0MheFu18t4XucIUO2jl7 5PvM1xaVru06kw6gDUKQPTlKlLPVZMlu4Jr/+OkcTSJn/UbhbjBcOBPVsPK963XDO8Ru dOuQChYpzP7MBOUFeGxWW6UacxvDsEjsSnEbBMF/WM5aQMDU2vjUqeGvzSGEygF63hGg R4KJ9YxfUhW7wAgvyiVQ9BQEhjkXV298x7rGAMUTm3fXchRa9gs7QYPZhvBezZsp6449 B26w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id z34si3311348edd.215.2019.04.24.04.47.05; Wed, 24 Apr 2019 04:47:05 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B5A441B53A; Wed, 24 Apr 2019 13:46:43 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id E56FD1B4FF for ; Wed, 24 Apr 2019 13:46:33 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 94DE5200158; Wed, 24 Apr 2019 13:46:32 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id F41C5200036; Wed, 24 Apr 2019 13:46:30 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C185F402E1; Wed, 24 Apr 2019 19:46:28 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: shreyansh.jain@nxp.com Date: Wed, 24 Apr 2019 17:15:19 +0530 Message-Id: <20190424114520.23655-4-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190424114520.23655-1-hemant.agrawal@nxp.com> References: <20190424114520.23655-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 4/5] doc: update the dpaaX platform guides 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" Update the dpaa platform guides with latest SDK dependency. Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 4 ++-- doc/guides/eventdevs/dpaa2.rst | 4 ++-- doc/guides/nics/dpaa.rst | 1 + doc/guides/nics/dpaa2.rst | 5 ++--- doc/guides/platform/dpaa2.rst | 4 ++-- doc/guides/rawdevs/dpaa2_cmdif.rst | 4 ++-- doc/guides/rawdevs/dpaa2_qdma.rst | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) -- 2.17.1 Acked-by: John McNamara diff --git a/doc/guides/cryptodevs/dpaa2_sec.rst b/doc/guides/cryptodevs/dpaa2_sec.rst index 21cb00360..9e21d3169 100644 --- a/doc/guides/cryptodevs/dpaa2_sec.rst +++ b/doc/guides/cryptodevs/dpaa2_sec.rst @@ -161,8 +161,8 @@ See :doc:`../platform/dpaa2` for setup information Currently supported by DPDK: -- NXP SDK **18.09+**. -- MC Firmware version **10.10.0** and higher. +- NXP SDK **19.03+**. +- MC Firmware version **10.14.0** and higher. - Supported architectures: **arm64 LE**. - Follow the DPDK :ref:`Getting Started Guide for Linux ` to setup the basic DPDK environment. diff --git a/doc/guides/eventdevs/dpaa2.rst b/doc/guides/eventdevs/dpaa2.rst index 332b1a31c..a24a43c15 100644 --- a/doc/guides/eventdevs/dpaa2.rst +++ b/doc/guides/eventdevs/dpaa2.rst @@ -38,8 +38,8 @@ See :doc:`../platform/dpaa2` for setup information Currently supported by DPDK: -- NXP SDK **18.09+**. -- MC Firmware version **10.10.0** and higher. +- NXP SDK **19.03+**. +- MC Firmware version **10.14.0** and higher. - Supported architectures: **arm64 LE**. - Follow the DPDK :ref:`Getting Started Guide for Linux ` to setup the basic DPDK environment. diff --git a/doc/guides/nics/dpaa.rst b/doc/guides/nics/dpaa.rst index fb7bc7d0c..cd35cabde 100644 --- a/doc/guides/nics/dpaa.rst +++ b/doc/guides/nics/dpaa.rst @@ -253,6 +253,7 @@ state during application initialization: choose to change their number if HW portals are limited. The valid values are from '0' to '4'. The valuse shall be set to '0' if the application want to use eventdev with DPAA device. + Currently these queues are not used for LS1023/LS1043 platform by default. Driver compilation and testing diff --git a/doc/guides/nics/dpaa2.rst b/doc/guides/nics/dpaa2.rst index d74d8f899..10b9d7dff 100644 --- a/doc/guides/nics/dpaa2.rst +++ b/doc/guides/nics/dpaa2.rst @@ -421,7 +421,7 @@ See :doc:`../platform/dpaa2` for setup information Currently supported by DPDK: -- NXP SDK **18.11+**. +- NXP LSDK **19.03+**. - MC Firmware version **10.14.0** and higher. - Supported architectures: **arm64 LE**. @@ -502,7 +502,7 @@ for details. * Use dev arg option ``drv_loopback=1`` to loopback packets at driver level. Any packet received will be reflected back by the - driver on same port. + driver on same port. e.g. ``fslmc:dpni.1,drv_loopback=1`` Enabling logs ------------- @@ -557,4 +557,3 @@ Other Limitations - RSS hash key cannot be modified. - RSS RETA cannot be configured. -- Secondary process packet I/O is not supported. diff --git a/doc/guides/platform/dpaa2.rst b/doc/guides/platform/dpaa2.rst index 5a64406eb..82aae0ab2 100644 --- a/doc/guides/platform/dpaa2.rst +++ b/doc/guides/platform/dpaa2.rst @@ -101,8 +101,8 @@ separately: Currently supported by DPDK: -- NXP SDK **2.0+** (preferred: LSDK 18.09). -- MC Firmware version **10.10.0** and higher. +- NXP SDK **2.0+** (preferred: LSDK 19.03). +- MC Firmware version **10.14.0** and higher. - Supported architectures: **arm64 LE**. - Follow the DPDK :ref:`Getting Started Guide for Linux ` diff --git a/doc/guides/rawdevs/dpaa2_cmdif.rst b/doc/guides/rawdevs/dpaa2_cmdif.rst index 6db06777c..ac5f0f137 100644 --- a/doc/guides/rawdevs/dpaa2_cmdif.rst +++ b/doc/guides/rawdevs/dpaa2_cmdif.rst @@ -33,8 +33,8 @@ See :doc:`../platform/dpaa2` for setup information Currently supported by DPDK: -- NXP SDK **18.09+**. -- MC Firmware version **10.10.0** and higher. +- NXP SDK **19.03+**. +- MC Firmware version **10.14.0** and higher. - Supported architectures: **arm64 LE**. - Follow the DPDK :ref:`Getting Started Guide for Linux ` to setup the basic DPDK environment. diff --git a/doc/guides/rawdevs/dpaa2_qdma.rst b/doc/guides/rawdevs/dpaa2_qdma.rst index 359e4c69f..1550ca5ba 100644 --- a/doc/guides/rawdevs/dpaa2_qdma.rst +++ b/doc/guides/rawdevs/dpaa2_qdma.rst @@ -37,8 +37,8 @@ See :doc:`../platform/dpaa2` for setup information Currently supported by DPDK: -- NXP SDK **18.09+**. -- MC Firmware version **10.10.0** and higher. +- NXP SDK **19.03+**. +- MC Firmware version **10.14.0** and higher. - Supported architectures: **arm64 LE**. - Follow the DPDK :ref:`Getting Started Guide for Linux ` to setup the basic DPDK environment. From patchwork Wed Apr 24 11:45:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 162772 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp557456jan; Wed, 24 Apr 2019 04:46:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9n6h6t0KoL5iBmU+iE9EsWQKE10uKu7+aXL9l8spqXd6RsPLcevHOFoPWXwzLfw7gwohA X-Received: by 2002:a17:906:4ac1:: with SMTP id u1mr15612277ejt.179.1556106418037; Wed, 24 Apr 2019 04:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556106418; cv=none; d=google.com; s=arc-20160816; b=M3sH6nqmdmWIwDPBCxUhd8/NSpXE9KZV6ADJEo7aXxlzAADY6pfd/50RmXy9Eu6BPi UeZgZk8uCJbTKM7yMtSF/STsJMoHfPhqQPLmbSXORpZpjyHIRZs95LKv6HkoitOix73N +jwydgsohBpJfbxsxle3nR0hCYjf2H12QGibTszqTaC+wWlWcqOk4mM3exgnjom/Du/0 Tu4sOAdWuj0ejWneJZ3GuGIKYXFVUdxPzDu4T1JsZIlgEarRZSg5vJsUFWAD2FsHCvgL CtyLnLVTL04YF9ZsaHb/c+FnSlWyEKI3bXNxiKWlwN6RZuSjaK9e+6N4zALl2VWeMGxv uxNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=qGPPB4m6OhuViT/I2+DowKRxLDb8FbE78Ml9JzQCHks=; b=sLLg0H/OP7NsyvsgcAIGde4jDkQdk7PkzpO++GQ99ERU8cOy7QHo/Jrk1nLwGzi9Nb QwbHc2zpyec80S9IuxPPkJc7psq39RsRPowTy/0nHqTuKHw3tNU75S2nyQOqBvTzfVSl n/V4+g/dpk8Y3C3GheKpkdHbliGibWAKU9DlmBe80LNV3+ZHJrNluUHe2FwWM/ZrRM8H MlgGAQoqDSGwJagKXXzhCRThgLUX8eznTSqyv8jP9WM3tuZIwDjnGBF42MlLRUi+BRSN cW+LvfnJ+dr7SPIlJV2k7F2bAjvTlD3KhYWQHej550P6oNYdvbNbHO0dZDSC4dKdiu4m apUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id w8si1563123edc.369.2019.04.24.04.46.57; Wed, 24 Apr 2019 04:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 369511B535; Wed, 24 Apr 2019 13:46:42 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 57A5A1B3B7 for ; Wed, 24 Apr 2019 13:46:33 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E9B441A016B; Wed, 24 Apr 2019 13:46:32 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 85DF61A0050; Wed, 24 Apr 2019 13:46:31 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 52C97402ED; Wed, 24 Apr 2019 19:46:29 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: shreyansh.jain@nxp.com Date: Wed, 24 Apr 2019 17:15:20 +0530 Message-Id: <20190424114520.23655-5-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190424114520.23655-1-hemant.agrawal@nxp.com> References: <20190424114520.23655-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 5/5] raw/dpaa2_cmdif: remove driver name assignment 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" vdev driver names are not available in create if called from probe. Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 1 - drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 1 - 2 files changed, 2 deletions(-) -- 2.17.1 diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 7d311b2ee..0ed333850 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c @@ -207,7 +207,6 @@ dpaa2_cmdif_create(const char *name, rawdev->dev_ops = &dpaa2_cmdif_ops; rawdev->device = &vdev->device; - rawdev->driver_name = vdev->device.driver->name; /* For secondary processes, the primary has done all the work */ if (rte_eal_process_type() != RTE_PROC_PRIMARY) diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c index d7630fc69..ccf08cc82 100644 --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c @@ -585,7 +585,6 @@ skeleton_rawdev_create(const char *name, rawdev->dev_ops = &skeleton_rawdev_ops; rawdev->device = &vdev->device; - rawdev->driver_name = vdev->device.driver->name; skeldev = skeleton_rawdev_get_priv(rawdev);