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 9A843CF90 for ; Fri, 24 Mar 2017 17:53:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490374394; x=1521910394; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=z+89qwI2eXQVHufVTxgMiW+Nzkog+EHCIBt5DnV4tJs=; b=kAt7uBY1t82WOwZTpcD3YiHqr7zt8J+xwqEXV58RSx5Ersj+0fmKX7nk p0sr3dTY1UPX+DZXrSHdZ7Cc04yjBg==; Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2017 09:53:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,215,1486454400"; d="scan'208";a="70349064" Received: from silpixa00398672.ir.intel.com ([10.237.223.128]) by orsmga004.jf.intel.com with ESMTP; 24 Mar 2017 09:53:11 -0700 From: Harry van Haaren To: dev@dpdk.org Cc: jerin.jacob@caviumnetworks.com, Harry van Haaren Date: Fri, 24 Mar 2017 16:52:55 +0000 Message-Id: <1490374395-149320-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <489175012-101439-1-git-send-email-harry.van.haaren@intel.com> References: <489175012-101439-1-git-send-email-harry.van.haaren@intel.com> Subject: [dpdk-dev] [PATCH v5 00/20] 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: Fri, 24 Mar 2017 16:53:15 -0000 The following patchset adds software eventdev implementation to the next-eventdev tree. v5 changes include; - Rebased to latest git head (app/ to test/ move) - New patch 01 reworks eventdev common unit test to return -ENOTSUP - Reworked test patch into smaller patches for review - Fixed compilation checks for clang (double const) and old gcc versions - Resolved 32 bit printf() of uint64_t's using PRIu64 - Removed patches from patchset that have been applied - Added docs patch for eventdev SW PMD - Claiming maintainership of SW PMD There are 7 checkpatch warnings, - 2 complex macros (cannot be resolved) - 4 long lines (resolving makes code more obfuscated) - 1 unecessary else (false positive) Cheers, -Harry Bruce Richardson (12): event/sw: add new software-only eventdev driver event/sw: add device capabilities function 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 Harry van Haaren (8): test/eventdev: pass timeout ticks unsupported test/eventdev: add SW test infrastructure test/eventdev: add basic SW tests test/eventdev: add SW tests for load balancing test/eventdev: add SW xstats tests test/eventdev: add SW deadlock tests doc: add event device and software eventdev maintainers: add eventdev section and claim SW PMD MAINTAINERS | 9 + config/common_base | 6 + doc/guides/eventdevs/index.rst | 40 + doc/guides/eventdevs/sw.rst | 148 ++ doc/guides/index.rst | 1 + drivers/event/Makefile | 1 + drivers/event/sw/Makefile | 69 + drivers/event/sw/event_ring.h | 185 ++ drivers/event/sw/iq_ring.h | 176 ++ drivers/event/sw/rte_pmd_evdev_sw_version.map | 3 + drivers/event/sw/sw_evdev.c | 818 +++++++ drivers/event/sw/sw_evdev.h | 318 +++ drivers/event/sw/sw_evdev_scheduler.c | 602 +++++ drivers/event/sw/sw_evdev_worker.c | 188 ++ drivers/event/sw/sw_evdev_xstats.c | 674 ++++++ mk/rte.app.mk | 1 + test/test/Makefile | 5 +- test/test/autotest_data.py | 26 + test/test/test_eventdev.c | 5 +- test/test/test_eventdev_sw.c | 3185 +++++++++++++++++++++++++ 20 files changed, 6457 insertions(+), 3 deletions(-) create mode 100644 doc/guides/eventdevs/index.rst create mode 100644 doc/guides/eventdevs/sw.rst 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 create mode 100644 test/test/test_eventdev_sw.c -- 2.7.4