From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0050.outbound.protection.outlook.com [104.47.40.50]) by dpdk.org (Postfix) with ESMTP id 8C49BFE5 for ; Fri, 31 Mar 2017 21:35:39 +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=Z+4OgelZi6p7Mq6O0yDdG4gkhpykgxtzDDCbQVAbiL4=; b=YlgIfiNclOuyV2s6HcI8pmCj2iYF3+5Ock5vJySeuEoiaQ5F5nxuanPt8w08+ICX1Yl+As0IuGDGhM3M/DMEM7bA31X23D7wlXrIQsHZ3zDItiLIDSTMll1D6bDn9HwuS+a1wvRexbsIXK6oultXXUPBcTP5T6i4uhtqpa9Ilm4= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (14.140.2.178) by BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14; Fri, 31 Mar 2017 19:35:33 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, santosh.shukla@caviumnetworks.com, Jerin Jacob Date: Sat, 1 Apr 2017 01:04:27 +0530 Message-Id: <1490988905-12584-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1488562101-6658-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1488562101-6658-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: MAXPR01CA0058.INDPRD01.PROD.OUTLOOK.COM (10.164.146.158) To BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) X-MS-Office365-Filtering-Correlation-Id: 35d3fed3-2b33-473c-5ea4-08d4786d1b5c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 3:qYaOJGfNTmnuHbRe/ytetE5JwzxUayVcBZ2xdDBb920D6KGMje4NDsyZTjM8rCU1efaf8X1ECdC1nDnp5ZGlgXHbuqF50vkfT070VXJfHn8l0j5I8kQvUu2/rAN8nJjiTmjm1MwAc9R8pmJ+9cvAt8mT+3R8lNuVI68xoTnwXO5GB2JcJTJ9j7LAVX1dBq0bx83qv/1SWqocMSXcX/F0ZxHpPkLX+KWUcluEvjp+wRrToDorwpw8BioCTWCrS4NT36WAsgZ+gkzhoEp3aQ51QRYiEFm3JB8NMn5EDdzGpU6+zalxa+sMxvnSQeGG1DKp/0CPtN3p1foLMD5biYyiGA==; 25:s24ZnIY/ak+51dPD/ADmOoJ5ukTGOQiUu4uhcnyGWbIpKdKsJkUtpTmqbD5sjoj+VUw9+wk41xxEoZ5QI/66Q+drD77aMH15vHEr+LS4n2mx6jH0uaTFWAYvyUZhQlk5t6QFj3fxndsVh4XACfy88hoyt99ZGnIBThHBkS7SLJcOHI7pYu8gNl1Z4nMi89GcO5P5CqIevU7saT/kCQmgZ1iSJSkkOu2ooCVmdVav0SBPjNRwrXwr+SgNv0Am1q6zM3yZhUmvLlAetsmofce8ySBEHvF4LyavsMuNeowsmXajXmAWPkPjVgejHLn/GMw0tgnIAuiheChX/feootqapl0BnLIeZ3zK3VWA7Wix6cPqlWN2ppwScjhfDrlZKoyFdJmgR2Om9FN/lRCZBjA3ewLlgqvMCJ61sgYzJr4NZvCDhzlhq48wbuW1b5wt/4nNphniF/l04YJ6blRvfqcl0w== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 31:zvR+MiRUKG1ZjiH+67rj3CyLrQTKAwk+YphWqogFvFsO1N0XGUwH5QBtEyi0zQXFYT8z7Xk4C0m50BOKITjesOkPl8ubHAA60TA2JNE27dqckb4DFWsh+mpc5Pqc5ydEDsZjX8BRZeuAFWq6Rw3BNghI+vEYnXwo83uXCA998cOPBBhrhIO95f1/GyOuM7RCqj2s5bZlsFHY0dnaZMyKB0Wl49Iwhalk5l/GUMDOvzPzLclwq7Sa3wRxIaW5UDP8; 20:UvG+2zP2Uga2fXeT96F/fcdjQ+u24/zlYbdUu35ARmSptJiNveO25hHlSRe/UbpzVTxfPxX7Kozif/zscflYH5Z9z1JiQFoeK/3HWKJuKBu70LZ0rR4DVf6u6/wDsM7OPWIk73beMoz0k3BZ8TGKOykQ6qoVigCtdHGcrTgfA9NOf4g2AROIcXt0dzUwdTi9J+b8IyhXgOHuZ0c4b2JUh0mJiAbRpJRFTyTlXhHaKESTsHwpGCAOUiXZTAgtPGg0KUF/zNNjpypKEne8lbUF/K2qMd6dBjroqZSM8UgXKZEolVVHcgBsUE1XQHbBc8qOIjcwPMgNzk/zFTnfvpBbeOmrEw/e6TS6BDMl0oFvjD/pA+X90hDVIdR/tjYsAFVFM77aBgAF9XtPfPbaY3m0y7kocs9oSvbxkCzRbSSGwng4ihbJyFQrGUvQpT9eE7rXWlXG/8Qge3hgwsl9hei5Ru49FVg1U5nBUAb1Lv6Cjg/QsAPfxhskIFuK27s3Baq0AdaAYoIJI6bmGXI85OPFv7kFp6DU7TTwml3+V5xFujQSxRR3+xxp1jt9585tXY252WzB8+niNE3/h/Q2GYJmUBCgLvTm0HhipUvj94Ytg4E= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(3002001)(6041248)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123564025)(6072148); SRVR:BY1PR0701MB1723; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 4:7lLCbf0lhtmhZVbXk2xFWdSBE3kU+0+VEi5aINhWQtRSZSzlA7oYYDydIR1R5RuMEkMwAUEIlLgdDSgNdufTelbg/k9pBOEONdZPbLDX8u1QYfsksAzG6juIVyecsK4zEa81x/WLBZkNBXs0azSrG6T2n1fp2inf//tHrlXp9wYI/ppT4ZauaiSlE8R9DWS0AKoRw8Va0qIGowvTrAGiejqq6oHQ85T0MvD5n33J7GE4WyvnWlk/j6dxXHvSW4/E9VwmIYBI3bLOjp8Gmkh/jXH1FMj5+FbMDcSucHFz87wJdHzkbLgQcDF9RiMnK3Ws0wiBfH+w86mNFADQck4T/TT3HjXTJqBhzhvlN9LX8SjDYSbaBkGS7YSppEQ8bPF3AL7sAzYA3p7clwjB8sZWyD7NGyxThLZNzH77GHIicWV+gu4/kZvoefenogAEYdLE01B8zGyeLcIfUmKf7sVMwYELmT/T6LEfpvuDqEMo9odX6LkKTd80AwlyJX5LEXjbOS/yBkKsQQ21Q460hGBxe/terQ7DV18Wy+E3LXWw5qPCMAAeewozXMuhmXKCk6YSGfj2rvInsPht7YX7cuisNiJSV36SRclqzj65lnBcNUmLrQKQlzeNLzRrznFLtqTMz4bR62RcZxrhqX0ysDBQM9hF0iAk6C96fpGWZcxcqkZ24zkQTHr6fTpHp7mmGjveq18VznVsA1n8LCnaWiH16Q== X-Forefront-PRVS: 02638D901B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(39450400003)(39410400002)(39400400002)(39850400002)(39840400002)(38730400002)(8676002)(53376002)(107886003)(110136004)(50466002)(189998001)(305945005)(6506006)(36756003)(50226002)(25786009)(48376002)(6666003)(966004)(8656002)(6486002)(7736002)(2950100002)(5660300001)(53936002)(81156014)(81166006)(3846002)(42882006)(6916009)(6306002)(6116002)(6512007)(42186005)(33646002)(2361001)(2351001)(76176999)(50986999)(5003940100001)(47776003)(2906002)(5009440100003)(4326008)(66066001)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1723; H:localhost.localdomain; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1723; 23:2+c9g9IMshIi4Ur9lFUi6mRnBxrYV8vJ1g+aMIU?= =?us-ascii?Q?SgxLG1UwrADqgC7zch3nuIfzW9emDzu33z4RgaC+v6CLCvyT6kumb1uSUR8V?= =?us-ascii?Q?g3rnvEe7E+RybuzWK7cYm+L/eR1Ao2kfG6cULkFIahJUTKqHhJP4Vj8g0QpD?= =?us-ascii?Q?dSF0KgW69IsdVLjyJyuZ6JMhR3fN7FZvBUoWRiXZargY7Mb9qAcWGSHD09+0?= =?us-ascii?Q?YxDdKWCuSSy6m91yunW+3B8Lgc/P+mfnhS1RShEGH01Y6UeHhQoptgtGUhDn?= =?us-ascii?Q?hqAl+UMfu5okI+OmSgULKztL5CSDnNR1YT8QJieZSqr9MUerLBYlK/qGWdKJ?= =?us-ascii?Q?EMWNZr4tPesoC5YEyTVTZE7UoDmw2Bek91e8Yf+EE+WANSbz2LZ9w7oo6BlZ?= =?us-ascii?Q?xy2khai057ee9r+bkKsi4C8jE87JEW7FzpfficQH2j/fYr/U0IMYyzkm7TwY?= =?us-ascii?Q?NEwSynAyESl9taR+dFQvRL71WhhOKWv811iCSLi9PVgDs8GKDyqDZQWWchMn?= =?us-ascii?Q?jphWIVvHPv3Vui9BTu6zQEXAa/oG8MQ2ulvT84LQdinRqjOlM9Zt5UF0sHfE?= =?us-ascii?Q?caqsFdZnh9No9/uuMv7W3LPiBL+69pRxXwmXVA0S2RipImfGAC7ZE8yiUsyG?= =?us-ascii?Q?LMvKhfX2ASfNQpnK1/yKrirF6hPEGEPtz2S1WwhE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7IfF6C3U7s9frD2px7V6zK9i49YIIdAvOSlMXxnBeirE9ZB/VjsvjvgEOovFthYABbfQXGO59Jqf11qjwMcFw==; 5:iuyStefwqgHgsBeK3Oyn4Fi1DFrNhZmeiD+Ygh7fHzgDx0o+zGb9SA08VUu/KJUG3yJaLgY5nyX4ogS208gX0mg2crl0gei+ad0ws8GxotYmYr1iwlRzAssPBCML9XQnDEzhEu86xdH59tAD0EixJtvNB3xrOXPiCiX6eEW6+4M=; 24:iL/df2wpISIgANb9dUn3InjU4D0FDOG8ih/4IAu/hn3GqvMtsluGQ8hZCtt1fxc9AEgsdxh+A0thU4ibJBdDlL4M/1jVb+ALnqA0BV8uMrk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 7:JNdhZlOCmExhH3/SEnF5fvNFUiKuoK/boLyZ8SDDoIBTmaXG1hPoHg5sZi4IVKKoVswPyMT/GvnQn3GWlhsrQj7CH4sezqbhW4dF1QB1QrliRv1pzZtlcEq3uNMNibxnXlP9tycGjeWc8ZR4PkGb2HjT+gWnzg13XI2mznA6CMuz+NprYnW3h8Mc0jirxYfoi3kHlred7Vr7vXR2z1XftUF80/LtUdnSLL7jNb72CbRbLbTVJmUS8h2XxtJsEAgQkisNyEGKgtFrS7g4UyRtc9Oulc0L1v1OyVpCqIQ9AX5xi3CtzNSCkvho5oGKKlXw/cCW8cQwPyrpq+unyttlDA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2017 19:35:33.7858 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1723 Subject: [dpdk-dev] [PATCH v2 00/38] Cavium OCTEONTX ssovf eventdev PMD 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: Fri, 31 Mar 2017 19:35:40 -0000 The following patch set adds Cavium OCTEONTX HW based eventdev implementation to the next-eventdev tree. Introduction to OCTEON-TX ARM processors can be found here: http://www.cavium.com/OCTEON-TX_ARM_Processors.html - First 18 patches implements eventdev API with OCTEONTX SSOVF HW. - 19-35 patches adds the unit test cases for the driver. - 36-38 adds the documentation and updates the release notes v2: - Enabled CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF by default in common config. - Fixed issue with clang and free bsd build - git comment enhancement. Added the missing space(Gage) http://dpdk.org/dev/patchwork/patch/21364/ http://dpdk.org/dev/patchwork/patch/21365/ - added -ENODEV return to octeontx_ssovf_info() - s/requeust/request (Gage) http://dpdk.org/dev/patchwork/patch/21366/ - Fixed incorrect mbox wait timeout handling(Gage) http://dpdk.org/dev/patchwork/patch/21366/ - Improved the mbox timeout handling(Gage) http://dpdk.org/dev/patchwork/patch/21366/ - Improved the timeout accuracy(Gage) Improved the timeout accuracy by invoking ssovf_mbox_getwork_tmo_set(edev->min_deq_timeout_ns) in ssovf_configure if RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT flag is set http://dpdk.org/dev/patchwork/patch/21377/ - Add newly introduced RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES in info_get - Remove RTE_EVENT_QUEUE_CFG_DEFAULT flag to sync with next-eventdev master - app/test has moved to test/test/. Fixed the references(Harry) - documentation improvements based on Harry's input http://dpdk.org/dev/patchwork/patch/21397/ The patchset is Git log is clean, while check patch issues: 1) 1 Error on Complex Macro (which I believe it cannot be fixed) # Patch 14 2) 1 Error on spacing while using gcc inline assembly(it is false positive) # patch 14 Jerin Jacob (38): event/octeontx: add build and log infrastructure event/octeontx: probe ssovf pcie devices event/octeontx: probe ssowvf pcie devices event/octeontx: add vdev interface functions event/octeontx: add mailbox support event/octeontx: add octeontx eventdev driver event/octeontx: add device capabilities function event/octeontx: add configure function event/octeontx: add support for event queues event/octeontx: add support for event ports event/octeontx: add support for linking queues to ports event/octeontx: add support dequeue timeout tick conversion event/octeontx: add dump function for easier debugging event/octeontx: add SSO HW device operations event/octeontx: add support worker enqueue function event/octeontx: add support worker dequeue function event/octeontx: add start function event/octeontx: add stop and close function test/test: octeontx eventdev unit test infrastructure test/test: octeontx unit test case setup and teardown test/test: octeontx unit test case helper functions test/test: octeontx simple event enqueue and dequeue test test/test: octeontx multi queue enqueue and dequeue test test/test: octeontx eventdev priority test test/test: add infrastructure for multicore octeontx tests test/test: octeontx multi queue and multi core/port tests test/test: octeontx single link establishment test test/test: octeontx multi link establishment test test/test: octeontx flow based two stage sched type test test/test: octeontx queue based two stage sched type test test/test: octeontx flow based maximum stage pipeline test/test: octeontx queue based maximum stage pipeline test/test: octeontx queue and flow based max stage pipeline test/test: octeontx producer-consumer based order test test/test: add remaining tests based on existing helpers doc: add OCTEONTX ssovf details maintainers: claim OCTEONTX eventdev PMD maintainership doc: add Cavium OCTEONTX eventdev PMD to 17.05 release notes MAINTAINERS | 11 + config/common_base | 6 + config/defconfig_arm64-thunderx-linuxapp-gcc | 6 + doc/guides/eventdevs/index.rst | 38 + doc/guides/eventdevs/octeontx.rst | 151 +++ doc/guides/index.rst | 1 + doc/guides/rel_notes/release_17_05.rst | 6 +- drivers/event/Makefile | 1 + drivers/event/octeontx/Makefile | 65 + drivers/event/octeontx/rte_pmd_octeontx_ssovf.h | 61 + .../octeontx/rte_pmd_octeontx_ssovf_version.map | 9 + drivers/event/octeontx/ssovf_evdev.c | 572 ++++++++ drivers/event/octeontx/ssovf_evdev.h | 203 +++ drivers/event/octeontx/ssovf_mbox.c | 232 ++++ drivers/event/octeontx/ssovf_probe.c | 288 ++++ drivers/event/octeontx/ssovf_worker.c | 342 +++++ mk/rte.app.mk | 1 + test/test/Makefile | 5 +- test/test/test_eventdev_octeontx.c | 1398 ++++++++++++++++++++ 19 files changed, 3394 insertions(+), 2 deletions(-) create mode 100644 doc/guides/eventdevs/index.rst create mode 100644 doc/guides/eventdevs/octeontx.rst create mode 100644 drivers/event/octeontx/Makefile create mode 100644 drivers/event/octeontx/rte_pmd_octeontx_ssovf.h create mode 100644 drivers/event/octeontx/rte_pmd_octeontx_ssovf_version.map create mode 100644 drivers/event/octeontx/ssovf_evdev.c create mode 100644 drivers/event/octeontx/ssovf_evdev.h create mode 100644 drivers/event/octeontx/ssovf_mbox.c create mode 100644 drivers/event/octeontx/ssovf_probe.c create mode 100644 drivers/event/octeontx/ssovf_worker.c create mode 100644 test/test/test_eventdev_octeontx.c -- 2.5.5