From patchwork Thu May 7 10:46:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186297 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp3041950ill; Thu, 7 May 2020 03:50:24 -0700 (PDT) X-Google-Smtp-Source: APiQypJEjAaeX3MFxc+G7+WX4NAKpE5H1XtgOItdVoRfktLNT3BzVFaAj6vttznLAV9Lpr2Z6PNX X-Received: by 2002:a17:907:1119:: with SMTP id qu25mr10825864ejb.291.1588848624381; Thu, 07 May 2020 03:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588848624; cv=none; d=google.com; s=arc-20160816; b=Uzcr8Dpcj1rOe94xHBAC7YY2VQyUdXQhb+lwysAQooHeTbgOlsLt5za4M9y6BEm0/Z rv720S6EwQDaAM9mTa73XK14HDOJizgOIKm98u6WLH5fi2pQXSkDWmLQorgxaROLWNPr nDHJZy/zRVZG0HBX5lk2b7oFbN277/eTILRZ+7Y6LFhI6wepPqtM6ws25wfrAu148mFk XAlgnhW2mCdk3HW8hLd5BphcdaTUHKg3mS23G2bxdQvdJn+6XZFw5xLt+E3IZyG5PJcq Ua/23NZB3/IZBqlM9vPNWYAv3DZwxQPi7suUo9gBvqv6KVI8xO7tl1z0CMJlT+MC0CoA vYxg== 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=7hjVsm/uXH32kp4EHhsp3Z9iwyOKCN/F5IE/rCxQEtM=; b=hffpC/h7dMwnbdEgdaYM2twr+b6UpMF5UchlaNHv3Evct1LqCVpxpeE2CpAeLbmMIA ZWpnVgam+5mtBx0GPglVhQChfvLtNHbjPM8j539617z4KvzCenv4iTM7Z61/UpRDVSOW 0VBRBCefZY+Ql0G7dzkrUeCKuqBkV0KClYIh0gcZawfB0xl2Sd2qoGpB7nsHvM1wUhMx vmx5Rbv/aZP/kZXXFkG4qCmtXTHSp0mwmwYyl7sVHO4XlVi+pu83YH6Dd7qv0jaZJjIx Lt8DdBbNB0kE9z+1t8ZNnZNdTXn6/U3okt7J4dFumnxbK3Tf2TQYZbY1Zh80VfeOdn7U ynVg== 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 b9si2585875edx.31.2020.05.07.03.50.24; Thu, 07 May 2020 03:50:24 -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 D42781DC39; Thu, 7 May 2020 12:49:13 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 44A6F1DBFF; Thu, 7 May 2020 12:49:05 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 29896200FBB; Thu, 7 May 2020 12:49:05 +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 24C28200FC2; Thu, 7 May 2020 12:49:03 +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 80AB240310; Thu, 7 May 2020 18:49:00 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, ferruh.yigit@intel.com Cc: stable@dpdk.org, Hemant Agrawal Date: Thu, 7 May 2020 16:16:45 +0530 Message-Id: <20200507104645.31990-10-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200507104645.31990-1-hemant.agrawal@nxp.com> References: <20200504124118.22877-1-hemant.agrawal@nxp.com> <20200507104645.31990-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v4 9/9] bus/fslmc: fix the size of qman fq desc 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" correct the qman_fq_desc as per the HW defined size Fixes: 6fef517e17cf ("bus/fslmc: add qman HW fq query count API") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/bus/fslmc/qbman/qbman_debug.c b/drivers/bus/fslmc/qbman/qbman_debug.c index 4cd0923acb..34374ae4b6 100644 --- a/drivers/bus/fslmc/qbman/qbman_debug.c +++ b/drivers/bus/fslmc/qbman/qbman_debug.c @@ -20,7 +20,7 @@ struct qbman_fq_query_desc { uint8_t verb; uint8_t reserved[3]; uint32_t fqid; - uint8_t reserved2[57]; + uint8_t reserved2[56]; }; int qbman_fq_query_state(struct qbman_swp *s, uint32_t fqid,