[dpdk-dev] [PATCH v9 04/18] lib: add new distributor code

Bruce Richardson bruce.richardson at intel.com
Fri Mar 10 17:03:54 CET 2017


On Mon, Mar 06, 2017 at 09:10:19AM +0000, David Hunt wrote:
> This patch includes public header file which will be used once
> we add in the symbol versioning for v20 and v1705 APIs.
> 
> Also includes v1702 header file, and code for new

Now 1705.

> burst-capable distributor library. This will be re-named as
> rte_distributor.h later in the patch-set
> 
> 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 at intel.com>
> ---
>  lib/librte_distributor/Makefile                  |   1 +
>  lib/librte_distributor/rte_distributor.c         | 628 +++++++++++++++++++++++
>  lib/librte_distributor/rte_distributor_private.h |   7 +-
>  lib/librte_distributor/rte_distributor_v1705.h   | 269 ++++++++++
>  4 files changed, 904 insertions(+), 1 deletion(-)
>  create mode 100644 lib/librte_distributor/rte_distributor.c
>  create mode 100644 lib/librte_distributor/rte_distributor_v1705.h
> 

Minor nit, I think this patch might be squashed into the previous one,
to have new structures and code together.

/Bruce


More information about the dev mailing list