[dpdk-dev] [PATCH] lpm6: add const to IPv6 addresses

Andrzej Ostruszka amo at semihalf.com
Fri Feb 14 17:06:19 CET 2020


On 2/14/20 4:47 PM, Stephen Hemminger wrote:
> On Fri, 14 Feb 2020 15:37:59 +0100
> Andrzej Ostruszka <aostruszka at marvell.com> wrote:
> 
>> LPM6 does not modify input IPv6 addresses so mark them as 'const'.
>>
>> The real need is to add those annotations to the API but in addition
>> they were added also to internal functions and slight formatting changes
>> were performed (aligning of input args).
>>
>> Signed-off-by: Andrzej Ostruszka <aostruszka at marvell.com>
> 
> This is a duplicate of: 
> https://patchwork.dpdk.org/patch/65126/

Yes indeed.  Thank you for pointing out, will drop it.

With regards
Andrzej Ostruszka

PS. Did you remember this patch, or is there some neat way to search for
relevant outstanding patches?  I'm pretty sure I've seen it but there
are so many changes being sent and at the time had no need for this
change that it escaped from my memory.


More information about the dev mailing list