From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0075.outbound.protection.outlook.com [104.47.33.75]) by dpdk.org (Postfix) with ESMTP id 5606C2A5E for ; Fri, 3 Mar 2017 18:28:56 +0100 (CET) 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=Ug8CBq4p/JC1UkLKSuyjYaZ3wdtGp2PGVXS3Jb7Nxwo=; b=JrVY4AkivObP7BIAf2pMMo4fi/GMSaLRJc+A0oJVkmx9FfcJQB3iy7+yFzGEeWvfw6vp4nG+kStCz5US4R90pujNHziopQ34KT+BeuSlUo7TsNR+0mAdEyeiSDtHaBBjbfpb1/Od94r4kCJxwnoNGBQfon4ZiysM4pBp2DFcBdc= 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.localdomain (14.140.2.178) by BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Fri, 3 Mar 2017 17:28:50 +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: Fri, 3 Mar 2017 22:57:42 +0530 Message-Id: <1488562101-6658-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: BMXPR01CA0021.INDPRD01.PROD.OUTLOOK.COM (10.174.214.159) To BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) X-MS-Office365-Filtering-Correlation-Id: 3e5e128b-1cd3-4079-7250-08d4625ac3ac X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:08ajTM+3vUjVBu6GkejVFpJy/NA/WtgVMtWNGV6Ky35+UDmlaH/aT8ULMX5Wb5wEWBwe6lA9SwkGjrEmGFKPXVWORmYnGtAJxZRN0biGET4EGvRdwBBwai5eBY97g83bGHIYX9YYHwSv9Oy50eakYWouE6XUx44JBHjdMuAi1ez1oW+9o04a0kfovoVIrhnAt12JTNCpAW5vNMLjNBB8+PvC63uKO8MaIN03XDZIzQKXfrq0YjRKNfBgoa1FeJSvDzplGYDKSwys0nhOO/KAkg==; 25:8589Glmu4oqxWe8bfEsavGaYKDTYq1gFB6wtydPVkXPQ31UZwtnT+GJd8AdMhU8aHa5VXvVpVMOM2ixAZ1DpLSvH1NshNBHVtirBKKI0K8aZbo4Mlyvw/rpICPkXvEPEEZWdn4ccWEDG2P7wv7OGYa0I8xhmhQs15/tC8DStAtzT0qUMYSOiUTr7YR6HOtZtsmSwqeEIZbs/cjO64Sd1Uu/QtqueqkXWE7pmOBm+GtSvfQLduz/Kh82ymUgyWlMVzh3IVmyFau+4qj4zxtaBg8yTg8VrWO/ZzGz/BhjuAAuOMmC9SArkEJf8DOSZRb52Evor2bHZOP/8ZKoCgSIdoyIvB5I7rkamfjTP9eVUAqw8M40WuNx6mei/v6ArZ4oIEwkVED2dX3MV8ZY+/YHmx95uXpWpVX08Vk4X7mTgo1sbqezxF7yBvV7gqm39/VbKG8vTxRKwvzp286fmvB8LLQ== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 31:aVVqZ2eq1e+cLJ1NVHk/jgT/fqlAe79PjskUbIR7D1lZnt7Ccjr1W83hPHUsM60FmNcuqkLw7A3nCz4fLlz96EJlc/NQGuyOQtMAV17WzhrRdImuNcbaAvtQueJiimGMRFffZJZ+n8xEYtWKqQVAw1tzqokrc7MXM6qd7NQvJK40g3ZubwgDsYm+0P9eZEQiJRCyhYOSEUhiyYUyfIlnXTSHhSZqDVKn38e+Nx6EYpfqmHin1RO/LfjYLKvkt5jy; 20:JVNdvz/qhgBq7c4ifckAMC4KDJVKpJ1uCguHz0jsLCmSH3/xxkcUaW5r8ACFDDGG7mB4TyRzlnyXLac7JhNa7zi49/ONCgWVPtgyKxGGk/887sQNRy99AnbWJCyINzn7V6P0m+xYPL4nH1F/hqG4Kr+5EIo71/IyKP8MDvuAOGR/v3Mr27M9sPJSjz2ghkPrkQtkpL9wJ4o5AZrqMxob8tu9WCF4mBTp/jPWha7P0/t9qaljNQRx1Qtx9hZgQcGg6LUWrOL2NIO+TFYizbWH3L3Tl/gjvGPBynf3eiKY9WWeDfB06GRgSC041aPlIZdpeWmuBkwu7p1BWS8vUJ83MQ8IFDgSXKTMlVRi5+E/UKs8CuwtmT44QSEBJ0d04VA51Io4pMnZtsHbjhLn2JfzvqtBeq4yqm3FDAkayodnj7L7F7ZA2fmZOoTLUzSR92tC1Zm2Ja/WsznlsY80FssCHOAfCpqMtlboqVpIyt08yOK2UUjdhST4ffmkto6QFFZwngqxRpLg9+/QbiXOZ+H0CP22QTfGCZviXucb51Vo1Ohl99dBB0bw8gGqR9f+B0L/AN5NepJZJWTq7rnBOaSFiMtWG0xQ/Be+AIHe1HpF8DY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123558025)(20161123564025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:kjRNEMMt59+qnoN7FA8x16tPRMC+q72efFjynZNhSlQl2Jh4B4kK35RpbGhtqleIPpfQL25eTsneWccKZQhSU0ff4MZnYmmNHdIbDwOkdF4EsU38OjVt8X/YdWDDNWrjofERCmjNBZPIEy4M1ijNgmFLyahwr7iw+CtmCwDUQI0sylCmt1Som9ZlAyoLWV9ZDLFFFjqzMXkZfV48dyiTjIrLCFNS75J4rrorjNBjPikTJhKw87PLYoedv2F5WqdpKQJp6epzsiunaYk1B8ZXQV18BDP8wvrOMVMXolYy9zxCal1cgxoxpdtrjrJCHM1eF40syCPJWchMCcyqFzoLINGeGxknr/9l3yWxcncwoX+8CZhuBgN4CiWB4yYf/RsTThbSCRDWGZa0P3TjYx3cYx4K6UlLMw67L71etoPJcZlD2pQOoQzXq1DL5AKmBl3VCHEaDOX5Iza5C1paKtzf0iOrPJ7sobVLeW8n5+A0fynVyTKaw/4muzIK6Hun6TwY5sQAa/wE7nsV9P3HXx1tFjBk2wVdS8wsD+LO7zNDDtQ6VUrINXFwGRHCy1FHLGqCNGrZidyKLaARs7tdcOtKrcnIgCke/YNOY/UlnJcfRsY= X-Forefront-PRVS: 0235CBE7D0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(3846002)(50986999)(6116002)(36756003)(81166006)(6512007)(97736004)(2361001)(2351001)(6506006)(5660300001)(42186005)(50226002)(8676002)(6666003)(106356001)(8656002)(6306002)(2906002)(25786008)(47776003)(6486002)(33646002)(7736002)(107886003)(966004)(42882006)(66066001)(110136004)(4326008)(38730400002)(6916009)(305945005)(48376002)(92566002)(5009440100003)(5003940100001)(50466002)(189998001)(53936002)(7099028)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1719; H:localhost.localdomain.localdomain; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1719; 23:BsD6KK79TwFoWTqPu+i7I88Gnn0rn6hTNfFiB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PnMlxDLE5h0nMvdvSXmUaglBs?= =?us-ascii?Q?lc/p0B7qG3R21+atCCLaqEACRXdxPdgzsqvExbUJUinZa1lAnLK3hzlhStLl?= =?us-ascii?Q?gi7p7l/yrlKttn6FSoXG1pQOpQ69jb2Rgtro2oAcnsbF6c92YriCuyP7Bz9W?= =?us-ascii?Q?aiwG2MQKILPRkd+DoKqfgCmN736EKoI5xEMFCUDRFJomghM4JLJQgdgREQY5?= =?us-ascii?Q?2gQfw4HTNII8PdFa7dcwgKQB6boc+fdky?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 6:CvRuXa0M7FpAgbxqDAUa+I7u5YCCWDhrLXVS3nW+vJl/SdfTTItQAsYfB1nt7cZ6zVD74buMJXPz3uGLviKTpmTui1ynPlQSqpt+ZbF0muqSXlGp8ua00StCvrFgbXPLWlA/qn9m6r6IUDUVqHPaUr43e9/aG6qo4ySv1aNa85mp3eD4SgFAzquR47g2GyJIbX+PRUgVJNSuOfSYpQRa6jV0riHe9w3KE1dFNUJaTGAFDbwnM6BkU0avqP4hTLJjX2qdvQ5eXdJ6/iOjK4WVo8mKp8MA3dNIKrDlgFsOdx+pHS+9dBZB9fwjZ22CMyJyMTvhPEEKjibUhS0UnE18//Pw69B3n/3AVLz5AWowQQI+XjUg/kDS6+CoKcKRfx9Q4bpyL1+0ne594xaAqn2W4Q==; 5:H1U2ePHzuajrNmPWKx1cLHNkx4O/0iitKS5FP0WDnZ9SjuZRlLK8gNUPQQ0cy8hB05DhGR7VNrhDGGvPr8SD4EbeWW9/8mQRX8GBEMhwZVkBZqPQd27iMOKkKB6zGwXjZczmNYiL6VlTit/6NWb2jg==; 24:8E4oKulRTzKbvIYrFyhtU7JBYhx7ATOvqSWdReh6R1xufSrh1ZhWhIXrnx/gWx/NTsfipExzSz+eiJT0LoXu+sfzm/klFHcc/E+FCwvEdMI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:CEUV3ZvFqqBxAeNFMcGQOANLTG1wsdt5/b6liNNK0Q3Lu1Zpuugn9/DZTijoYoVqK8yu/7f1vHzJyJ6Q0EElBwAChcVF7hAHJDXBCNEWXC6qtNvtOlAQ9HxgeYGYBzR6JGk/tdxs7nwXZunOTLhav8Q73t10dk4QK0pmEBQbzyFgMzXRrqcMn9m7cmftLK5BleyM6ZEwtEheZY29Q1pP7I35C+a+iDFrst8pMZjzYESoSHLk73h4QPg6E5+VVdhKjrZZBL0MwhnXRH9hAQsP2I/xWsBXIE3qphEBNnz3kfQk9gqX21Wz3Q4hUVwfEE7gvpfbHp7e4rxvBm1dcjonrQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2017 17:28:50.1300 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: [dpdk-dev] 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, 03 Mar 2017 17:28:58 -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 The first two patches in the series make changes to the eventdev API and common test. The Third patch in the series is to fix intra drivers dependencies for the shared build(Posted by Shreyansh) 4-21 patches implement eventdev API with OCTEONTX SSOVF HW. 22-38 patches implement OCTEONTX specific test cases to validate the driver. The test cases are usecase driven and it does not really depend on OCTEONTX SSOVF PMD nor it doesn't invoke any PMD specific APIs. I have created this unit test cases to validate the different use case with eventdev.Probably, We can coverage all the PMD specific test cases under common tests as a next step. Performance and latency test case are missing in this patch set, probably we need to add those in next step as the common test case. Finally, The 39th patch adds the SSOVF documentation for build and run instructions on OCTEONTX board.I have added only octeontx specific documentation. We need to add the top-level overview page like(ethdev and cryptodev subsystem). I think it will be only possible at least two drivers have documentation and once we come up with the feature lists like ethdev and crypto devs. I have enumerated a few of them in OCTEONTX PMD documentation.Looking forward to seeing other vendor documentation to converge and create the overview page. 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 17 2) 1 Error on spacing while using gcc inline assembly(it is false positive) # patch 17 Jerin Jacob (38): eventdev: update PMD dequeue timeout conversion callback app/test: fix eventdev reconfigure test 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 app/test: octeontx eventdev unit test infrastructure app/test: octeontx unit test case setup and teardown app/test: octeontx unit test case helper functions app/test: octeontx simple event enqueue and dequeue test app/test: octeontx multi queue enqueue and dequeue test app/test: octeontx eventdev priority test app/test: add infrastructure for multicore octeontx tests app/test: octeontx multi queue and multi core/port tests app/test: octeontx single link establishment test app/test: octeontx multi link establishment test app/test: octeontx flow based two stage sched type test app/test: octeontx queue based two stage sched type test app/test: octeontx flow based maximum stage pipeline app/test: octeontx queue based maximum stage pipeline app/test: octeontx queue and flow based max stage pipeline app/test: octeontx producer-consumer based order test app/test: add remaining tests based on existing helpers doc: add OCTEONTX ssovf details Shreyansh Jain (1): mk: handle intra drivers dependencies for shared build MAINTAINERS | 9 + app/test/Makefile | 5 +- app/test/test_eventdev.c | 4 +- app/test/test_eventdev_octeontx.c | 1398 ++++++++++++++++++++ config/common_base | 6 + config/defconfig_arm64-thunderx-linuxapp-gcc | 6 + doc/guides/eventdevs/index.rst | 38 + doc/guides/eventdevs/octeontx.rst | 131 ++ doc/guides/index.rst | 1 + 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 | 567 ++++++++ drivers/event/octeontx/ssovf_evdev.h | 203 +++ drivers/event/octeontx/ssovf_mbox.c | 232 ++++ drivers/event/octeontx/ssovf_probe.c | 285 ++++ drivers/event/octeontx/ssovf_worker.c | 358 +++++ drivers/event/skeleton/skeleton_eventdev.c | 4 +- lib/librte_eventdev/rte_eventdev.c | 3 +- lib/librte_eventdev/rte_eventdev_pmd.h | 5 +- mk/rte.app.mk | 1 + mk/rte.lib.mk | 2 +- 23 files changed, 3386 insertions(+), 8 deletions(-) create mode 100644 app/test/test_eventdev_octeontx.c 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 -- 2.5.5