From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0049.outbound.protection.outlook.com [104.47.33.49]) by dpdk.org (Postfix) with ESMTP id 0215456A1 for ; Mon, 24 Jul 2017 10:42:04 +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=R3S6mwn48WEG8t+Y2l3BTq8h9CilRk9HCJ3gyJZbp+Y=; b=D0Ae77cHmjhkJ7M3W4SSlDMWt3NI+PjR4Ha0yZwHQvX0xziBipUWcZ5kxXnOGMSZBOvCMJu4dM31p563sa+6HoZfGTxcTNX9DAdnhLq/6xclNg7UGH6SxmhZOG9OFIYbeRNhEHEWNJ1kY4XoRxyErKCvieXIe+aqYeWXoJCJr9E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from localhost.localdomain (223.180.24.9) by DM5PR07MB3097.namprd07.prod.outlook.com (10.172.85.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Mon, 24 Jul 2017 08:41:59 +0000 From: Santosh Shukla To: thomas@monjalon.net, dev@dpdk.org Cc: hemant.agrawal@nxp.com, bruce.richardson@intel.com, jerin.jacob@caviumnetworks.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: Mon, 24 Jul 2017 14:09:53 +0530 Message-Id: <20170724084004.25542-2-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170724084004.25542-1-santosh.shukla@caviumnetworks.com> References: <20170718055950.10208-1-santosh.shukla@caviumnetworks.com> <20170724084004.25542-1-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [223.180.24.9] X-ClientProxiedBy: SG2PR06CA0085.apcprd06.prod.outlook.com (10.170.138.11) To DM5PR07MB3097.namprd07.prod.outlook.com (10.172.85.7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a7b79211-4e7b-4e04-3529-08d4d26fdc3a 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:DM5PR07MB3097; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3097; 3:E/v9fMMcKBopZCkHgABmpajNJ7wTJk7SXMZ8I5NR740Nba0ahx+28D/wQFg5iutXhv9pa7qSpQxu8xkIdtyYrKmujYV6JYvE4EOEs5pcXswPsRSCRHjdFxugyVsctw8BFZQsBRUeOX4Axzmk7j6AW1BNmy/UoCMuJqk5nPetV6OKelc/qm/sZng8ZRcOEDGqxlMXFN0C4fwWENgRnVU+89b7QFMk8rQgDWfXwEqlLua/FgbDAqL6I0WE5crBCnqbyOfdvEVO8AgMxPkrKEpINOoNNM0PRjBt0I8bYn2aSbhqS/5wj0DOuub0cUDwHrB1dli5Wnvp0VafY1396Wt4lUjUNAZmb0ut2UpTvjkqBN0PFwYmlTE1dkKCbzfGna64TBTd+T78Lxfh2eRuwKEsJ9oY0mRVhtBbNmkLaxL8kWUYd0U8VPqf82emw5VXAoQTIGbfqG2YbJ7qhS9KBoUJjDaEDKLHNFARmPq0kGLzEci1uJxoDdFtMiueytJX7JrqgYKNbgyrZ1YKwBqCcMV7BvaDllgWttkNNYksnLGpmrDwPCQAKfoVnDjTwXS522DW6kzWfXz1i6Htf+QzUPyL7CLsRwHKLr13lKvqmKH8JPKtZRBa8HowqZCxOJTFxcYlKQdGR3vK7F297F+E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4G3or+HvGkmm9nAALBiiKq1ii/xJDm9JOBNLXcYxXGIp0j2LLm/4gIfYsJfbNSBw/mlNI36rtOPCrEizYHStZNeGMlGl84AcXlaQU5tgprRPK3psSasekfAPFN4mk3CAAOkPzt8F9WN3PFRMy+X4kpy6pLtFRHW6FJ1jqUqZBrNTuJ1ryP288gU8yHDeYDYkjhF/gjjyqfnxC3kboNFw0iWfb+VbKUDMbKxL13hOyLD5Rx9yNGoijK0RdxL0Avc0krJ7Ph080/N7wapf/7BpZcGw3RvzjUPhbRJXQ4BEH/cPBoNWEASF0FCdaIk/RbdWG4aw1Qv1Eic5vIvDzmvfX6T5U20zSWNHXNyjlNoyR8= X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR07MB3097; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR07MB3097; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3097; 4:7yKdwru0ReGm+K6j3IoMeDjw95+lNs+w8hhx8Fg89A?= =?us-ascii?Q?VUMMSZ+Ee0boQ+7Wv/rnj0CVbEaeRjT+pcneOqX6693xitOGsF2PJ1nXp7ML?= =?us-ascii?Q?sU5H3vhwt5pB/3lM8dFtZ+Zxds6uqP1JLJuWtVdFpujVbiQv21hp/2kNFCiE?= =?us-ascii?Q?dEXeH0uLXvlyPSCk7DgkBarGMRLAheaKDoMK2SIGQ5Zkirr54+nPkh8SZEBA?= =?us-ascii?Q?IJNALeXQ9qNSc6HMCkFUcBXuokC9vOtSfbmvwY+MR5/KKaxrfa5T4hz2chqO?= =?us-ascii?Q?IMu0C5H958x+cKIot9h6hBss+75Un+0rH20fHNpogXn0BeOn7nLk7+HCu4Qe?= =?us-ascii?Q?8KxjVZ79OkCow90kLdsbeFD3jOZxHTStfysJwdyIqftqwt+pCETrn+EEhF9G?= =?us-ascii?Q?79BDEFv8JLYKrL9k3TWwNGJj4nUcKwFh2fw8Q4+b1NKQvUN76WAtXDGSCQe1?= =?us-ascii?Q?2iAowulr01c1qR4akIupzK2rnDNXHJ3iP+ZFbdb1UVH82IdE671a3rTcCrKp?= =?us-ascii?Q?UAdlCqZXOD2VK59AitPQeTjlS50zRc3wps8UY9ON9vPz3IqcBNur3hgso2/t?= =?us-ascii?Q?gdGXRYipadnPYbmhIRUsA7VQzMve8ZaXom68lXj0RqX1rmqOPL5cljbOMXiN?= =?us-ascii?Q?DY+NbmGwwDpnz4ys53rKCu3PllGH817PcMAL2QFa+93OZtzxGD4owpBYKfBb?= =?us-ascii?Q?f2cwHddBezZN1Q6pjFXDgMeny1HWzVzYRYbjLIcw8jYILYgESzYBlpAzcoIE?= =?us-ascii?Q?TxDQbYlAnbo+wz96GDCyoCGmmJOfuSkM1ZoY79shwrU47w8w8strO5piA1YX?= =?us-ascii?Q?dVb85X0cXSyGOexv1yZKkUQkJJcPoOstvv9QSD76++omt0AmbQzrYz6PRyYk?= =?us-ascii?Q?xwAYsUHgh4p1djEH49u4fL+1RIK00T8SSg22cSKLrEO/pcUwmxxEIsyFIly0?= =?us-ascii?Q?k4f/5DANN9LmHP43hXpYLLc+Ja86k9DTJ3NAvI9P2BPu9JFaieN4y41PEwmc?= =?us-ascii?Q?Wy9PtBbGZ7QJ83sKMo1NXrewXZ7WMixozAGPh/1KWDSrZNupHycsadD0+i5B?= =?us-ascii?Q?CIRShVZ4fj/joIBNmKXpa7Oc5qCwAkBt0aP4OXa/URE0GzFq2HX+G4XCstL1?= =?us-ascii?Q?9JVLNm1iE=3D?= X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(6069001)(39850400002)(39400400002)(39410400002)(39840400002)(39450400003)(189002)(199003)(47776003)(6116002)(38730400002)(42186005)(2950100002)(72206003)(36756003)(42882006)(5660300001)(6666003)(3846002)(4326008)(68736007)(110136004)(107886003)(2906002)(478600001)(5003940100001)(6486002)(33646002)(81156014)(8676002)(81166006)(97736004)(106356001)(1076002)(8656003)(53936002)(6506006)(66066001)(6512007)(7350300001)(189998001)(101416001)(7736002)(7416002)(50466002)(50986999)(50226002)(76176999)(105586002)(25786009)(305945005)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3097; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3097; 23:rGYL1/XdEHgesAwUNzpWIwFEfeNklMVJUVVsfqI0N?= =?us-ascii?Q?U/lTgSJYnNgeXvxNoZYO4TWh4cxpHL+k7ie5E9B9LZAEpBn27urn0mLXi8z5?= =?us-ascii?Q?aNlO0KSN8Sn8JvRbVZ5IQ/YK0+aUronj0QBkCq/41jDoWBtgxOZdnGR1znW3?= =?us-ascii?Q?KUvWdm8LJ3QaAPjuxAkfq2xTOPUlKF9FYVSdyTaZ1ZS3+RlMPo8Tiiwb/unK?= =?us-ascii?Q?DSpZko09uNWbVZNrCjletKrJI5GRb8gwFITIkd3zgAovjO2hmXFelmjL+X0o?= =?us-ascii?Q?CFG9vCjD1npM/Y9lKlVKuOZMVCM+UQaSsBEqrFOGd5TfYRLCCYJb4dsDeNI/?= =?us-ascii?Q?69x+dusT24+S8k5c4XGkbLV2Imi9l/O3cuVrN9Dqq2fnZ6D5hmF6JA6bUny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?= =?us-ascii?Q?FNdRe/PVIKHOzBldtmvdVGoejtsW+Dw86fjZMlgMTHUUsFmh99QP2jL3JkI2?= =?us-ascii?Q?78lTlN2gEz7S7rODAe6n4P09vIWp8Evwsrk3GEp12l8ZvO+degEyPazxCEtg?= =?us-ascii?Q?M10TC8YrdfPB1xlghjGen3atEujlbD8sLtohbv1sdK6EZjGtWwRmL+d78ULL?= =?us-ascii?Q?2NUqVU8wlodM4jSmP6bCpD8AQBVYiL0jSslzv+ETXGBLwLQ/3kGoKDe/75b2?= =?us-ascii?Q?o=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3097; 5:35KyImOhibEwtWq307bB8qrvS5dnXg4G3YJ9PLQSO3WhD3RO7ayqasZRXVicxXC05Y7HwAbkUEO/LT0lnMJuXf4kA4qmyCn4+R/MvKZ7yV66X9/GcImGhi6FmLpu7VIAlHB8XWIFdj3ZLmqhHsOMhQXz/ReiD9f/U81tTMl8QHFgbqU/kbAMgaF42GtV622CB7KHJ+lNGyvOMdGZe/c4rqcGeY52o6RLHA37BL2qX4yQzAkdh18t4zF119sc6BbZewgEjgcnq/HFtZVyHa15UX9MLpdzG7dja04MGOI3UFNMpFqnv6JQ45PGAlxUHSIOUSvKGdHis8/nIuc7Sm/UlOVege92NoO3KwML0643s2p+eeZWFiOjJ711sSa4TBBV5GONwaz2GOQLxT0okF0ifMSIq40E3gFnY3wfbVUA8fgRms5JNYKn7+HeM3TS149Z0m/lr9tYLO4hk2UavxogavunrTMM1gwoNMkzxPvwTlHpCbtw58kD4n/hHBXl+z30; 24:3KTbd8Zt6EmzQBh1AP7xMAix71cNK6JHgJmU4rcrdTc3aTq99f8ZpkZeJE+f30NORDiL+dJuTn4ZlHh/P+Z85ZvKcIdGeWWj5diQiUUFmUg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3097; 7:zcdk1TZ/iVBwpKAMB9B5YX8n9Wb3+d2ZBdzsuc+rr8ZR92evk4QTT48Cku4tSoBO8ym6h99or0wx4VcYVmDh1u4jdzc22rYamUS/TxCV0WrLYrOnI7WcSvVFKxTuSp+9Akv2JsQJuSs4J981oZF/ZqmOw9kCfDOhKl5p+/YV61cS1xhJ3ZzgbsJRiEfUEShS7KRkQM/g0p1PE7wd/qNL3Ep1nu9L5vXTahp+ZaEEmlcp0syWpkPQuyxtJObClcwC7Oo9W2xKFPj24cSadfGwXsgcZLnPdUhfLsUvEIKIBj/ykN7PRQPOxq+hJR4LLoIwEoGTgNhy543/pazLDkuoP+VWi3bw7hydHsKv41qwyaP2hJxaMJaxLLvmenYCRzRGlf7ACAEWLqEJw47c8xqJ8ahirZlrTZva/JHRSUm+WbTk15sfw0gxdWKgP0hKL2GGlfZ8T+245Nxi8Y8H/A57jo2aqIfdP7BEk1FS36tnb9GJJfEUgEdQVk/+tTocPDkS6iH+QRr6tHMdG6GlRlTB0+lQoy5G6tsEp9FFXEVf8DOucyqVBt+NopEdbxETkg6RLjKr6YG2+ldcA/CgGhXMQLBbcuw1AoJZqKlj2sc/pR+0OSkYVzUCNw6itfHTwTCjkv2852naOTmTK/fRgDHdR5q3HWMPZhDRaI+EkxTu5Pw4Q6rsbHDhv7Djqvuzm3cEbnuKr5/OBV5S7lF2YpwbmZNec14biAwKzVvMzHPhIOJgBlb2nhiKfY3TyvUwKtMrjDuucvjVvrk+/7ZfQLtwM/eiOYC89FGcf/led2iyQqE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 08:41:59.8478 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3097 Subject: [dpdk-dev] [PATCH v5 01/12] 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: Mon, 24 Jul 2017 08:42:05 -0000 Introducing RTE_PCI_DRV_IOVA_AS_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 Reviewed-by: Maxime Coquelin --- v3 --> v4: - Renamed RTE_PCI_DRV_NEED_IOVA_VA to RTE_PCI_DRV_IOVA_AS_VA. (Suggested by Maxime) 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..743392f91 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 supports iova as va */ +#define RTE_PCI_DRV_IOVA_AS_VA 0X0040 /** * A structure describing a PCI mapping. -- 2.11.0