From patchwork Fri May 8 13:02:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186341 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp4159219ill; Fri, 8 May 2020 06:05:59 -0700 (PDT) X-Google-Smtp-Source: APiQypJ4zTmuHwBP4IAi3fnW7nziOr3gghcN54egvgYNjJ+uhYuFBFfomVVSr+7KIu+fayvF7Bnp X-Received: by 2002:a50:f98c:: with SMTP id q12mr2191551edn.172.1588943159742; Fri, 08 May 2020 06:05:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588943159; cv=none; d=google.com; s=arc-20160816; b=Espj6iNz0CKgmlhFNT3z4e+Y9xmfGy+zlosv/10xqRoVgoR6reRNLYvWzhghULR9M/ 3AVc/VJqSauMOtEy8xFZZNtl0hGmJavOJwmiz0Glg4mhLlSWRfH6p2tVpeiHkqa4CRUx NIpPFE3XbIm0AuYOhf4tMdTr2blvbXNj93myI6HS459mZFgQRYjNrZRsyRrsbqf3jSte 1iwsH9k+l0QJ5e4IrlqUVrcj11/dzw78R7FqExPkfWyS7Rk96sss5TrdVBqZblXLCQQO lCsYy3TFm/ZW4QynxDtfmyM6XqOWNlM2dBsXBJABZrOhI7kw3S3RyTPdnjni7rE3l4hi 2Azw== 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=J+YzltJyNZQcJjQuaM52kwx52C6+WDP+aEEr7l5hvcwMZmbobOYXxXf/NIrWdiwzF+ SyQzJOwPWPxQt6QeM1PqcDmZSboyNzPLtCtnqEvihZL5iBG8yvieHhrDZBwMrZAEm57x w8fhA+1HHD3E99PPYLFDdxB+R5UOHqZbeyazRylwIoI3VPoqYAM7zl4bNWU3kF9jynDt TwXhEMBduxCc4t6wcK+/CwbHUHiQ4piVzVIMSFhpJ5weWPNY46/E/3A2ej0l/Ps7vALi EHHnlOZd6G4q4GjCKcyVLCEUcscNkjXx4jRLMuM9ogDfl8FBRFziOQZwqaAmuP1SCRoG jBZg== 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 n1si975460ejr.104.2020.05.08.06.05.59; Fri, 08 May 2020 06:05:59 -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 D21241DC0F; Fri, 8 May 2020 15:04:39 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 56EE71DB97; Fri, 8 May 2020 15:04:30 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3820B2013A1; Fri, 8 May 2020 15:04:30 +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 3488D20100F; Fri, 8 May 2020 15:04:28 +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 8EBB440297; Fri, 8 May 2020 21:04:25 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, ferruh.yigit@intel.com Cc: stable@dpdk.org, Hemant Agrawal Date: Fri, 8 May 2020 18:32:10 +0530 Message-Id: <20200508130211.14334-10-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508130211.14334-1-hemant.agrawal@nxp.com> References: <20200507104645.31990-1-hemant.agrawal@nxp.com> <20200508130211.14334-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v6 09/10] 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,