From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0065.outbound.protection.outlook.com [104.47.32.65]) by dpdk.org (Postfix) with ESMTP id 6810F5905 for ; Thu, 20 Apr 2017 07:45:00 +0200 (CEST) Received: from BN6PR03CA0055.namprd03.prod.outlook.com (10.173.137.17) by CY1PR0301MB1194.namprd03.prod.outlook.com (10.160.165.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Thu, 20 Apr 2017 05:44:59 +0000 Received: from BN1AFFO11FD016.protection.gbl (2a01:111:f400:7c10::142) by BN6PR03CA0055.outlook.office365.com (2603:10b6:404:4c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10 via Frontend Transport; Thu, 20 Apr 2017 05:44:58 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD016.mail.protection.outlook.com (10.58.52.76) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Thu, 20 Apr 2017 05:44:58 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v3K5iavd015982; Wed, 19 Apr 2017 22:44:56 -0700 From: To: CC: , , , Date: Thu, 20 Apr 2017 11:14:21 +0530 Message-ID: <1492667067-21968-8-git-send-email-akhil.goyal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1492667067-21968-1-git-send-email-akhil.goyal@nxp.com> References: <1492616268-6307-1-git-send-email-akhil.goyal@nxp.com> <1492667067-21968-1-git-send-email-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131371406987426576; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39410400002)(39840400002)(39380400002)(39860400002)(39400400002)(39850400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(5660300001)(48376002)(106466001)(2950100002)(69596002)(6916009)(33646002)(50466002)(85426001)(189998001)(53936002)(77096006)(54906002)(8676002)(38730400002)(110136004)(81166006)(6666003)(4326008)(2351001)(8656002)(105606002)(47776003)(86152003)(50986999)(104016004)(76176999)(575784001)(36756003)(356003)(8936002)(305945005)(2906002)(5003940100001)(86362001)(2876002)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1194; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD016; 1:qXIjxDu4mKGVw0uEUrP7NgDIBfPNm6K7HNMhRn9u8L9nP06EC/470he5j6kM3CYh6m+vhWA0BUTIOK5qP+zW0jmokdybSiJuzb+jhLCNu+mnxRoNGKKd+ClC5s3VOe8C59UvgJ8j8xfg0J/mvSTqTp5rK21DmrlUPkJ+S9aR844devxIY32EAin63JzGmthI42B8lJXWjgRH8TfiSBnxn+/yyYU70mHOBz9PttEHvqYvxygxfn5EJ3dSqZsdejTGkYJDf8Ge43bzcZCh86v22e/YNB5p9VYayBsHdQrLxw7YEZaxBkdAGurzdEhrTNm0AJVWhjdRC2RLqQEzZxSxPTHt0aDzAnBadwpbv6SBk3Cw128ApTjT4zLIBYr4rKFh1oIJOnQaW9KXg7omCjvuPC4yBA8qXt3keAAA98htHAfoix4kIJgMCDVKDbef9FH0FbL+ZtkFSN+k5CnQPnBN7WOB+7g8JxSrvFBx1AwIKuEpijsUIr/qhytHpBfFf513yiYWXK92hEs6c2+7w3Z3PxbCoUgpTBlMUMQkcEg99drD6DvpnylSh/H3MewpVsnblq01OJTuFXht0XREPEgLCwncMSPIo2XSJB3QP27+axk2eV/HYiJ0pyLnZ7BXgh4QaL3e6fBW3N1avwC8fj23YbZYjIcsIYrM9tK7b4B8jK+5zbUK1ZW0I6E2wAtRTrSfF8E+yu2HaYX9LbasfS6u3VFb2gDnaDfDLKY8VxthOGRlsZPmmWJya3yC7gsSxQAMf1wAoxjLc6wgCn4ie4e0rA== MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3a3fa9db-347f-4a53-99af-08d487b06195 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:CY1PR0301MB1194; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1194; 3:+PXQNjxb+HDLqJEiZ+tCwVzjZLtpePV2K4XaiyetCHPP/cX1biZtOUsZeJucVV03bq8RRgYYsDq2xlEwOQjz1uSmLBfbPYgK01blOk/CwcMWlG9gu1TeEHapbhe9Thy4R0QRwuxYCzENvv0Nj/xZstHG2nxexxuhce9tGkzuJcAYEj0jyMzathqJCE48pe1dFptNlWcMQM2RQgtKd60P/6KuHY6SbNHTHIR29Op0mKRfUcTyZVpUfLebisDYSvZVsE0Yfbdq5yWbzxRcGpYzo7LuG/WXt35dQkbo4/NNP61O7F0CLsMYAtoVWuHuoAKHPnIR5g30iKMpnm5gs5G+4NPdkiaYVyy80vu13UhkJVX6LQkpBl9gngiCclgDXgviT7RXbDMD0ZUvYfbQlWtd5PZdY1+R/kjSACgqBmqSqyCOziqwOEsPaEjo+FgM4/uq; 25:eMKIgoz3BFKKWdr1WK8bGOvrblTenGypLP6rbJJeUcHZhl9B3TBD80zByhKfdaE4MnwcgsWPK1SJGtSNztH8bx0BPUhW0Bpn1eBT74pmOHRr/2keiQ6dYNAk6m2FlGR+3lqYTjX+drPR3q+Qz9qRcpYvvk+K8wLigPzsdbyTH4+EgCEIDOmmT8NZI1gesY6ZGpJ256ikVUozXpPTzUvgAxcL7wtSJGTTA4M7wZft2AhoOvaLVK0ipiWjLMVCbtyQqMd7yKVK+ObfQXPfeqEsns5WwjqdLlwAq4xHoe1M21YArXrFY/+7L9pJw2PN3+Ks8wCab0axVf4qrP5EIqnlzoxyv02pDzjuIJul81sOw3WB03N2hRvu7f4bKbdCDwt7eE6j2P5TP8MzIQQ5utHzQkUAu64DAsNxA6DZ3Zs7R3qpX2ONKfQ1pumpKuLCJ9grzXKvVGosCkdATjGHDKzIuw== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1194; 31:eB3xeAdzJ/SzdAf92zuOpp8QyNndlBrnNpCaM0h0kD+LdQEL5wyMmZCD5eGY9wBoS2SZM1hjlDbi8Oqj6+otxfqKpV1u3s9dNYMkWKJ/gwRWur6ZnlGiWzBzWA8vjPelDbgKqwxve0dBeM5iwPyCtbra3RVsFn8kedMWp1TrDUgtQhDVxTh19/PN1Vfzjw/f8458mYW0RA8sLcovdeIzRimj5EAWEM5pJQOIg22ITBovHyU+GgvtnNZs88WQEk5t0UKubfVcrSKjp+Bt+nTSngBqaTfppkWTUPxkcPKgpxk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(13018025)(13024025)(13023025)(13015025)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(20161123561025); SRVR:CY1PR0301MB1194; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB1194; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1194; 4:HgBOUe2DfuR4HZIZoncu4zkiR0bDCevU9vnVEKozQkEIedTUORj2AGSQ21dv+wmCBngu2QvojWUylbhYDZ1HAWb5E3RECJcb5dKeny664qbynIehDgtLJkc6j/fLhd2G8UKdu1YvcbKE8QOPo0RjqVJsxh9fZnr6wByusNWMINieO5oqyJ8Dxwz6QRf34O9TsoYsmWa08HMV9lBlWOgOXvT3x2UQKgBrwVQZP0k5AcSW+na0ZRiP82q5JzIN+R2Y4m5CbO4VHyiHcsgMk/h/dUEVJuLZ8K9C1Cm1BbcfHQqUGU/24+9dL4jsdBl7OSd8WXdfGEjXm2aH9LiLZUsqBiNbCRpxqVhxeH1F2/WkQWKPwvskmqV0I9McZKWR0kmGDf7z+SST5BNBx1ORD7rxwIEAhMMKUkJ40mwUu/L061QR6fAGzhK6aSUwIy8AFqVxWMq/qBsWSD8spo/YhEldv1fFGw6rTj+D2nTCIGdwnUlD03khG7BdYKT1wQspVZXnVqs2LHYUWD0lguotjvZBdKyqNcwnSAZPYCyUroYYCiE8hSm4J34DFyvCwgwbZ7/X95zj2tVZmgMVIo2a7Lyo/EdllsPr/FW7JS61GY5Zr6z1YZHwu79Y0F7uIVhJz8G+VOlD0+6GvE4WTHiM3o3/sfqDdRveF0xN9TNANFV3C8Ry91xJXoBmt8w8/DPTBJCB/R4gjonPp3i64xJt+mELxtpIkuwgk/BS/dFRi0eNEhr2/mP+s6/jYGE+7k15ZzwJ/zy2Ltca90xPNrFhUkYOqpNLelOaS5/+1a7j1zlvaeOKqiYs07axM6ryBUQC8EEltiKuDnhAPkq6pETCW3jsQWV05XTKmaDJ113hhHLuuIvEjmlr7gSWI55ixtVR+jlCaYSe6+gHHggiTHmn4Sw2e/KZobLQX5f795U6f+mxUP0= X-Forefront-PRVS: 02830F0362 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB1194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I/9RU+NTuHkKYSsT458k171lRf5l; 5:x9CJQnaP0Xb9wZKVsxT1CGAmeqZ2q1FSrxCQuZ/PQJ+8uH9P9FT8PewhrpTOwolSlqromLO/wzhc+jhuphjs+UnyJKnlQnnAs9ZOPOU8QGgP8dHi8FYNN3epWgBzOpL9LxM80lTBH9GLa3MWhmBASJj0jcH5WjpiZZ3OHBq63UbANxQ7Z1zJODElNJ00Cg3z; 24:MYY6liIeJZLhtwcGQO6f4uvpRkEVseAhc92sytv/D7R7DG/mssx5YTrobxrm1ZMqjL5nehnLXdpX9Kv9C6kFxx+okRNKfINfPmroSiN9jfM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1194; 7:L7DOeCw5zK6ROKSsrEiqwA1yVgv5DFzaySW7u8z6YWoYhm4JUz/Np0giJ06We9aLEvfGDzvyca7wt/n1Eze4JO0LN8/QHkvsNJltXNh04OzJ0F8bA50ZlRtbkbXyVwHndY8EdRIpySrdAVVlYNbaUh1iIHIUvDrf+H7LopEBhN/E3yJ8QH/eX64FiPNoIFfJef+rKAGJquCLxc8DpVIG8HnR+dUqcXGxa3ac4JjNUrRd18mqU+XmRDe7cUpf0Ax0dCN28G90SzYlKNaogRCNzacPJVNeIIAllvLQYDUY00tOHkcXBG+o3fgDWTblI8guWECXZOyPcI9QZaEsGuCMMQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2017 05:44:58.5086 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1194 Subject: [dpdk-dev] [PATCH v9 07/13] bus/fslmc: add packet frame list entry definitions 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: , X-List-Received-Date: Thu, 20 Apr 2017 05:45:01 -0000 From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 +++++++++++++++++++++++++ drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 41bcf03..c022373 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -144,8 +144,11 @@ struct qbman_fle { } while (0) #define DPAA2_SET_FD_LEN(fd, length) (fd)->simple.len = length #define DPAA2_SET_FD_BPID(fd, bpid) ((fd)->simple.bpid_offset |= bpid) +#define DPAA2_SET_FD_IVP(fd) ((fd->simple.bpid_offset |= 0x00004000)) #define DPAA2_SET_FD_OFFSET(fd, offset) \ ((fd->simple.bpid_offset |= (uint32_t)(offset) << 16)) +#define DPAA2_SET_FD_INTERNAL_JD(fd, len) fd->simple.frc = (0x80000000 | (len)) +#define DPAA2_SET_FD_FRC(fd, frc) fd->simple.frc = frc #define DPAA2_RESET_FD_CTRL(fd) (fd)->simple.ctrl = 0 #define DPAA2_SET_FD_ASAL(fd, asal) ((fd)->simple.ctrl |= (asal << 16)) @@ -153,12 +156,32 @@ struct qbman_fle { fd->simple.flc_lo = lower_32_bits((uint64_t)(addr)); \ fd->simple.flc_hi = upper_32_bits((uint64_t)(addr)); \ } while (0) +#define DPAA2_SET_FLE_INTERNAL_JD(fle, len) (fle->frc = (0x80000000 | (len))) +#define DPAA2_GET_FLE_ADDR(fle) \ + (uint64_t)((((uint64_t)(fle->addr_hi)) << 32) + fle->addr_lo) +#define DPAA2_SET_FLE_ADDR(fle, addr) do { \ + fle->addr_lo = lower_32_bits((uint64_t)addr); \ + fle->addr_hi = upper_32_bits((uint64_t)addr); \ +} while (0) +#define DPAA2_SET_FLE_OFFSET(fle, offset) \ + ((fle)->fin_bpid_offset |= (uint32_t)(offset) << 16) +#define DPAA2_SET_FLE_BPID(fle, bpid) ((fle)->fin_bpid_offset |= (uint64_t)bpid) +#define DPAA2_GET_FLE_BPID(fle, bpid) (fle->fin_bpid_offset & 0x000000ff) +#define DPAA2_SET_FLE_FIN(fle) (fle->fin_bpid_offset |= (uint64_t)1 << 31) +#define DPAA2_SET_FLE_IVP(fle) (((fle)->fin_bpid_offset |= 0x00004000)) +#define DPAA2_SET_FD_COMPOUND_FMT(fd) \ + (fd->simple.bpid_offset |= (uint32_t)1 << 28) #define DPAA2_GET_FD_ADDR(fd) \ ((uint64_t)((((uint64_t)((fd)->simple.addr_hi)) << 32) + (fd)->simple.addr_lo)) #define DPAA2_GET_FD_LEN(fd) ((fd)->simple.len) #define DPAA2_GET_FD_BPID(fd) (((fd)->simple.bpid_offset & 0x00003FFF)) +#define DPAA2_GET_FD_IVP(fd) ((fd->simple.bpid_offset & 0x00004000) >> 14) #define DPAA2_GET_FD_OFFSET(fd) (((fd)->simple.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) \ + ((fle->fin_bpid_offset & ((uint64_t)1 << 29)) ? 1 : 0) + #define DPAA2_INLINE_MBUF_FROM_BUF(buf, meta_data_size) \ ((struct rte_mbuf *)((uint64_t)(buf) - (meta_data_size))) @@ -213,6 +236,7 @@ static phys_addr_t dpaa2_mem_vtop(uint64_t vaddr) */ #define DPAA2_MBUF_VADDR_TO_IOVA(mbuf) ((mbuf)->buf_physaddr) +#define DPAA2_OP_VADDR_TO_IOVA(op) (op->phys_addr) /** * macro to convert Virtual address to IOVA @@ -233,6 +257,7 @@ static phys_addr_t dpaa2_mem_vtop(uint64_t vaddr) #else /* RTE_LIBRTE_DPAA2_USE_PHYS_IOVA */ #define DPAA2_MBUF_VADDR_TO_IOVA(mbuf) ((mbuf)->buf_addr) +#define DPAA2_OP_VADDR_TO_IOVA(op) (op) #define DPAA2_VADDR_TO_IOVA(_vaddr) (_vaddr) #define DPAA2_IOVA_TO_VADDR(_iova) (_iova) #define DPAA2_MODIFY_IOVA_TO_VADDR(_mem, _type) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index a55b250..2db0fce 100644 --- a/drivers/bus/fslmc/rte_bus_fslmc_version.map +++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map @@ -24,6 +24,7 @@ DPDK_17.05 { per_lcore__dpaa2_io; qbman_check_command_complete; qbman_eq_desc_clear; + qbman_eq_desc_set_fq; qbman_eq_desc_set_no_orp; qbman_eq_desc_set_qd; qbman_eq_desc_set_response; -- 1.9.1