Message ID | 20200707092244.12791-2-hemant.agrawal@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp735558ilg; Tue, 7 Jul 2020 02:27:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVh+Sr4SCpkzV90C/pbEHanRvrQ73CREyXgwShx0mp4fTJ6VEI0H2Ldp8YSALbHKIjf4uP X-Received: by 2002:a25:ef4c:: with SMTP id w12mr90892898ybm.40.1594114026695; Tue, 07 Jul 2020 02:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594114026; cv=none; d=google.com; s=arc-20160816; b=VD57UEasv/Ng73BjBoZBqpZ7vo8ZODmfAA0XHKLteNR1LVRo1UinZc67CHtALpU2mz 8hv4EfO27ozdf/V3vVChL5w55A1tk1+Ms6sq6g+MPl2TCS/vFuhmWjiFvjcQSCL6Mm7t zv1+I0u4Ka0ISrW1p71WOGFsMN4gNTCn5VfG3TtItuRECeRFLmre15OckbAX6FlOOEPu VxSm7F6U06nNO1AjQEXZVgU87Gzb/IVbt8Xcfofoz6EHETkTgeaAjh0D4eRkPqYN+nyp XFm0/0k01ln1wag9Xld1rPx4XZBArMflKI6UN3COzX0ohT4oN8QVFHCDWsYwMZoic0n7 lcag== 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=CX3fGvtd6MO7v1FQinMyILkHC5lXEuQzR79lbGTgF/c=; b=RsGP3YmvLjbo/yNaWdlOJFqz4LvMthg727eU4p5q2UGNoAXzfsmdzqyE1mtXnmKOny j9ZiX7D9gE44WVHGx7C+H5CwlVOIwaEkxiOZvZzbkJXUu1hR7sMM2n2lsgwLLYmyYTc2 l9wwxdvijOm5XRF8CaHjP7iXZEdp/MOgr6qsn/oD7sN2wTcS6mtXJpDkWchuBKvIDduP U8lTQhzLj+gB1ktuOHo3ohiQa9G1pqGLt+8zBeu2tahN8rt+JLk6mQ6v8WSyQ3EnrEJT LSslsIKK0Kzzd1nV9WusmLfSjLRp2wkyswgB7bA2JR1vjxGSeqhJ45S3ThEgTpO8gy38 trAg== 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: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id z14si20836258ybm.366.2020.07.07.02.27.06; Tue, 07 Jul 2020 02:27:06 -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 303851DC0F; Tue, 7 Jul 2020 11:27:00 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 5BCC31DBD4; Tue, 7 Jul 2020 11:26:58 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2A0EB2008CE; Tue, 7 Jul 2020 11:26:58 +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 174E02008DD; Tue, 7 Jul 2020 11:26:56 +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 F01BE402F0; Tue, 7 Jul 2020 17:26:52 +0800 (SGT) From: Hemant Agrawal <hemant.agrawal@nxp.com> To: dev@dpdk.org Cc: ferruh.yigit@intel.com, stable@dpdk.org, Nipun Gupta <nipun.gupta@nxp.com> Date: Tue, 7 Jul 2020 14:52:16 +0530 Message-Id: <20200707092244.12791-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200707092244.12791-1-hemant.agrawal@nxp.com> References: <20200527132326.1382-1-hemant.agrawal@nxp.com> <20200707092244.12791-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 01/29] bus/fslmc: fix getting the FD error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
NXP DPAAx enhancements
|
expand
|
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 4682a5299..f1c70251a 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -286,7 +286,7 @@ enum qbman_fd_format { #define DPAA2_GET_FD_FRC(fd) ((fd)->simple.frc) #define DPAA2_GET_FD_FLC(fd) \ (((uint64_t)((fd)->simple.flc_hi) << 32) + (fd)->simple.flc_lo) -#define DPAA2_GET_FD_ERR(fd) ((fd)->simple.bpid_offset & 0x000000FF) +#define DPAA2_GET_FD_ERR(fd) ((fd)->simple.ctrl & 0x000000FF) #define DPAA2_GET_FLE_OFFSET(fle) (((fle)->fin_bpid_offset & 0x0FFF0000) >> 16) #define DPAA2_SET_FLE_SG_EXT(fle) ((fle)->fin_bpid_offset |= (uint64_t)1 << 29) #define DPAA2_IS_SET_FLE_SG_EXT(fle) \