From patchwork Thu Jan 26 13:17:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ferruh Yigit X-Patchwork-Id: 122535 X-Patchwork-Delegate: ferruh.yigit@amd.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 0203642492; Thu, 26 Jan 2023 14:19:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA8CB42D8A; Thu, 26 Jan 2023 14:18:57 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id F314A42D58; Thu, 26 Jan 2023 14:18:54 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GX1XSs4dQ7dcQEjY2coJUn1x0mmMAcRhYrSN3ijs+3SZbAyME+rKF8bm4/TYB2JjVJt1uuCQhaLRRs0URqzWGXM9BdludhrshaWnPt1ZrI3thFZWbBK0+2Dre6E1vvmut+uAl1O0iSnMXXrEIxB0SmHDDFOwcKGd94qPC2UrZxqCcaHSz07fm1g9gLeD8fghpDw+sQXFTqE/NOEyk3NAHX17YTLHHPIHcAC7R6unt5aBE9STuV3VCOgcpASe3Tr4XZRMnXonGeNujoYEhTwtg3EB4yHHehXO3Av4OfywP2/wY2Fq5aSAZoXESt3ZvCqe+DHpSgZ/lrzXC+bTwqiosA== 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=QWQsHMFoiFgz3nsGdiXjACH44ufO2eS6uo552jN1i6U=; b=j7Ow7kQ2KMrM61yJBSjMG+2bur/Zjpp0i9RtHXHBknh8mEvGa2EBsOvfpHSDvWsjuwqYkQvW0z2OpX4uazkfCCtekJA7PRvfheKm23IOCUzYCM1dzqKVwr6cFfCsPCRhL+8FqRMu2yv0oxgyBMWjcjfnfWFpAR5PQ2yBbpWEc4cwK3OApe1hxNKMbsHlaiE9n8o4y40M8QY+TCnSVVh9ZmwZxxEij0KLMqkMCImQlkznZBD5IpbVem2TTldYvseEl5R8JyFP9HVm6+mG56Vv0B8M0BAgJY6fSi+bzJxkC/woFWVhkyfn/hEoQ9zJW6VqVlz9S/iBssy6GNwKXlAzvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=monjalon.net smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QWQsHMFoiFgz3nsGdiXjACH44ufO2eS6uo552jN1i6U=; b=dKQRnEkfOlvin5H0b49dEe4SBJ+oonK2sKdnTJ+Hz9I80qtIuA5bIYYfwU7agxb0MwWyIMmvkPr7tFDMW/zNspg1ChX3uMf4qcAWhv+PsIBls/HHeXlyUUihdGqDd9b6cjtJULySHAXAeotpTvjnvG26felyMhOS9winCS8LhqA= Received: from BN9PR03CA0920.namprd03.prod.outlook.com (2603:10b6:408:107::25) by DM4PR12MB5987.namprd12.prod.outlook.com (2603:10b6:8:6a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22; Thu, 26 Jan 2023 13:18:51 +0000 Received: from BN8NAM11FT038.eop-nam11.prod.protection.outlook.com (2603:10b6:408:107:cafe::6b) by BN9PR03CA0920.outlook.office365.com (2603:10b6:408:107::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22 via Frontend Transport; Thu, 26 Jan 2023 13:18:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT038.mail.protection.outlook.com (10.13.176.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6043.21 via Frontend Transport; Thu, 26 Jan 2023 13:18:51 +0000 Received: from telcodpdk.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 26 Jan 2023 07:18:50 -0600 From: Ferruh Yigit To: Thomas Monjalon , Ori Kam , Jie Wang , Ferruh Yigit , Andrew Rybchenko , Wenjun Wu CC: David Marchand , , Subject: [PATCH v4 7/8] doc: fix description of L2TPV2 flow item Date: Thu, 26 Jan 2023 13:17:58 +0000 Message-ID: <20230126131759.3887632-8-ferruh.yigit@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230126131759.3887632-1-ferruh.yigit@amd.com> References: <20221025214410.715864-1-thomas@monjalon.net> <20230126131759.3887632-1-ferruh.yigit@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT038:EE_|DM4PR12MB5987:EE_ X-MS-Office365-Filtering-Correlation-Id: a3448314-6f84-4b77-99e7-08daff9fddd4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C28UhZvsJ+y5WB3zmr/8YOlvxPfkORfZEspDeUbZj9k6LZW0WV1ltmIxehnX1y307EtXYr1ixumR8MMaoaldNYyaukMiYh4INersLMdrnrvkiyvG6uSCiJCTTDApTi2WWK9QKmnGbSqDtljG6NwymKxAUfeMV18TdRojg6uVTB/55qcm4+jiBkX5AQaClCvwVU/bgKd8ZdV9mabcsVUZ4O54WChc4i+6MIoe8dZQ/9PHRlgmGA6WeEeCc8x2mbPndZqQtAyFAuKcNA1EXTDeqbB5jtx/PzJPu+7zSZvRXM7ZDwuWkSXzHSFDZPwob74mjztaJMWhVbPwTgYh1Uk031o1Aev9/LJpm+AA9fv2ErpFZaV+XW3ct3aRdteH8pZPVtS5/sN7YrRmsED3AFKZhktRnopE3e/DH2QAUV/CGTKKQkUYVq2lbx3Ck5hYwyx2/s+5pVTQbera4wZ3DvzMx+tGnwf+dwbN7NHeio/ya/fYXaqHxJL8j35KMI6H6VlX/CaueO+INEOTig9wKuyJcgxdoGITF5psdfgEpeN0AiY4fZdyFc0X77VbqpwF0ApumCsCEGtY50m2hkCvjNkvgTaAxUgUqvoBAAvWBbNDjJfxGEIB0nP4kAqSrUMMsITfYyw9H8XC7veVf1O6Y00ksu3t+I+SV+T/wHEr7XkzNKflemxbp+Qn3UAAs9PiQ74UH5XmKdYAvBdGBJBZdr9RCgHSCS28geW5GOlc/6hFgCk= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(346002)(136003)(376002)(396003)(451199018)(36840700001)(40470700004)(46966006)(44832011)(5660300002)(36756003)(2906002)(40480700001)(47076005)(426003)(2616005)(81166007)(356005)(83380400001)(336012)(82740400003)(316002)(36860700001)(8676002)(41300700001)(110136005)(82310400005)(4326008)(8936002)(54906003)(70586007)(70206006)(1076003)(40460700003)(186003)(16526019)(7696005)(26005)(86362001)(478600001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2023 13:18:51.2458 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3448314-6f84-4b77-99e7-08daff9fddd4 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT038.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5987 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 From: Thomas Monjalon The flow item structure includes the protocol definition from the directory lib/net/, so it is reflected in the guide. Section title underlining is also fixed around. Fixes: 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- Cc: jie1x.wang@intel.com --- doc/guides/prog_guide/rte_flow.rst | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst index 8bf85df2f611..c01b53aad8ed 100644 --- a/doc/guides/prog_guide/rte_flow.rst +++ b/doc/guides/prog_guide/rte_flow.rst @@ -1485,22 +1485,15 @@ rte_flow_flex_item_create() routine. value and mask. Item: ``L2TPV2`` -^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^ Matches a L2TPv2 header. -- ``flags_version``: flags(12b), version(4b). -- ``length``: total length of the message. -- ``tunnel_id``: identifier for the control connection. -- ``session_id``: identifier for a session within a tunnel. -- ``ns``: sequence number for this date or control message. -- ``nr``: sequence number expected in the next control message to be received. -- ``offset_size``: offset of payload data. -- ``offset_padding``: offset padding, variable length. +- ``hdr``: header definition (``rte_l2tpv2.h``). - Default ``mask`` matches flags_version only. Item: ``PPP`` -^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^ Matches a PPP header.