From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 97D7CB39D for ; Tue, 16 Sep 2014 14:08:24 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 16 Sep 2014 05:13:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,534,1406617200"; d="scan'208";a="600322873" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 16 Sep 2014 05:13:32 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s8GCDWla020131; Tue, 16 Sep 2014 13:13:32 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s8GCDVMW016897; Tue, 16 Sep 2014 13:13:31 +0100 Received: (from reshmapa@localhost) by sivswdev02.ir.intel.com with id s8GCDVrS016893; Tue, 16 Sep 2014 13:13:31 +0100 From: reshmapa To: dev@dpdk.org Date: Tue, 16 Sep 2014 13:13:24 +0100 Message-Id: <1410869607-16842-1-git-send-email-reshma.pattan@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/3] distributor_app: new sample application for distributor library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 12:08:25 -0000 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