The ci/checkpatch warning is a false positive.
> -----Original Message-----
> From: Ruifeng Wang <[email protected]>
> Sent: Friday, July 10, 2020 10:22 AM
> To: Bruce Richardson <[email protected]>; Vladimir Medvedkin
> <[email protected]>; John McNamara
> <[email protected]>; Marko Kovacevic
> <[email protected]>; Ray Kinsella <[email protected]>; Neil Horman
> <[email protected]>
> Cc: [email protected]; [email protected]; Honnappa Nagarahalli
> <[email protected]>; nd <[email protected]>; Ruifeng Wang
> <[email protected]>
> Subject: [PATCH v10 1/3] lib/lpm: integrate RCU QSBR
>
> Currently, the tbl8 group is freed even though the readers might be using the
> tbl8 group entries. The freed tbl8 group can be reallocated quickly. This
> results in incorrect lookup results.
>
> RCU QSBR process is integrated for safe tbl8 group reclaim.
> Refer to RCU documentation to understand various aspects of integrating
> RCU library into other libraries.
>
> To avoid ABI breakage, a struct __rte_lpm is created for lpm library internal
> use. This struct wraps rte_lpm that has been exposed and also includes
> members that don't need to be exposed such as RCU related config.
>
> Signed-off-by: Ruifeng Wang <[email protected]>
> Reviewed-by: Honnappa Nagarahalli <[email protected]>
> Acked-by: Ray Kinsella <[email protected]>
> Acked-by: Vladimir Medvedkin <[email protected]>
> ---
> doc/guides/prog_guide/lpm_lib.rst | 32 ++++++
> lib/librte_lpm/Makefile | 2 +-
> lib/librte_lpm/meson.build | 1 +
> lib/librte_lpm/rte_lpm.c | 165 +++++++++++++++++++++++++----
> lib/librte_lpm/rte_lpm.h | 53 +++++++++
> lib/librte_lpm/rte_lpm_version.map | 6 ++
> 6 files changed, 237 insertions(+), 22 deletions(-)
>