fbarray: add reverse finding
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 11 Jun 2018 20:55:38 +0000 (21:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 09:02:39 +0000 (11:02 +0200)
commitb8d07c5252e23f1d39fe5c6ca7ed364ff29e8281
tree56aed5a30b8621cbe8a45f39ac15e7bf69f70c39
parent9777a143cafef1153bb313ee978a1071defdd92a
fbarray: add reverse finding

Add function to look up used/free indexes starting from specified
index, but going backwards instead of forward. Semantics are kept
similar to the existing function, except for the fact that, given
the same input, the results returned will be 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