>From Ruifeng Wang: The rte_lpm structure is exported because lookup API is inlined. But most of the structure can be hidden. Discussion at: http://patches.dpdk.org/patch/72403/ This patch set aimed to hide the rte_lpm structure as much as possible.
A data free issue was identified and fixed. Changelog since v2: - hid now internal structures, - changed code so that everything is done on internal representation of the lpm object and translation only happens at public API boundaries, -- David Marchand Ruifeng Wang (2): lpm: fix free of data structure lpm: hide internal data doc/guides/rel_notes/release_20_11.rst | 3 + lib/librte_lpm/rte_lpm.c | 388 +++++++++++++------------ lib/librte_lpm/rte_lpm.h | 19 -- 3 files changed, 208 insertions(+), 202 deletions(-) -- 2.23.0