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

2020-02-14 Thread Andrzej Ostruszka
On 2/14/20 4:47 PM, Stephen Hemminger wrote: > On Fri, 14 Feb 2020 15:37:59 +0100 > Andrzej Ostruszka 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 funct

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

2020-02-14 Thread Stephen Hemminger
On Fri, 14 Feb 2020 15:37:59 +0100 Andrzej Ostruszka 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 (a

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

2020-02-14 Thread Andrzej Ostruszka
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 --- lib/libr