From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0415D42E89 for ; Sun, 16 Jul 2023 08:59:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E8F2842B8C; Sun, 16 Jul 2023 08:59:19 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2049.outbound.protection.outlook.com [40.107.92.49]) by mails.dpdk.org (Postfix) with ESMTP id 477A84013F; Sun, 16 Jul 2023 08:59:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TnBwIUXStXVkXOjPfHcC4o9vUhQbMUOZ8d68Rr72bHSu1++93xlI+zpLXKvdViIV/kXmjJBmWLIRE9b6ZGD/YH3WnayWP4gcQY3I3qmzeGJIVRhZ9Nob05Wofp7QbW+uJhpIXxMzKNKOivUZqh1C435pH3ILi5LKVnx2bkP0z328xOhZoQ497q2mM4uv0wj+bajXePxHgf/51MrIX9k770KwL9TxqAkKMg51W8SzgEqEznwq+JNcH+VX6zyPoRrLuROyrZ9IKQFBPuQX5s/JbLCf0ijlL3ZDQlWt/9dWy+IvCz4WmgN8mGFtw+iVuRbbem9Q45LtxAXPGvaD9yhgdQ== 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=1kzVbNRhUvcg+ZGE1ux9lGb5W/y7Mn3uB0tuVUXD8hk=; b=DvjVZWdqvZ5ZaUWCM24H4vo05LA7gqbVrbcuA1LB++OKdL2DYn5qhttM3kTFI4pq2U61fRh7FrLB13wsN+cHYLtQnE+R6EgiY3Q5HLMZvxyVleFJQJlqP45xeHwh0E80fA2nY+GGktjwCPYf5KtGrMT2D8I/MY5b5dKNBdwcGGy07pEHWBo50EQbD3jSxUt624l7F2SLfeXCOZMyLu/0ixIVlO+8QtrGWDClymMFN+F5TgZ593UI5Mfjflt1MvC2KpyDOHSlufBRYB8jmE4dfv7HYIUU1x9ugDUIsSOyU5lAWBx4+YC0SA2Aak0pkU5Dnp0q+MmbY3aYhNrvKtE89g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1kzVbNRhUvcg+ZGE1ux9lGb5W/y7Mn3uB0tuVUXD8hk=; b=bSQWj8BQNTJxZ2I8ERQJMRUM4Z4op9r2Kr1LdA16fcwNaz0mykvp2YOSYvZ7mvdq7tgbdJifFRWyga6VgfsVNc0F6vRHB+JBFdUkDAGrNFFLUlkGYBvBThIJoNdED42mSwnWCvw9uPeRIvE9KxG6p7it64eTZr2qZwihv6pDZkjWjQqTMwFiNG2Ur/ezQRpaj4ziQfbh4JyherVQdi80ER1hDraf1oYWMasJgu/WE/GVC7iAcgjE+/g0X0Od0Rxk7hhzLRwiTlJeYeelgWMOMyO9FtUJXTzIbF8dyPAoUR6U0ALtpeHueMZlZszS+MS0WqCNM25Zev6BsDFmRfd57Q== Received: from MW4PR03CA0126.namprd03.prod.outlook.com (2603:10b6:303:8c::11) by CH3PR12MB8712.namprd12.prod.outlook.com (2603:10b6:610:171::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Sun, 16 Jul 2023 06:59:12 +0000 Received: from CO1NAM11FT114.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8c:cafe::1a) by MW4PR03CA0126.outlook.office365.com (2603:10b6:303:8c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.32 via Frontend Transport; Sun, 16 Jul 2023 06:59:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1NAM11FT114.mail.protection.outlook.com (10.13.174.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.29 via Frontend Transport; Sun, 16 Jul 2023 06:59:12 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sat, 15 Jul 2023 23:59:03 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sat, 15 Jul 2023 23:59:01 -0700 From: Ali Alnubani To: CC: , , John McNamara Subject: [PATCH v2] doc: fix typos and wording in flow API guide Date: Sun, 16 Jul 2023 09:58:26 +0300 Message-ID: <20230716065826.1126823-1-alialnu@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230703075827.503040-1-alialnu@nvidia.com> References: <20230703075827.503040-1-alialnu@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT114:EE_|CH3PR12MB8712:EE_ X-MS-Office365-Filtering-Correlation-Id: df0ec736-d9d8-4e4b-2c7d-08db85ca2939 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pTG5NFZhLT3uuCzj7mB42+wvCV9MicpBTyK/E0d3WRVbh66/E4OxhVQBZ2u70ss+W9/vie5XteTZa/8bilKxiPSVkhjgVCGyUh9V792sf7+6gnu7u7aB8BRBPIHWJKrcg3YLrbufPgjjC0vjCSsxXDZP997ptIq1xAiN2cDxvNBtK+2XtlOZX3gNmdXNce0JoBIsSUhGNb8pUYhsJuMDxvQ3CJ99p/iczCOQxYBDTpdZRntrjD0s0URpqxbfFTtgG4oe5jEmG4/K+gcBw2ebFUG8iD9+10Qvli0fW1x09KWKuA9EEyQTgUqsrAPItk+Di4EYxJIpyP7EoOeZCa14nQLUFoTScMLxCbkChKw6aVWdsI5Tm+/11BoRfzWwK5OeHt1D37eoxw7KVlR0eyKJsxyAIHzFvqBfJ29gkFMUXd59F6enS97z3A53jj2cIniQrmkdy5oFtopbwtEwP/pvbBRsPgPe2qwoe4SWTPeMcBgZjQxtTq2wbDYc6PahWV6ZRoFf14pthDIngXQiBWl9P9B+vUUCvKVdMBERQO0FWcx5kydfoSlVfNjLNfu1I/eApe+XS2cIpuZTk/Nx7xkVZiCCnggURU8NiRy7HHSNJpVPycfyRPb3T2x8jmcPC3rqEdtD2t41ysLoqZiNhzRWthDFxFmE7dy0uhhQzdEkyhBlUzqU8EGJRZpbZqOE7aUancQe8QgsCyQZv5409WtRBx5eGt86XaQntrf4ZvVhAkr+UnEluZo1UW7TkmMXT56m X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(136003)(376002)(39860400002)(346002)(396003)(451199021)(82310400008)(46966006)(36840700001)(40470700004)(55016003)(40480700001)(26005)(1076003)(40460700003)(70206006)(356005)(82740400003)(7636003)(6916009)(4326008)(8676002)(8936002)(5660300002)(316002)(54906003)(41300700001)(70586007)(6666004)(36756003)(2906002)(478600001)(47076005)(83380400001)(2616005)(426003)(86362001)(7696005)(36860700001)(186003)(6286002)(16526019)(336012); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2023 06:59:12.3620 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df0ec736-d9d8-4e4b-2c7d-08db85ca2939 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT114.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8712 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org This fixes typos, punctuation and wording in the rte flow API guide. Fixes: 2f82d143fb31 ("ethdev: add group jump action") Cc: declan.doherty@intel.com Cc: stable@dpdk.org Signed-off-by: Ali Alnubani Acked-by: John McNamara --- Changes in v2: rebased and replaced a relative pronoun. doc/guides/prog_guide/rte_flow.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst index 28d09c58d5..d9f2b51245 100644 --- a/doc/guides/prog_guide/rte_flow.rst +++ b/doc/guides/prog_guide/rte_flow.rst @@ -148,14 +148,14 @@ Attribute: Group Flow rules can be grouped by assigning them a common group number. Groups allow a logical hierarchy of flow rule groups (tables) to be defined. These groups can be supported virtually in the PMD or in the physical device. -Group 0 is the default group and this is the only group which flows are -guarantee to matched against, all subsequent groups can only be reached by -way of the JUMP action from a matched flow rule. +Group 0 is the default group and is the only group that flows are +guaranteed to be matched against. All subsequent groups can only be reached by +using a JUMP action from a matched flow rule. Although optional, applications are encouraged to group similar rules as much as possible to fully take advantage of hardware capabilities (e.g. optimized matching) and work around limitations (e.g. a single pattern -type possibly allowed in a given group), while being aware that the groups +type possibly allowed in a given group), while being aware that the groups' hierarchies must be programmed explicitly. Note that support for more than a single group is not guaranteed. @@ -170,7 +170,7 @@ Priority levels are arbitrary and up to the application, they do not need to be contiguous nor start from 0, however the maximum number varies between devices and may be affected by existing flow rules. -A flow which matches multiple rules in the same group will always matched by +A flow which matches multiple rules in the same group will always be matched by the rule with the highest priority in that group. If a packet is matched by several rules of a given group for a given @@ -1769,12 +1769,12 @@ flow group/tables on the device, this action redirects the matched flow to the specified group on that device. If a matched flow is redirected to a table which doesn't contain a matching -rule for that flow then the behavior is undefined and the resulting behavior -is up to the specific device. Best practice when using groups would be define +rule for that flow, then the behavior is undefined and the resulting behavior +is up to the specific device. Best practice when using groups would be to define a default flow rule for each group which a defines the default actions in that group so a consistent behavior is defined. -Defining an action for matched flow in a group to jump to a group which is +Defining an action for a matched flow in a group to jump to a group which is higher in the group hierarchy may not be supported by physical devices, depending on how groups are mapped to the physical devices. In the definitions of jump actions, applications should be aware that it may be -- 2.25.1