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 <dek...@mellanox.com>
>> Cc: dev@dpdk.org; Dekel Peled <dek...@mellanox.com>
>> Subject: RE: [dpdk-dev] [PATCH] examples/flow_filtering: fix example
>> documentation
>>
>>
>>
>>> -----Original Message-----
>>> From: dev <dev-boun...@dpdk.org> On Behalf Of Dekel Peled
>>> Sent: Monday, December 24, 2018 12:51 PM
>>> To: Ori Kam <or...@mellanox.com>
>>> Cc: dev@dpdk.org; Dekel Peled <dek...@mellanox.com>
>>> 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.

Reply via email to