Re: [dpdk-dev] [PATCH v8 1/6] efd: new Elastic Flow Distributor library

2017-01-18 Thread Thomas Monjalon
rishna > > Subject: Re: [dpdk-dev] [PATCH v8 1/6] efd: new Elastic Flow Distributor > > library > > > > 2017-01-17 22:23, Pablo de Lara: > > > +# this lib depends upon: > > > +DEPDIRS-$(CONFIG_RTE_LIBRTE_EFD) += lib/librte_eal > > > +DEPD

Re: [dpdk-dev] [PATCH v8 1/6] efd: new Elastic Flow Distributor library

2017-01-18 Thread De Lara Guarch, Pablo
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > Sent: Wednesday, January 18, 2017 6:56 PM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org; Marohn, Byron; Edupuganti, Saikrishna > Subject: Re: [dpdk-dev] [PATCH v8 1/6] efd: new Elasti

Re: [dpdk-dev] [PATCH v8 1/6] efd: new Elastic Flow Distributor library

2017-01-18 Thread Thomas Monjalon
2017-01-17 22:23, Pablo de Lara: > +# this lib depends upon: > +DEPDIRS-$(CONFIG_RTE_LIBRTE_EFD) += lib/librte_eal > +DEPDIRS-$(CONFIG_RTE_LIBRTE_EFD) += lib/librte_ring It depends also on rte_hash. Pablo, I think you know this library ;) I will fix it for you. > +#include > +#include

[dpdk-dev] [PATCH v8 1/6] efd: new Elastic Flow Distributor library

2017-01-17 Thread Pablo de Lara
Elastic Flow Distributor (EFD) is a distributor library that uses perfect hashing to determine a target/value for a given incoming flow key. It has the following advantages: - First, because it uses perfect hashing, it does not store the key itself and hence lookup performance is not dependent