fbarray: add reverse finding of contiguous
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 11 Jun 2018 20:55:40 +0000 (21:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 09:03:44 +0000 (11:03 +0200)
commit4d2dde26aad4f87f21a3a50b554947b6b98f9b9b
treee0497a89fb2ba4d9edee6a5366d50424cc253311
parente1ca5dc862261848abdc830e4678714c0367bd59
fbarray: add reverse finding of contiguous

Add a function to return starting point of current contiguous
block, going backwards. All semantics are kept the same as the
existing function, with the only difference being that given the
same input, results will be returned in reverse order.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_fbarray.c
lib/librte_eal/common/include/rte_fbarray.h
lib/librte_eal/rte_eal_version.map