From mboxrd@z Thu Jan 1 00:00:00 1970 From: reshmapa Subject: [PATCH 0/3] distributor_app: new sample application for distributor library Date: Tue, 16 Sep 2014 13:13:24 +0100 Message-ID: <1410869607-16842-1-git-send-email-reshma.pattan@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" From: Reshma Pattan A new sample app that shows the usage of the distributor library. This app works as follows: *An RX thread runs which pulls packets from each ethernet port in turn and passes those packets to worker using a distributor component. *The workers take the packets in turn, and determine the output port for those packets using basic l2forwarding doing an xor on the source port id. *The RX thread takes the returned packets from the workers and enqueue those packets into an rte_ring structure. *A TX thread pulls the packets off the rte_ring structure and then sends each packet out the output port specified previously by the worker Bruce Richardson (1): distributor_app: new sample app Reshma Pattan (2): distributor_app: code review comments implementation distributor_app: removed extra spaces examples/Makefile | 1 + examples/distributor_app/Makefile | 57 ++++ examples/distributor_app/main.c | 586 ++++++++++++++++++++++++++++++++++++++ examples/distributor_app/main.h | 46 +++ 4 files changed, 690 insertions(+) create mode 100644 examples/distributor_app/Makefile create mode 100644 examples/distributor_app/main.c create mode 100644 examples/distributor_app/main.h -- 1.8.3.1