From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0080.outbound.protection.outlook.com [104.47.32.80]) by dpdk.org (Postfix) with ESMTP id 725727CB0 for ; Tue, 11 Jul 2017 08:17:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oz/MZVJjPu0seUQec2S/u4ajiOFBe8NCtx2QHSMUnNQ=; b=hfmEXgpVNoHfjaP0hzi+mwahmcayMKITqPL1uBID5M5VpPFiNqmcoBMsyELszkcNLzM32ieMOvx7w9Nfuw/niFokd51FBmM7fGev9QfEK1QmhIXCN7ijcLFo2jqTkiGgEJHEjjcyYLdqhM9+LJxKsFWV3AAjD81M1GnnjqAUr/U= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (111.93.218.67) by CY4PR07MB3094.namprd07.prod.outlook.com (10.172.115.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Tue, 11 Jul 2017 06:17:25 +0000 From: Santosh Shukla To: thomas@monjalon.net, dev@dpdk.org Cc: bruce.richardson@intel.com, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com, stephen@networkplumber.org, maxime.coquelin@redhat.com, olivier.matz@6wind.com, Santosh Shukla Date: Tue, 11 Jul 2017 06:16:21 +0000 Message-Id: <20170711061631.5018-2-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170711061631.5018-1-santosh.shukla@caviumnetworks.com> References: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> <20170711061631.5018-1-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: SG2PR01CA0103.apcprd01.prod.exchangelabs.com (10.170.138.157) To CY4PR07MB3094.namprd07.prod.outlook.com (10.172.115.8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7fbb1f1f-55f8-48a4-ccfd-08d4c8248233 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY4PR07MB3094; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3094; 3:AnhW2M8stuNJGY9/Pv+c63BIS/ASTZmzpT/lrUM+E+5YwG8IN/Kfne8J+36Cq7aOE67WExgb+7FlX/5SNlzH+U9eZ1NQR3FCnbpD1zHDLsSjDbt88R8TzaYqr8nvrCP0trKm50EnG8C1ZJHQ9MJl2cegmdTNPOCnHuLYm1oeEtZPHwVFW8vJfMBwMhhFle35rwfG+H17gXn1NFZ2xG87i4S8C/dd2Ed5U76RTvlsBlUw8cdcZTZPG736iCCx0O2ABuclHfY6g+aUzqL5wLpwrS3xaneTTqU2t3laeF0L7yTkX2YYt02aC042ITtayHf7TpRd3lp/kJq8QhmZKo9RADZexhLYT5Lhz3SSyCrE8JXCo4omfqS/ZB992r8BmMLUU/NdFxHM3Ot2XhlKkDI3R+Q4eq39QvG9hbB0i8jmkNlBAQB+NHygq4HIkb4kpAITwAVxpVg18sjhUDjT1DD0XKUSjUJkK7rQSd2pEZTnZPwKpviYBT5N+pYJH4viPVgKoHGF05k7ySBEUhDJNRpCJIOyybGQj5gPfaDXzX0IgNKY3WUjwZeXtMaLSgFGZ1p9Hv6+LHZZRDLGqMd8N4tuDrPs+JJ34Q2gOJ1dI9nbfVNpS0VREZBk41k9S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UbdKnj1AWJD/ESRR68/rTVuSkxBNiLYXTtAsCh4j6fKQWV7iVLCyOd+SysvD+CgErTGxjC88mHqTRs9cSE07jqCEFVQn3NFs+9+OFfFnm8gu80hn2qFgdq/KDgbEkqpGH5rqUSu1HjKJNCfKcXY32O2kx3q8cry4An5j+4IfW9mjC6q3fWkxYI7pro96XvIH1VKXbZxmKc3PZZwiJqdZAYOQhgYPpveRimeW+EQyaPQ884nAXjah5eUtzmvnnj8boAuwjTsDN6WbikCLjSpdfDieZlo8M21gO3flpSQsBicTOGzEnn/cqzV/+h9LQBjgFiAG2p0R6cg/yOEu9Tw0eW+encXwNwA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(6041248)(20161123560025)(20161123558100)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR07MB3094; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR07MB3094; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3094; 4:zAj5AqLFRKg2yrDf85G3X+a5CelWvChjVgcQflvpI8?= =?us-ascii?Q?SffPdg4Pp1fYVx6X1sglz0yuHLd2hTd6KrLoQj+Fuxjx5Ga6N2zPV0uePqzu?= =?us-ascii?Q?U6fjmSzAj5sBiPZj5CrmdS3DcSRNDpUbdOqX2uXNrA8w66yX7tG5cQNwRMbu?= =?us-ascii?Q?OjXytVBptgd1ddhcWGd3/UFXJouLSaY5I851/WzCa/ab1/N4KuYHWcg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e8Ddx+9mDa+JhLAtQ/5+ycwNyZONThmWPbAKOKZd?= =?us-ascii?Q?SdF04I2+xaqHZmolmhmgPlc7rvUcOjukeVrCQ+eaHos2kkn6lh7NhqouiQVt?= =?us-ascii?Q?BS5dAsjwvoUPA6Y2qnGz6JNIrUSVC5m8Fh?= X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6069001)(6009001)(39850400002)(39450400003)(39400400002)(39410400002)(42882006)(2950100002)(6666003)(5003940100001)(36756003)(50466002)(50226002)(2906002)(5660300001)(8656002)(6512007)(7416002)(7350300001)(189998001)(6486002)(6116002)(3846002)(305945005)(7736002)(1076002)(4326008)(33646002)(53936002)(42186005)(107886003)(110136004)(38730400002)(478600001)(5009440100003)(81166006)(72206003)(66066001)(76176999)(8676002)(25786009)(47776003)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3094; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3094; 23:F0ldxXckJ+3qlJSC1GTgQsJd+5wIVAo1dBBq7JBnq?= =?us-ascii?Q?YpmwoDS7YRO5tlrbIpu9eTcISAueYUhB/A5E1gHRUzE66cr3muENE0fXeep7?= =?us-ascii?Q?+brW0id+8VnC3/5KkAw5EIQIzyxTfq7NJO0m2m/vDGPPlPeI9ZnddrnF1CKg?= =?us-ascii?Q?zEWugysVrIkeSRcwlgt/WSg1yzH/sGPgqdZRCCdjN3NxVsaC0aBR79wSCL4T?= =?us-ascii?Q?GMwcCaMzb6WKdgPAPK1nO3KH/zAVjv8Cu7eueRYhabfu1vAk7MVEiWS2Xg7U?= =?us-ascii?Q?dITlTwro0NiwRGu3oBGHZWZr/5eZ6y5qUnunKPrf1e/G9Nz6Z6gs58XIV5qj?= =?us-ascii?Q?FO6vK6vvh7nhJdLALPRqSeRL8CSmZKqwlP+Y+Wy+mos16oMWzmza6jHr9qq7?= =?us-ascii?Q?zCv529tekW+hMTGQOz/HOO4ik18vTMEALM9EISzoFJ8wkYMvZo1xa6KejsF9?= =?us-ascii?Q?xKcRnn3O0W7BgZ3FmIq/dWoyqtOcMJwUPFGKIKYYnIcaY6GdDSM50/skoGHp?= =?us-ascii?Q?vkF+UST527PjggGvYk7p+EAg23HFBFLAGDMm19S9u9ULLPG/5wDLhhfQgO1q?= =?us-ascii?Q?SPpJLEe+Wbjh66eceaAOuRf2PQRGTnXZr+/Jz+xSdVJg+57WYecHVwEzZbXM?= =?us-ascii?Q?XYYjGHi5Kl/mIrd8myXWPbQcIVNTmju8uFvz4Uss/8yaXeTZxcozxyDrQQOU?= =?us-ascii?Q?xS8gvytr/ER+DenBNu7OSV9hys0DrHlPaavGilDJw6uHmRNeEeAhPGhHJ/xy?= =?us-ascii?Q?Zq+dtM7ocD4NZReBvvyQqtuvO/Fuuky6VKoVZl3SHDt758oVhdGkWs14V2oU?= =?us-ascii?Q?Fv87yQFnwahZFfsVUFNUEoHRjEatwqYut7cslOhDwlPoNvi15wyPLYb1uu04?= =?us-ascii?Q?ElhvRkP2Nbjv9a35KFVdPSg1IAJ3FKSocZWiyHj7CO4bRDfSPTGfYSRn5R6x?= =?us-ascii?Q?pcjdHDSCYAvvAm/VuMtQkYpU3cAItfv8JPg6fX9ZE6UcFlZUqy4bueUfv1bc?= =?us-ascii?Q?ngi4+WngyBC6G9MaCP0q5iIqE5Yxaf/kPpSM2eLK/DaZcqJzHNSFrMdmZSqI?= =?us-ascii?Q?58skwQPbMu/gTYvjWA4Wj89U8GD8l1xzcUl5D1sIcw7MWk882bYL9yUjxlR4?= =?us-ascii?Q?16OiQJnL1HranoaH+Tph1tDJ1zrFo8w?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3094; 6:m9y0AUJ7mv/sjNxYSeKn82Cy3o6O+LwCnkr2uDWhWm?= =?us-ascii?Q?I8NdeZpGmspRHiItfslGZ7SUph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6WlesU/H7x/oqq1aJnK8ppWia16oyXVtHG7s2TKRuy3GxwEWOzGFFHav9DueHpUc6h9ROXSkU0phs8z4scig5fqJkrjOwpELpW28O8GLNRxv3Izhqk2uidEeNt7Q9n7PNvOzJjBieGfabUQ4OPEfiBi5tEoll9R8SZYBVW7PxDnNkw8yKCYz/CbIvZAOE2ckwblscOIUdnx8bjWdVQt9RoJ0jiLIRwjG6UhX++zs52VFqml1FYnzrUXkOAW0UopWDan49+clWgEEeuZTwBzP6Bsz4C4oQHdW5qKHbfFJGxhN7nyhZxQMlwtyDM9qRX+UHlxL0UiN33/4Wkp931++NOROaiYzR0MFXA2gTvdaax9FAUK5HWgWvCGxL5KQ/37RuzeW3FlymFeRZOkQXmrTnxk8W5JD4eckA5NBJOn0O5li3yZJ7QkdxBRIsmwBFSAOOvFf7CHmWkS3qvPb/BWjsMjFMef2dOixUttNc+hXrhD+Hy8ot0U89vjhUBd+NLXzvzNo4LTOMLOxxVfuUi7oWh92tK3vYH/NdLEMYM54G06vjXo69es2vFPNjZo= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 06:17:25.8663 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3094 Subject: [dpdk-dev] [PATCH v3 01/11] eal/pci: introduce PCI driver iova as va flag 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: Tue, 11 Jul 2017 06:17:33 -0000 Introducing RTE_PCI_DRV_NEED_IOVA_VA flag. Flag used when driver needs to operate in iova=va mode. Why driver need iova=va mapping? On NPU style co-processors like Octeontx, the buffer recycling has been done in HW, unlike SW model. Here is the data flow: 1) On control path, Fill the HW mempool with buffers(iova as pa address) 2) on rx_burst, HW gives you IOVA address(iova as pa address) 3) As application expects VA to operate on it, rx_burst() needs to convert to _va from _pa. Which is very expensive. Instead of that if iova as va mapping, we can avoid the cost of converting with help of IOMMU/SMMU. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/rte_pci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 8b123391c..ac79040dd 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -202,6 +202,8 @@ struct rte_pci_bus { #define RTE_PCI_DRV_INTR_RMV 0x0010 /** Device driver needs to keep mapped resources if unsupported dev detected */ #define RTE_PCI_DRV_KEEP_MAPPED_RES 0x0020 +/** Device driver needs iova as va */ +#define RTE_PCI_DRV_NEED_IOVA_VA 0X0040 /** * A structure describing a PCI mapping. -- 2.13.0