Re: [dpdk-dev] [PATCH 1/3] rib: constify arguments

2020-06-26 Thread Medvedkin, Vladimir
On 25/06/2020 21:32, Stephen Hemminger wrote: The getter functions should take a constant pointer to make it clear that node is not modified. The rib create functions do not modify their config structure. Mark the config as constant so that programs can pass simple constant data. Signed-off-b

[dpdk-dev] [PATCH 1/3] rib: constify arguments

2020-06-25 Thread Stephen Hemminger
The getter functions should take a constant pointer to make it clear that node is not modified. The rib create functions do not modify their config structure. Mark the config as constant so that programs can pass simple constant data. Signed-off-by: Stephen Hemminger --- lib/librte_rib/rte_rib.