From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 584771094 for ; Mon, 16 Jan 2017 16:41:07 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP; 16 Jan 2017 07:41:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,239,1477983600"; d="scan'208";a="213946902" Received: from silpixa00398672.ir.intel.com ([10.237.223.128]) by fmsmga004.fm.intel.com with ESMTP; 16 Jan 2017 07:41:05 -0800 From: Harry van Haaren To: jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Harry van Haaren Date: Mon, 16 Jan 2017 15:40:40 +0000 Message-Id: <1484581255-148720-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 00/15] next-eventdev: event/sw Software Eventdev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 15:41:07 -0000 The following patchset adds software eventdev implementation to the next-eventdev tree, and applies to current git HEAD. This implementation is based on the previous software eventdev RFC patchset[1], updated to integrate with the latest rte_eventdev.h API. The first two patches make changes to the eventdev API, then the software implementation is added, and finally tests are added for the sw eventdev implementation. This patchset contains the work of multiple developers, please see signoffs on each patch. Signed-off-by: Harry van Haaren [1] http://dpdk.org/ml/archives/dev/2016-November/050285.html Bruce Richardson (15): eventdev: remove unneeded dependencies eventdev: add APIs for extended stats event/sw: add new software-only eventdev driver event/sw: add function to return device capabilities event/sw: add configure function event/sw: add fns to return default port/queue config event/sw: add support for event queues event/sw: add support for event ports event/sw: add support for linking queues to ports event/sw: add worker core functions event/sw: add scheduling logic event/sw: add start, stop and close functions event/sw: add dump function for easier debugging event/sw: add xstats support app/test: add unit tests for SW eventdev driver app/test/Makefile | 5 +- app/test/test_sw_eventdev.c | 2031 +++++++++++++++++++++++++ config/common_base | 5 + drivers/event/Makefile | 1 + drivers/event/sw/Makefile | 70 + drivers/event/sw/event_ring.h | 179 +++ drivers/event/sw/iq_ring.h | 176 +++ drivers/event/sw/rte_pmd_evdev_sw_version.map | 3 + drivers/event/sw/sw_evdev.c | 709 +++++++++ drivers/event/sw/sw_evdev.h | 287 ++++ drivers/event/sw/sw_evdev_scheduler.c | 586 +++++++ drivers/event/sw/sw_evdev_worker.c | 169 ++ drivers/event/sw/sw_evdev_xstats.c | 401 +++++ lib/librte_eventdev/Makefile | 1 - lib/librte_eventdev/rte_eventdev.c | 64 + lib/librte_eventdev/rte_eventdev.h | 80 +- lib/librte_eventdev/rte_eventdev_pmd.h | 58 + lib/librte_eventdev/rte_eventdev_version.map | 3 + mk/rte.app.mk | 1 + 19 files changed, 4825 insertions(+), 4 deletions(-) create mode 100644 app/test/test_sw_eventdev.c create mode 100644 drivers/event/sw/Makefile create mode 100644 drivers/event/sw/event_ring.h create mode 100644 drivers/event/sw/iq_ring.h create mode 100644 drivers/event/sw/rte_pmd_evdev_sw_version.map create mode 100644 drivers/event/sw/sw_evdev.c create mode 100644 drivers/event/sw/sw_evdev.h create mode 100644 drivers/event/sw/sw_evdev_scheduler.c create mode 100644 drivers/event/sw/sw_evdev_worker.c create mode 100644 drivers/event/sw/sw_evdev_xstats.c -- 2.7.4