From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0089.outbound.protection.outlook.com [104.47.34.89]) by dpdk.org (Postfix) with ESMTP id 41DF51BA40 for ; Mon, 9 Apr 2018 23:01:49 +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=ZVD20Q8Y0x3E+cGz1UeiMePWUsHtvWnosLinmzhonf0=; b=RJ+aWsPTCnVm6lm9dc4pqWrHVd/S3IAB4ERcazwO6r33Mly+FfT7Ra9naBuvZnYkp7OuOtQwsZEzb16uiBaCuK6mUxnFN1aXWvaKB/loAZZgqttqYDTd1GkSu3+gaCy3fVw/cLWdh2BphaFK2CIMb0jg6YaisSSeJZXfmEuwNHQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by MWHPR07MB3470.namprd07.prod.outlook.com (2603:10b6:301:63::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Mon, 9 Apr 2018 21:01:45 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, erik.g.carrillo@intel.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Tue, 10 Apr 2018 02:30:35 +0530 Message-Id: <20180409210035.23278-12-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180409210035.23278-1-pbhagavatula@caviumnetworks.com> References: <20180216213700.3415-1-pbhagavatula@caviumnetworks.com> <20180409210035.23278-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0088.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::28) To MWHPR07MB3470.namprd07.prod.outlook.com (2603:10b6:301:63::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8f9ce010-8f51-4c46-42eb-08d59e5d1bdc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 3:A+pRYG5CW7Zeqg9YXZCllhv3CO7ZCcDRR9rLpV05IMxRwvMcDurYM45L2XwRPR0Nlkfm9XjMDy/2VqLUSw+8E2aWIl98lfgBP4GgOP7l9whNc4NdlE/38Ga4a7mjDgn4M2etuS5YYyUA2H0J0ddjgCxwi5MS09RRD4GVcxbJEhBKO/DtSwVZOFqM2zYPUjcXlFA1oYvzpKlK9ddFccepqhyF7B6J7HtD4NQgYXakARMDRkVcITfqkM7Bo+SvWed7; 25:2Q7MprGtPIX36/1QYDUpZLfzZEb5PMWuNRJOmT0jSTypFUjYK7clO6bz2OYE/h7KqjtRh0P1JuMBG9YYC/5006IgdTDYuwb+fKEZ3R/GS8DLyG0V9k3K2zE0bRyhZh/22FkI9Hs2++djn+COs8zUIprRfifDViY8ggx/oY66+m/ib+dNfdF0vBTUWcvnfoySbJsNAC3MVbXAWluD0A6v8q4wthWgcXGMpbhG+3B3zU5zWVVUXz+ewkjb6KknJT9dypM/FjU/C7suebSti2I7Fbm1eVAZWRov/Y2NTR6exw08OU6K8+gOJZqItx3/TKjcUh4TvQ3y6MOzLtczSOlu+A==; 31:14G87fL50AQoVSOk03dcFBugpz/YV1TufzLhweMYi34uaNcVkGTWut4uKowqfHjazl3A4+w5nNmD+MnAm0c/W/KBcUnwQqLoqujXh+LFVYuyo0w+oLiVAZCyMNeUqWc/Y++e7D2YdwlnvywwfMCh1CVukytUi4+aIP899UhDlVNIwnL43TK/m9wJj3qLdESUnT0f/F47D2ilMcCbd6i+DqRIfHRGg9BehXFjyCkWjFc= X-MS-TrafficTypeDiagnostic: MWHPR07MB3470: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 20:GzqfDlKOHPJQ28eGu5E8x9jdghYqxiHDTBWfNq4hQ+e3zi34TpwWJMPH3MMbPzyWeJiN7SJRKWknjUhkWBNdy//9ELydTjpBWORNIQ7vOiJmXKxAVoHzg5OombKFUY60nsC/Ne+7ddp3IWYuWSjU7qN/nTU24q1T0c0cotae1PlsSz0lDmq2uYS+wIDGS+Tm2YfGueHIvp2/T977WPXbmB+QWlajC8dAInzcaPmKDsnLwkY4rJ+lNjWRNpae1s7DGMozCnWPBvqOz9iVUzATJBog7VAvDaHZAHB9hwAxWFQKyiT06T5TQYnXKnBcSHz/0fMaQKHYUK/zB+9/WJMMjyuCiyaccfjUJL/qacSagfe8tHztmPnty4+LNPO5xwymoHQiYz+tRCTfh6DuaevP7fiHuQhMvqNSFYozjXb/PKcvYStD6CBysbrMeHm48kcqgajCASxWTmqNnPaal2WcOvl0auw7PFfs12JzlCeE33Q0/QGSSEDH9wN7o2GoD9yg+FRaQfsDqha2Ta1H7EFAkXOhjUZEmP+c6ttvlPhysdJO0Sd9AG9NT9ES7CPvMA6Iq+R3EIm3rsbgXPH+DQ0yHSjsQfeiBTyRs/ebWh6Y+9Q=; 4:9fgl+wBGfCvYK0gUcys4KLiDamIfWPDCB2BVmW+mmJMBMZDVg/TC8SKiAT92cVum/KtsR1Pd7wbS6lBSj7js112vWIUZQT2UorC0q+iNariN6laPiDi7B9l8zY3wL5n2C1k0/GaiRlM0xLlq3lK+ZLxNgesf4pFelhqNeRZThvVjts4S0yW5nnJtYwbCIdLuy/lzGG2ROeit2MfMfQ3VT2ZEXHF1KB9+L0N/8uNxavLwjMHjG0041wburPvkHHpFB220W+hLRyZyodrnJy+9Qohi5QK83x2ysNV1gwsZrsJuC/2i8D/JTeZm9NdB6uPD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(3002001)(10201501046)(93006095)(6041310)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:MWHPR07MB3470; BCL:0; PCL:0; RULEID:; SRVR:MWHPR07MB3470; X-Forefront-PRVS: 0637FCE711 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(366004)(376002)(346002)(39860400002)(396003)(39380400002)(189003)(199004)(107886003)(48376002)(446003)(1857600001)(50466002)(97736004)(575784001)(66066001)(2906002)(53936002)(6512007)(42882007)(59450400001)(81166006)(956004)(81156014)(25786009)(16526019)(6116002)(2616005)(476003)(5660300001)(6486002)(3846002)(11346002)(8936002)(26005)(50226002)(8676002)(486006)(47776003)(1076002)(6666003)(478600001)(105586002)(76176011)(68736007)(72206003)(7736002)(106356001)(5009440100003)(305945005)(4326008)(6506007)(316002)(16586007)(386003)(51416003)(52116002)(36756003)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3470; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3470; 23:ezSfXAbXncvW1sRJRfkCLjMgShiapauDMi+RL28hD?= =?us-ascii?Q?Jzsl4aWY/rD6s0AcisZt4D/MHzO+7WYhnKdrwJgSVyGMNysiq9Yp7KgtOdBI?= =?us-ascii?Q?c8G7ALvwFxtPsYiFvnfex8zllNNpn7mL2dMTl8jaApLPhRAYhP5adMmf1zT3?= =?us-ascii?Q?X6SHIyya9p1sBInjttVO+58Fs9dkyUgC6eEY95GPOMNa9HAYDLKOVuTcvOhx?= =?us-ascii?Q?ZX80THbiTRJxc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ascii?Q?lbg29mpbktHxDVC2GDPg1epfFDK44/zPDQvbpy7sqmMzgv6FJgms3htIpaSi?= =?us-ascii?Q?1ps10emAI2hJIbvDe/w56QFDnop8xE8C8ZepcM7mWhvLqjSihKu0XT703jGl?= =?us-ascii?Q?YPTrGVuN4phLjd/VcMKs8noD+et1E3IE+hRLMB4MAPLuudbmbmc7gH0VzNnl?= =?us-ascii?Q?huzRXgOJeADIEipACd94e4RmqnJkO8M1En2OHWxyxBj/tGR2u61slYU08FQ/?= =?us-ascii?Q?faxGQ=3D=3D?= X-Microsoft-Antispam-Message-Info: uiZq3xC07rcdN66BQWttoEZ/LGS1qP9tXZh3lyWWjPzB3w5UAzgQzc+Pznjclt0j880fd8Fo0str9Hc/t9BVgRkOE/2ACOZ1fKGj7h3AswMKP+3sJyeYysde/wHzwgqEyxCNN/fsYkpjcLwg42FKu35s/sX5n81UGwoDH8PQBQ90jAGrJeszmF9b0dlOqAap X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 6:qt85VLOMu6WYJJsXTymKgk/46Ja8S9X1qEGRzCcHhz+DtZ2qCjLCl31/fcHqvsOf4HPpoSm7UDD+UtBJCVl+Ghol5KdbMfS317z88Qxcil2uERugQ5VECXtAsTgQ/rMiERcqOSS0uYOU4M1p2GuZ3F6myZd0922WdMylcWcwf9ajQ3bZ/06qw3GB5MO+aw0iVVcLS04yXMVcg3AOwYW7At4NXL3GlQz+Ikik8krRJCgeZW9NwrrQD+u9THBHcPiThWcO8j1B3/+xTG8T3vv/6vPko9U/GMwoFift5nQvgTCw3xTngporVM1geZh1koPQWmTUr4nvMlwrHrCCCxV9MpXorxdiBWJcpL/4PYMtNH06HNAC9P1e9QZbrUiJ/IShTxbNS6jeuJacyYz85cRZZKskCQkovDZLkNi9pF0QHYXxzFOFNkgCT9kingseKGJx7ZtLdh2joz0m3n48W1VKHg==; 5:K6FbwViXp1zq3YlE1PFfy8udqoBVsQBkpUStnxH3U8hXimmzNlCz21IIeHe47KA879dPtN9OvUFISIXBfBNzgd6BhaNuXbr36bRP853pQvmRu+r1Ry/uft6uqlRONtmUDf/r9Bbzq4Q2r2vhouZq4BuluhlhEcxJHzg5CD/G+ME=; 24:WdfK3FYC2oPD2Rf82ffssEoN6p2kHPri8MFrz6Y9xLidIxcAzNm6IHxyGLmqWjYjLp155xyNt+MJjcCecuC4z+Pi9K6FpyTr69E1J7Q6VMw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 7:8pye0EYdW03QHgdzqWmtnujspi5OcMu1lEB7rx8aHcP911t5Moz5xaQa3GKmJrGyzHQXYw9F6AtA4HjUa4BFXC8s3ghhVEEq7t2xMVi1/Xo++sC8tum8ibxQbwjnXyaCODT3OuoBhkYNg/W2fHC0aDdMiNvn0rhFbbhLqFQ2xraHY/N2+eLWpziB8wV5zvnJ33LPLxguel8AFvhJqWnHAp9t736ylM6zT/cFjSMkK1nUMbwZXHjX8GH0IZWZ88GY X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2018 21:01:45.9829 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8f9ce010-8f51-4c46-42eb-08d59e5d1bdc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3470 Subject: [dpdk-dev] [PATCH v4 11/11] doc: update eventdev OcteonTx documentation 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, 09 Apr 2018 21:01:50 -0000 Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- MAINTAINERS | 4 ++++ doc/guides/eventdevs/octeontx.rst | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7e966580b..c201e0f7f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -744,6 +744,10 @@ M: Santosh Shukla F: drivers/event/octeontx/ F: doc/guides/eventdevs/octeontx.rst +Cavium OCTEONTX timvf +M: Pavan Nikhilesh +F: drivers/event/octeontx/timvf_* + NXP DPAA2 eventdev M: Hemant Agrawal M: Nipun Gupta diff --git a/doc/guides/eventdevs/octeontx.rst b/doc/guides/eventdevs/octeontx.rst index 4fabe54f9..f77bc5c54 100644 --- a/doc/guides/eventdevs/octeontx.rst +++ b/doc/guides/eventdevs/octeontx.rst @@ -28,6 +28,9 @@ Features of the OCTEONTX SSOVF PMD are: - Open system with configurable amount of outstanding events - HW accelerated dequeue timeout support to enable power management - SR-IOV VF +- HW managed event timers support through TIMVF, with high precision and + time granularity of 1us. +- Up to 64 event timer adapters. Supported OCTEONTX SoCs ----------------------- @@ -96,6 +99,16 @@ The tests are run once the vdev creation is successfully complete. --vdev="event_octeontx,self_test=1" +Enable TIMvf stats +------------------ +TIMvf stats can be enabled by using this option, by default the stats are +disabled. + +.. code-block:: console + + --vdev="event_octeontx,timvf_stats=1" + + Limitations ----------- @@ -110,3 +123,19 @@ Rx adapter support When eth_octeontx is used as Rx adapter event schedule type ``RTE_SCHED_TYPE_PARALLEL`` is not supported. + +Event timer adapter support +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +When timvf is used as Event timer adapter the clock source mapping is as +follows: + +.. code-block:: console + + RTE_EVENT_TIMER_ADAPTER_CPU_CLK = TIM_CLK_SRC_SCLK + RTE_EVENT_TIMER_ADAPTER_EXT_CLK0 = TIM_CLK_SRC_GPIO + RTE_EVENT_TIMER_ADAPTER_EXT_CLK1 = TIM_CLK_SRC_GTI + RTE_EVENT_TIMER_ADAPTER_EXT_CLK2 = TIM_CLK_SRC_PTP + +When timvf is used as Event timer adapter event schedule type +``RTE_SCHED_TYPE_PARALLEL`` is not supported. -- 2.17.0