lpm: hide internal data
authorRuifeng Wang <ruifeng.wang@arm.com>
Fri, 23 Oct 2020 09:38:18 +0000 (11:38 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Sat, 24 Oct 2020 17:08:06 +0000 (19:08 +0200)
commitced5a6ce244323435d9b0c0cb8ff98adc07fc6bd
treefba04956bb828d5eacf85722b19f0111dfab97be
parent0e8aa9970c9f1f44f4925b855f74c474a5f084e1
lpm: hide internal data

Fields except tbl24 and tbl8 in rte_lpm structure have no
need to be exposed to the user.
Hide the unneeded exposure of structure fields for better
ABI maintainability.

Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
doc/guides/rel_notes/release_20_11.rst
lib/librte_lpm/rte_lpm.c
lib/librte_lpm/rte_lpm.h