From patchwork Fri Oct 21 08:13:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Mattias_R=C3=B6nnblom?= X-Patchwork-Id: 118924 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E3B15A0032; Fri, 21 Oct 2022 10:18:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D52EE42BC0; Fri, 21 Oct 2022 10:18:01 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00067.outbound.protection.outlook.com [40.107.0.67]) by mails.dpdk.org (Postfix) with ESMTP id AA27C42B6D; Fri, 21 Oct 2022 10:17:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C0rebjHuUYTHsO6AD0I3X5rIGpAHmraLmmipahjWLZDp3i28GoDdWiWx/wYF8iSaAnYXW7A4cid0CnDftzEMRORZOgEXY6J2KJ/tFx5Q2rPIgljhFNYgL9b5VhpafOG8nxFjn/eG7vO0khx14juiUQBRkfH8+xVYe9nRk5tLHWc9GNLcyE8uP3tYsuzPEXqPYhi31ZFhcF7I1Qni0Ub3pAT1Ek6wQX+PZS7CocFC1WcxIR36mMN7NDM2+jVjnmSE8Xd8Oth9BULb+X46gaSe8pZeAdYVMv1sxBhOsbxypDTOna8CL6LSSqZMBelvyIafquNLlPqhtBbazdzlisBNIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GorMgME+w5ag59/dekdvtgYml6GX9H/kMFLSOy2zgiw=; b=iGyRmx2ygIjORh/1NH0XINU1thOpNaRPEL015XX9RxQyijQIID8BgP6g/IzV+dEnKJdTdoUYdoXG3MH0lOH2us2KRg5bidjbBmC+TUZpgEzbhkvV4I1ZURhrLjsbp0JWkyd5v8swIzR+o77VNWjollQzD6P6FbMhemqS47FYCwBwPDh3DRZv34Kog/JDgmtRMDECMh0vhI5mhOmexQMgyjQG7IIEbGo/exZyDE/O4cCCBQdoM/qs3PZs+2TVMF35IoMCRjrzBygqc9h2gWseleJveve9DIApeUDt2fHCqh1JzaK5HT1hhB92k+qYU7DIkC9cBmswj8YSQwi9VX0nhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.176.1.74) smtp.rcpttodomain=dpdk.org smtp.mailfrom=ericsson.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ericsson.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GorMgME+w5ag59/dekdvtgYml6GX9H/kMFLSOy2zgiw=; b=ZB380w+SYlPZsNaqXbldvYtSFivXWpBynblmYoVyVvX6g5CcsWrkVFAHb9mpwBRaZ/Q795Nbf5gm5Quy9VhtC1b4/2kobI6aYHnNeSGzYi6OfWKVfiriQwnp5ATPzitrgS+e9n2R/9BYuwKiOXHOhbdPmZZ6liCnR5hnf8QzO0A= Received: from AM6PR10CA0102.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:8c::43) by AS2PR07MB9206.eurprd07.prod.outlook.com (2603:10a6:20b:5ea::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.18; Fri, 21 Oct 2022 08:17:58 +0000 Received: from AM5EUR02FT076.eop-EUR02.prod.protection.outlook.com (2603:10a6:209:8c:cafe::fa) by AM6PR10CA0102.outlook.office365.com (2603:10a6:209:8c::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21 via Frontend Transport; Fri, 21 Oct 2022 08:17:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.176.1.74) smtp.mailfrom=ericsson.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ericsson.com; Received-SPF: Pass (protection.outlook.com: domain of ericsson.com designates 192.176.1.74 as permitted sender) receiver=protection.outlook.com; client-ip=192.176.1.74; helo=oa.msg.ericsson.com; pr=C Received: from oa.msg.ericsson.com (192.176.1.74) by AM5EUR02FT076.mail.protection.outlook.com (10.152.9.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.5723.20 via Frontend Transport; Fri, 21 Oct 2022 08:17:58 +0000 Received: from ESESSMB505.ericsson.se (153.88.183.166) by ESESBMR503.ericsson.se (153.88.183.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.31; Fri, 21 Oct 2022 10:17:57 +0200 Received: from ESESSMB502.ericsson.se (153.88.183.163) by ESESSMB505.ericsson.se (153.88.183.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.31; Fri, 21 Oct 2022 10:17:57 +0200 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.190) with Microsoft SMTP Server id 15.1.2375.31 via Frontend Transport; Fri, 21 Oct 2022 10:17:57 +0200 Received: from localhost.localdomain (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id 3978F1C0060; Fri, 21 Oct 2022 10:17:57 +0200 (CEST) From: =?utf-8?q?Mattias_R=C3=B6nnblom?= To: Jerin Jacob CC: , =?utf-8?q?Mattias_R=C3=B6nnblom?= , , Subject: [PATCH] eventdev: fix event vector documentation typo Date: Fri, 21 Oct 2022 10:13:49 +0200 Message-ID: <20221021081349.23296-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM5EUR02FT076:EE_|AS2PR07MB9206:EE_ X-MS-Office365-Filtering-Correlation-Id: fd500158-96cd-4f99-e27b-08dab33cc37e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jpyz1D5NdfmpYSk2yw6fr+Jjq4oziCYzHTWbTI7Hmowg34cOOYpkGqa3wMg9/n2FLIsAskk/liFkXeAS3YeX976NHX/We0JRdkAVjRR22DmwyKSEC88qUg9ErkG9IiEvBelcJtMbJXvWMikuRq2kdmH8oX10SYrcc27t45pttt9nxoVMenSEcLsh9BM6mpYArL51qiWVkvLGq/1biGLaovHTX0oT1+RR4BcOvkBkvXhy+eqqtTJ1zliHkAoj510Qa25i4nsUKH+Ig4zvg+18jyUkp3P017ZZZjT4aON7HZXJFFlGzOgSXX5/2lr1y0KnQxqZp1vwx3LLe3Zka6scHkEolKDxzx6D74HOGy2tIAWRJf6aTSwVqcRe2FphbfDQFB03FtnlN4HuBprsI2KlKLayaFxaS1eORAWyaaZ0O0+aMJThIbB1IUoxUBTcVsmmVEd3RtVmHhX96KJ2f/E/xakcESvRVIa48G0bAcZFwQ3Q2bmnwft7Jt6aZOY2XwDFC+KV/mI8OEyaNwzhDx7eCOjrGO6KsVNsPoTmIt2yqPIKiaP665u63lnbuPHaWuyAWQSN14UrNN/CeaLpdu0Q4QinCtaey6fF81vgwAGiy67EPVCbjhMuEN2i83e4rHSgNji5kVAWMEBcuIhb7nzDKxTv4qeKJVFiXhamph5G4xaFs8Tzat071/XRyEiJin5qmQm6LgRHiBK/5S7mFnY/GQEYL1XUpwuUPuVDLCwC3QLUY5oGYJh4q5X8FPpADs812Fu0DN1RK4xqqSkEnZkwZw== X-Forefront-Antispam-Report: CIP:192.176.1.74; CTRY:SE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:oa.msg.ericsson.com; PTR:office365.se.ericsson.net; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(136003)(396003)(376002)(346002)(451199015)(36840700001)(40470700004)(46966006)(86362001)(40480700001)(316002)(6666004)(6916009)(54906003)(70586007)(70206006)(8676002)(47076005)(186003)(336012)(7636003)(356005)(26005)(6266002)(36756003)(40460700003)(2906002)(1076003)(82960400001)(83380400001)(82740400003)(82310400005)(2616005)(4326008)(41300700001)(478600001)(66574015)(5660300002)(8936002)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2022 08:17:58.4847 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd500158-96cd-4f99-e27b-08dab33cc37e X-MS-Exchange-CrossTenant-Id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=92e84ceb-fbfd-47ab-be52-080c6b87953f; Ip=[192.176.1.74]; Helo=[oa.msg.ericsson.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR02FT076.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR07MB9206 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The Eventdev guide had got the type of the rte_event_vector struct's u64s union field wrong. Fixes: 1cc44d409271 ("eventdev: introduce event vector capability") Cc: pbhagavatula@marvell.com Cc: stable@dpdk.org Signed-off-by: Mattias Rönnblom --- doc/guides/prog_guide/eventdev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/eventdev.rst b/doc/guides/prog_guide/eventdev.rst index 8c13c5832c..2c83176846 100644 --- a/doc/guides/prog_guide/eventdev.rst +++ b/doc/guides/prog_guide/eventdev.rst @@ -85,7 +85,7 @@ flexibility in what the actual vector is. * ``struct rte_mbuf *mbufs[0]`` - An array of mbufs. * ``void *ptrs[0]`` - An array of pointers. -* ``uint64_t *u64s[0]`` - An array of uint64_t elements. +* ``uint64_t u64s[0]`` - An array of uint64_t elements. The size of the event vector is related to the total number of elements it is configured to hold, this is achieved by making `rte_event_vector` a variable