From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] examples/flow_filtering: fix example documentation Date: Wed, 2 Jan 2019 14:52:42 +0000 Message-ID: References: <1545648636-36614-1-git-send-email-dekelp@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: Dekel Peled , Ori Kam Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id DC26D1B2AB for ; Wed, 2 Jan 2019 15:52:45 +0100 (CET) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/25/2018 6:30 AM, Dekel Peled wrote: > PSB. > >> -----Original Message----- >> From: Ori Kam >> Sent: Tuesday, December 25, 2018 5:25 AM >> To: Dekel Peled >> Cc: dev@dpdk.org; Dekel Peled >> Subject: RE: [dpdk-dev] [PATCH] examples/flow_filtering: fix example >> documentation >> >> >> >>> -----Original Message----- >>> From: dev On Behalf Of Dekel Peled >>> Sent: Monday, December 24, 2018 12:51 PM >>> To: Ori Kam >>> Cc: dev@dpdk.org; Dekel Peled >>> Subject: [dpdk-dev] [PATCH] examples/flow_filtering: fix example >>> documentation >>> >>> Previous patch removed the VLAN item from example code. >>> This patch fixes the documentation accordingly. >> >> So why are you modifying the c file? >> > > The doc file quotes the c file, needed to modify both to align doc with code. > Code change includes fix of comments, and removing redundant variables and their initialization. What about removing the code from doc file, it is guaranteed that it will be outdated again? Or perhaps just add pseudo code if required.