vppinfra: add defines for bihash add and delete 71/30971/2
authorPaul Atkins <patkins@graphiant.com>
Tue, 19 Jan 2021 15:22:23 +0000 (15:22 +0000)
committerDave Barach <openvpp@barachs.net>
Mon, 1 Feb 2021 17:20:32 +0000 (17:20 +0000)
commit2ac41357bc15dce578f67d53c25f2de357185e71
tree9a140bee266b1b695041845f24534e2a17177696
parent21ed5e8adeca5366073c750572b089f7656f845a
vppinfra: add defines for bihash add and delete

When calling the bihash_add_del... functions some callers add a comment
beside the value to indicate this is the is_add param. Make the code
easier to read by adding defines for add and delete that the callers
can use instead of having to use 0 or 1.

Type: improvement
Signed-off-by: Paul Atkins <patkins@graphiant.com>
Change-Id: Iab5f7c8e8df12ac62fc7e726ca1798622dcdb42c
src/vppinfra/bihash_doc.h
src/vppinfra/bihash_template.h