[PATCH v3 1/2] lpm: add const to lpm arg of rte_lpm_lookup

Stephen Hemminger stephen at networkplumber.org
Mon May 30 22:38:20 CEST 2022


On Mon, 30 May 2022 20:24:36 +0200
Stanislaw Kardach <kda at semihalf.com> wrote:

> All other rte_lpm_lookup* functions take lpm argument as a const. As the
> basic rte_lpm_lookup() performs the same function, it should also do
> that.
> 
> As this function is inline, no API/ABI change happens.
> 
> Signed-off-by: Stanislaw Kardach <kda at semihalf.com>

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list