From patchwork Tue Oct 25 21:44:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 119124 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 6745DA0544; Tue, 25 Oct 2022 23:45:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6889042C7E; Tue, 25 Oct 2022 23:45:10 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 05D8742C79 for ; Tue, 25 Oct 2022 23:45:09 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B8C185C010E; Tue, 25 Oct 2022 17:45:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 25 Oct 2022 17:45:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1666734308; x=1666820708; bh=JP OeBk+/Nsai8/ky5IyUO6paWAb1u65Zh5+2Yg5Byic=; b=iBpqeJ6kGd6a4q4J37 KhuoEYhFQ4Xz5rO4XLxC73KieuupzMkEeon8BBzRBdZ5rs/YPOU8J3Q4BU5MdAFL 1/lcVf5tzzUIhUr8G8/pkTO/w/UeF/gn69ZLATCuiF1KWDhFFcaxyNcNXSSkVq3W w+7bgGquJZNosjUufMUHUQHTWSNc06YnPVkp0VyiBsToaZi15xoQAzL/IBoWR+5J kCj4ueEjp11ZzS+48pK3alz4Y27p2n3bC7hRf9HAqshgld4LSHEIqrIz7JaQUDGW IshXjZuOZxjoLtYERysgsEt3KDH3td2RikxLjDySHD/rTmkiLv69m/Gu1AmOgErD s4Dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1666734308; x=1666820708; bh=JPOeBk+/Nsai8 /ky5IyUO6paWAb1u65Zh5+2Yg5Byic=; b=es/VTK/hzj0GDi4tM2DG80G6rH2k5 MwQQpXrzmBNdmnPwdeqUdIVUDGTLPFSHXBLS3zHxItkDa9zTvCLT250UIg3Q26ox BJm2bpaUGL5ppE7Pq17mKI/dLpgD//f6SZlAeeS9uLo2jK5I/946QoxULi4XSoon RDRGalgbiNKGfNh9xTiLv9dWPWU4+WBox8iePSoe9277oyqXX7N4crOwGwhn3GPz 4mIBIoA7QTgs+WSBnAjWurtn77ZoRLgmlGgxxBPs4hw2BzLGPPpzrNeWscp9fzjR b/07WIF7i89k8a5BWIgKbHNGkaEkTk3d4kvQ8YQIhhf3DRA1H/6UEe3HA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtddugddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdejhfdugeehvddtieejieegteeuudfgjeeukeeiledthfetveek hefhieelhfdtnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Oct 2022 17:45:07 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru, Ori Kam Subject: [PATCH 7/8] doc: fix description of L2TPV2 flow item Date: Tue, 25 Oct 2022 23:44:09 +0200 Message-Id: <20221025214410.715864-8-thomas@monjalon.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221025214410.715864-1-thomas@monjalon.net> References: <20221025214410.715864-1-thomas@monjalon.net> MIME-Version: 1.0 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 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. Signed-off-by: Thomas Monjalon --- 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 421c6407a9..007051f070 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.