Re: [dpdk-dev] [PATCH v2] lpm6: make IPv6 addresses immutable

2020-03-31 Thread Thomas Monjalon
10/03/2020 15:47, Medvedkin, Vladimir: > On 10/03/2020 09:13, Andrzej Ostruszka wrote: > > None of the public functions modify IPv6 address passed. So their > > parameters are made const - with the exception of bulk functions. > > This exception is due to compatibility problems - some compilers re

Re: [dpdk-dev] [PATCH v2] lpm6: make IPv6 addresses immutable

2020-03-10 Thread Medvedkin, Vladimir
On 10/03/2020 09:13, Andrzej Ostruszka wrote: None of the public functions modify IPv6 address passed. So their parameters are made const - with the exception of bulk functions. This exception is due to compatibility problems - some compilers report problems with const-casting of array of arra

[dpdk-dev] [PATCH v2] lpm6: make IPv6 addresses immutable

2020-03-10 Thread Andrzej Ostruszka
None of the public functions modify IPv6 address passed. So their parameters are made const - with the exception of bulk functions. This exception is due to compatibility problems - some compilers report problems with const-casting of array of arrays. Previously only lookup and add were updated t