]> git.droids-corp.org - dpdk.git/commit
lpm: add const to lookup parameter
authorStanislaw Kardach <kda@semihalf.com>
Wed, 1 Jun 2022 11:15:41 +0000 (13:15 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 3 Jun 2022 09:12:43 +0000 (11:12 +0200)
commit4036de27309f448fda0d99f6d691084d7eb756ce
treeb898d94e0a7335dbfd3f4f883d3e8ae912003c93
parent769723eef91c8f47cdf851df5fa97dca7ccbbbe2
lpm: add const to lookup parameter

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.

Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
lib/lpm/rte_lpm.h