distributor: add new burst-capable library
authorDavid Hunt <david.hunt@intel.com>
Mon, 20 Mar 2017 10:08:27 +0000 (10:08 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Mar 2017 14:46:57 +0000 (16:46 +0200)
commit775003ad2f96c9881a00a6534518a875723978c8
tree464aefd86c2021e2ca75875ba5b3dc3cef49689d
parent66ec3e8bd2c0a3c36ef965c8efe3983d8a85621f
distributor: add new burst-capable library

This patch includes the code for new burst-capable distributor library.

It also includes the rte_distributor_next.h file which will
be used as the public header once we add in the symbol versioning
for v20 and v1705 APIs, at which stage we will rename it to
rte_distributor.h.

The new distributor code contains a very similar API to the legacy code,
but now sends bursts of up to 8 mbufs to each worker. Flow ID's are
reduced to 15 bits for an optimal flow matching algorithm.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_distributor/Makefile
lib/librte_distributor/rte_distributor.c [new file with mode: 0644]
lib/librte_distributor/rte_distributor_next.h [new file with mode: 0644]
lib/librte_distributor/rte_distributor_private.h