From patchwork Wed Jun 27 10:55:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rao, Nikhil" X-Patchwork-Id: 41651 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A3E11BDFE; Wed, 27 Jun 2018 12:55:52 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 98BFB1BB92 for ; Wed, 27 Jun 2018 12:55:50 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2018 03:55:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,278,1526367600"; d="scan'208";a="52634787" Received: from unknown (HELO localhost.localdomain.localdomain) ([10.224.122.193]) by orsmga008.jf.intel.com with ESMTP; 27 Jun 2018 03:55:48 -0700 From: Nikhil Rao To: jerin.jacob@caviumnetworks.com Cc: nikhil.rao@intel.com, dev@dpdk.org Date: Wed, 27 Jun 2018 16:25:33 +0530 Message-Id: <1530096938-71399-1-git-send-email-nikhil.rao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1528481718-7241-1-git-send-email-nikhil.rao@intel.com> References: <1528481718-7241-1-git-send-email-nikhil.rao@intel.com> Subject: [dpdk-dev] [PATCH v2 0/5] eventdev: add interrupt driven queues to Rx adapter 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch series adds support for interrupt driven queues to the ethernet Rx adapter, the first 3 patches prepare the code to handle both poll and interrupt driven Rx queues, the 4th patch patch has code changes specific to interrupt driven queues and the final patch has test code. Changelog: v1->v2: * move rte_service_component_runstate_set such that it is called only when cap & RTE__EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT is false. (Jerin Jacob) * Fix meson build. (Jerin Jacob) * Replace calls to pthread_* with rte_ctrl_thread_create(). (Jerin Jacob) * Move adapter test code to separate patch. (Jerin Jacob) Note: I haven't removed the note about devices created rte_event_eth_rx_adapter_create, will fix in a separate patch. Nikhil Rao (5): eventdev: standardize Rx adapter internal function names eventdev: improve err handling for Rx adapter queue add/del eventdev: move Rx adapter eth Rx to separate function eventdev: add interrupt driven queues to Rx adapter eventdev: add Rx adapter tests for interrupt driven queues config/rte_config.h | 1 + lib/librte_eventdev/rte_event_eth_rx_adapter.h | 5 +- lib/librte_eventdev/rte_event_eth_rx_adapter.c | 1509 +++++++++++++++++--- test/test/test_event_eth_rx_adapter.c | 261 +++- .../prog_guide/event_ethernet_rx_adapter.rst | 24 + config/common_base | 1 + lib/librte_eventdev/Makefile | 2 +- 7 files changed, 1565 insertions(+), 238 deletions(-)