From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0067.outbound.protection.outlook.com [104.47.40.67]) by dpdk.org (Postfix) with ESMTP id 704BAD208 for ; Sun, 9 Apr 2017 10:10:18 +0200 (CEST) Received: from CY1PR03CA0040.namprd03.prod.outlook.com (10.174.128.50) by MWHPR03MB3117.namprd03.prod.outlook.com (10.174.174.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Sun, 9 Apr 2017 08:10:17 +0000 Received: from BN1BFFO11FD030.protection.gbl (2a01:111:f400:7c10::1:152) by CY1PR03CA0040.outlook.office365.com (2603:10b6:600::50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17 via Frontend Transport; Sun, 9 Apr 2017 08:10:17 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none; caviumnetworks.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD030.mail.protection.outlook.com (10.58.144.93) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Sun, 9 Apr 2017 08:10:16 +0000 Received: from DTS-02.ap.freescale.net (DTS-02.ap.freescale.net [10.232.132.223]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3989Aow015502; Sun, 9 Apr 2017 01:10:13 -0700 From: Hemant Agrawal To: CC: , , , , , Date: Sun, 9 Apr 2017 13:41:20 +0530 Message-ID: <1491725483-6619-20-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1491725483-6619-1-git-send-email-hemant.agrawal@nxp.com> References: <1490362538-20854-1-git-send-email-hemant.agrawal@nxp.com> <1491725483-6619-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131361990165791160; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(39410400002)(39840400002)(39850400002)(39450400003)(39400400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(356003)(33646002)(85426001)(47776003)(8676002)(4326008)(110136004)(8936002)(54906002)(38730400002)(6666003)(77096006)(50226002)(2950100002)(8656002)(6916009)(81166006)(5660300001)(189998001)(86362001)(5003940100001)(76176999)(305945005)(48376002)(106466001)(36756003)(50986999)(53936002)(104016004)(2906002)(105606002)(50466002)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB3117; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD030; 1:woXJHi+T4wX31YBIj89nWUzqNBLhicV59yPqkBRtw9j8vijv4w3WqPvwa9+1yYB8HOKXDbg7CXb4U4Vehip0hcXpGE7rRVsBCVKjfQX7v8rQHd/lIVeUmQQf99+ha5qdYH9zDRnr3cbzESDXOVQG2vZL+yZS4oDM9L5f39u84P5k8jZIJQOy+WQTRyTW5899/bQrAMNm+nZJIx1Xg7MTz1s6FcLm2iwXw+tuke05QP+crMao4XeFHUteePqXHn6Tz+qld62gMrYKWGR3S+Hg0tHA45oNHw7qR6fyqBWlGYmBYCg9kom9Oi9MLPTKSHHgc00661wnrcvnwiv/fRCd0UDgyuuoxSYLPhRXDqL9Ye2TIh9wEY0fptrnWbNTJHVZjJrXqumSzbBtm+L58Rwy6zK6BCdGJ0dFxmadQ5tz7O64j4jSs5TxF8PwyT0IHHblgeaAzQXUba53CvkUsbqTeBpohMy/surggn1+0IOP7Q8nFG9/JamvUrJ8cnilXobi6b7K/as5VbFiqWc5I7riKhMjB4sZVitQ7W6PFMJcwlSRfU57rbVZ+uTTPqfdi1lytjcpQy3okCY41ecYMnJKwOdR18Y0WzeADdQtXXYSSQr83UUTXRhoqb6oRlGK/Xfnm9Crej9yzNsjisWBK6g8dxdRmkFl+dum435RDvviZ9w= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 152db8de-9a70-40e9-01b8-08d47f1fdb49 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:MWHPR03MB3117; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3117; 3:em99DEtXDBhFw7AY+ha0pssOaBr5Bn6Rk2X47u1oAlf1RPl/hQOpiIjMuoJb0TTgn8KnkUW5jwcqwlgnjLgYxG+6tfE6nWofARjyRfZRXcy97wMBs0UcRVhYHfWNN1Z1G8VFIkEY2r4m5NUKvZIBoHIhsCBDXJ/OHk9BEn81WhJgt878NuMCi2K/NsvLLfBwQzVOHxQOh0e7lPycdvERetuGEeaL1HqyiZ94iKkJsvZsi25dqwI4CcgCgcEvXb42nPhrXQTeqJfMqpxmWyci6h9tVwYpyHkOsMUgri1LaYQFM4kxPoNiVSKbUzeet0SJRlX8+vwERYW02e8vlq6OwDnO3OzrwUh2sA5uP2dJ+fUYpO2Juk6wx2i3kXHr3w3ziTqaMGGxe8H8DyhEEWPUnmx5QCfnZAPsRzj4NuWQgq923ZhdCL84AXspVnqLz3dq; 25:IT4hPb6aHF9usDiwgJ8qbi+k1Ku2gbM2wwgP9Ob0SuRGEmVWVzkwT4/4Eldjn7NGI9s4c6sY4w/uopc0BLT0VG2zH4ILfVtvTp8F7xtYr2lFJDJC6p1XQSYZKTuRRHd2A1+D8z3HKImAwi5buol3FWUCY8Ui1cD08macz8QuWH8sba6qnttp7ytXAeJa/KrVuFsDDgzrv1F8ae5Nb95z+vpSIy7dDWaU7sIqG5+QJ38H8gFYVi9MlUhEaU5wCF3bATXY2k5BayAw98F92GUYN7a2y5RIjtiAyPAV8HHtYqeqfz2GmvNhyIz45y+kEdBI/npkiNjMkykyGmpiSiL1WI0OWzALaalXdZdrh+mEJV76SPkirNgddnJPpT1ysq/Z9LcTFoCquC9i/BHYnhWFpljKZHwqCD/s7Ulbhtq6XcKBgKmRAR6j2pWhMw+Vpf1XkqCNyhicmCwidYg9bEYZEw== X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3117; 31:cROocLW/+kTem/lfYO+1DA9iySf5NiSfJIUkrNjiQDfVc241C9SL2Oy3EAj3b+ZC9jLmn5zeuXDz3xcesq96cUuLeCgCkoWFyX+K/0ulhky9MXF1vYl7wcd0N357xg7BtnNDaloW+4Q5z7t6kouhWFiA7QDX8U6A3Qa3K8r4P6qhIsTN9lavYweU6ayJ0rxaKpGSi7+9A31ytz2VsuLt/wuGqViqLagNc0NR/3uSZinpUZr3FRenio30rhWCqUss211uDsJT/2u2bxlBJbRWjnrTZl8L2ltjceuNd1zeN54= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13024025)(13018025)(13023025)(8121501046)(13015025)(13017025)(5005006)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123556025)(201703131430075)(201703131433075)(201703131448075)(201703161259075)(20161123565025)(20161123561025); SRVR:MWHPR03MB3117; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB3117; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3117; 4:4W0oe9CxOYhe3xqxwKYiSjwdAvZBSjwbkR07RPQmaD8itO7zIokaFsXQJSSjm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TLhjFgP70jQkqtWY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3117; 7:x6370qVy0x+7isgVkJ3cqNpunYP6n88klZDmUTXHjUDHv0mifcSDDqIN3RqggcjxTu9xHbDPOJptgUF9qQD5FT40hXlm1YuTYz7x+DevpIgogHOhT0TBiPJDcuO0sN6+OUMJ/f74MATa/JzfKNCH2RkOrx0kC8c4e/6vM5zOEGizDiQDGPIhXSSS6n18PMPQyc3XjLMqpD1WBetfUowrR5amfGmTp5ksgzFcRhv8zCjBaQewk/lBg7CtIfiaJ/7Kgkz00YOq7iLat2DBWlBsL2DUy13MfWbT3xbYgijUslIIuOsEunQ/AkLU7rZzAzQoFUQr/k6mS4X65GWbfcv/dQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2017 08:10:16.3919 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB3117 Subject: [dpdk-dev] [PATCH v11 19/22] net/dpaa2: enable physical addressing for packet buffers 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: Sun, 09 Apr 2017 08:10:19 -0000 Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 4 ++-- drivers/net/dpaa2/dpaa2_rxtx.c | 16 +++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c index 08f53b3..3dc60cc 100644 --- a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c +++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c @@ -76,7 +76,7 @@ dpaa2_setup_flow_dist(struct rte_eth_dev *eth_dev, memset(&tc_cfg, 0, sizeof(struct dpni_rx_tc_dist_cfg)); dpaa2_distset_to_dpkg_profile_cfg(req_dist_set, &kg_cfg); - tc_cfg.key_cfg_iova = (uint64_t)(p_params); + tc_cfg.key_cfg_iova = (uint64_t)(DPAA2_VADDR_TO_IOVA(p_params)); tc_cfg.dist_size = eth_dev->data->nb_rx_queues; tc_cfg.dist_mode = DPNI_DIST_MODE_HASH; @@ -119,7 +119,7 @@ int dpaa2_remove_flow_dist( memset(p_params, 0, DIST_PARAM_IOVA_SIZE); memset(&tc_cfg, 0, sizeof(struct dpni_rx_tc_dist_cfg)); - tc_cfg.key_cfg_iova = (uint64_t)(p_params); + tc_cfg.key_cfg_iova = (uint64_t)(DPAA2_VADDR_TO_IOVA(p_params)); tc_cfg.dist_size = 0; tc_cfg.dist_mode = DPNI_DIST_MODE_NONE; diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index deec210..c5d49cb 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -136,7 +136,7 @@ static inline struct rte_mbuf *__attribute__((hot)) eth_fd_to_mbuf(const struct qbman_fd *fd) { struct rte_mbuf *mbuf = DPAA2_INLINE_MBUF_FROM_BUF( - DPAA2_GET_FD_ADDR(fd), + DPAA2_IOVA_TO_VADDR(DPAA2_GET_FD_ADDR(fd)), rte_dpaa2_bpid_info[DPAA2_GET_FD_BPID(fd)].meta_data_size); /* need to repopulated some of the fields, @@ -151,10 +151,11 @@ eth_fd_to_mbuf(const struct qbman_fd *fd) /* Parse the packet */ /* parse results are after the private - sw annotation area */ mbuf->packet_type = dpaa2_dev_rx_parse( - (uint64_t)(DPAA2_GET_FD_ADDR(fd)) + (uint64_t)DPAA2_IOVA_TO_VADDR(DPAA2_GET_FD_ADDR(fd)) + DPAA2_FD_PTA_SIZE); - dpaa2_dev_rx_offload((uint64_t)(DPAA2_GET_FD_ADDR(fd)) + + dpaa2_dev_rx_offload((uint64_t)DPAA2_IOVA_TO_VADDR( + DPAA2_GET_FD_ADDR(fd)) + DPAA2_FD_PTA_SIZE, mbuf); mbuf->next = NULL; @@ -177,7 +178,7 @@ eth_mbuf_to_fd(struct rte_mbuf *mbuf, /*Resetting the buffer pool id and offset field*/ fd->simple.bpid_offset = 0; - DPAA2_SET_FD_ADDR(fd, (mbuf->buf_addr)); + DPAA2_SET_FD_ADDR(fd, DPAA2_MBUF_VADDR_TO_IOVA(mbuf)); DPAA2_SET_FD_LEN(fd, mbuf->data_len); DPAA2_SET_FD_BPID(fd, bpid); DPAA2_SET_FD_OFFSET(fd, mbuf->data_off); @@ -219,7 +220,7 @@ eth_copy_mbuf_to_fd(struct rte_mbuf *mbuf, /*Resetting the buffer pool id and offset field*/ fd->simple.bpid_offset = 0; - DPAA2_SET_FD_ADDR(fd, (m->buf_addr)); + DPAA2_SET_FD_ADDR(fd, DPAA2_MBUF_VADDR_TO_IOVA(m)); DPAA2_SET_FD_LEN(fd, mbuf->data_len); DPAA2_SET_FD_BPID(fd, bpid); DPAA2_SET_FD_OFFSET(fd, mbuf->data_off); @@ -271,7 +272,7 @@ dpaa2_dev_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) qbman_pull_desc_set_fq(&pulldesc, fqid); /* todo optimization - we can have dq_storage_phys available*/ qbman_pull_desc_set_storage(&pulldesc, dq_storage, - (dma_addr_t)(dq_storage), 1); + (dma_addr_t)(DPAA2_VADDR_TO_IOVA(dq_storage)), 1); /*Issue a volatile dequeue command. */ while (1) { @@ -312,7 +313,8 @@ dpaa2_dev_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) } fd = qbman_result_DQ_fd(dq_storage); - mbuf = (struct rte_mbuf *)(DPAA2_GET_FD_ADDR(fd) + mbuf = (struct rte_mbuf *)DPAA2_IOVA_TO_VADDR( + DPAA2_GET_FD_ADDR(fd) - rte_dpaa2_bpid_info[DPAA2_GET_FD_BPID(fd)].meta_data_size); /* Prefeth mbuf */ rte_prefetch0(mbuf); -- 2.1.4