Re: [dpdk-dev] [PATCH 0/7] Add Membership Library

2017-08-22 Thread Wang, Yipeng1
Hi Stephen, Thanks for the comments. We will remove the needless return initialization in next version. For the unified API concern, we think the current implementation has two benefits: 1. It is easier to extend the library with new types of filters without adding a lot of top level APIs every

Re: [dpdk-dev] [PATCH 0/7] Add Membership Library

2017-08-21 Thread Stephen Hemminger
On Mon, 21 Aug 2017 17:19:46 -0700 Yipeng Wang wrote: > This patch set implements two types of set-summaries, i.e., hash-table based > set-summary (HTSS) and Vector Bloom Filter (vBF). HTSS supports both the > non-cache and cache modes. The non-cache mode can incur a small chance of > false-posit

[dpdk-dev] [PATCH 0/7] Add Membership Library

2017-08-21 Thread Yipeng Wang
DPDP Membership Library provides an API that can be used by many DPDK applications to conduct one or more set-membership tests (we mention some possible use cases below, but interested readers can refer to [1] for a wider survey of use cases). The basic functionalities of the Membership Library in