examples/flow_distributor: new example to demonstrate EFD
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 17 Jan 2017 22:23:54 +0000 (22:23 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Jan 2017 19:54:18 +0000 (20:54 +0100)
commit39aad0e88c583c3e47cdc9729ae801d4769970fe
treea5201aff053542a995bfe488957c36c3ce73cabf
parent0e925aef2779445ea5e61b528f33b45f55a3e671
examples/flow_distributor: new example to demonstrate EFD

This new sample app, based on the client/server sample app,
shows the user an scenario using the EFD library.
It consists of:

- A front-end server which has an EFD table that stores the
  node id for each flow key, which will distribute the incoming
  packets to the different nodes

- A back-end node, which has a hash table where node checks,
  after reading packets coming from the server, whether the packet
  is meant to be used in such node, in which case it will be TXed,
  or not, in which case, packet will be dropped.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Acked-by: Christian Maciocco <christian.maciocco@intel.com>
13 files changed:
MAINTAINERS
doc/api/examples.dox
examples/Makefile
examples/flow_distributor/Makefile [new file with mode: 0644]
examples/flow_distributor/distributor/Makefile [new file with mode: 0644]
examples/flow_distributor/distributor/args.c [new file with mode: 0644]
examples/flow_distributor/distributor/args.h [new file with mode: 0644]
examples/flow_distributor/distributor/init.c [new file with mode: 0644]
examples/flow_distributor/distributor/init.h [new file with mode: 0644]
examples/flow_distributor/distributor/main.c [new file with mode: 0644]
examples/flow_distributor/node/Makefile [new file with mode: 0644]
examples/flow_distributor/node/node.c [new file with mode: 0644]
examples/flow_distributor/shared/common.h [new file with mode: 0644]