table: fix bucket empty check
authorThierry Herbelot <thierry.herbelot@6wind.com>
Wed, 7 Jul 2021 11:19:05 +0000 (13:19 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 9 Jul 2021 20:42:24 +0000 (22:42 +0200)
commit3fc2ddffde95478b65d8b58df5210293e63c00ee
tree946abd8188c9072f95274df8138358974a1dbfd6
parent72d7b5959fa5ebceb6175757ea6c1a46a4ffd4bc
table: fix bucket empty check

Due to a typo, only 3 out of 4 keys in the bucket of the exact match
table were considered, which can result in valid keys being
incorrectly dropped from the table.

Fixes: d0a00966618ba ("table: add exact match SWX table")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/table/rte_swx_table_em.c