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 14A80A0C41 for ; Thu, 4 Nov 2021 08:32:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 00CC84115F; Thu, 4 Nov 2021 08:32:35 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 5A81740E5A; Thu, 4 Nov 2021 08:32:33 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CB2B61FB; Thu, 4 Nov 2021 00:32:32 -0700 (PDT) Received: from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com [10.169.208.222]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 787D03F719; Thu, 4 Nov 2021 00:32:30 -0700 (PDT) From: Joyce Kong To: Ori Kam , John McNamara , Conor Fogarty , Conor Walsh Cc: dev@dpdk.org, nd@arm.com, stable@dpdk.org Date: Thu, 4 Nov 2021 02:32:20 -0500 Message-Id: <20211104073220.7938-1-joyce.kong@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211103024103.2420-1-joyce.kong@arm.com> References: <20211103024103.2420-1-joyce.kong@arm.com> Subject: [dpdk-stable] [PATCH v2] examples/flow_filtering: fix wrong comment 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 Sender: "stable" Change the 'IPV4' level to 'ETH' level in the comment as it was previously misdescribed. Fixes: 9a212dc06c7a ("doc: use code snippets in sample app guides") Cc: stable@dpdk.org Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang --- doc/guides/sample_app_ug/flow_filtering.rst | 2 +- examples/flow_filtering/flow_blocks.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/flow_filtering.rst b/doc/guides/sample_app_ug/flow_filtering.rst index 11da9148ca..e8605f36f2 100644 --- a/doc/guides/sample_app_ug/flow_filtering.rst +++ b/doc/guides/sample_app_ug/flow_filtering.rst @@ -224,7 +224,7 @@ Setting the first level of the pattern ETH: .. literalinclude:: ../../../examples/flow_filtering/flow_blocks.c :language: c - :start-after: IPv4 we set this level to allow all. 8< + :start-after: ETH we set this level to allow all. 8< :end-before: >8 End of setting the first level of the pattern. :dedent: 1 diff --git a/examples/flow_filtering/flow_blocks.c b/examples/flow_filtering/flow_blocks.c index 3251ed9f8f..b168dc6e71 100644 --- a/examples/flow_filtering/flow_blocks.c +++ b/examples/flow_filtering/flow_blocks.c @@ -75,7 +75,7 @@ generate_ipv4_flow(uint16_t port_id, uint16_t rx_q, * ipv4 we set this level to allow all. */ - /* IPv4 we set this level to allow all. 8< */ + /* ETH we set this level to allow all. 8< */ pattern[0].type = RTE_FLOW_ITEM_TYPE_ETH; /* >8 End of setting the first level of the pattern. */ -- 2.17.1