From patchwork Thu Jun 6 18:29:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Varghese, Vipin" X-Patchwork-Id: 54517 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 C03461B958; Thu, 6 Jun 2019 20:29:27 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4EA251B94E for ; Thu, 6 Jun 2019 20:29:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2019 11:29:23 -0700 X-ExtLoop1: 1 Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by orsmga005.jf.intel.com with ESMTP; 06 Jun 2019 11:29:19 -0700 From: Vipin Varghese To: marko.kovacevic@intel.com, john.mcnamara@intel.com, jerinj@marvell.com, harry.van.haaren@intel.com, keith.wiles@intel.com, gage.eads@intel.com, dev@dpdk.org Cc: sanjay.padubidri@intel.com, narender.vangati@intel.com, ilia.kurakin@intel.com, Vipin Varghese Date: Thu, 6 Jun 2019 23:59:55 +0530 Message-Id: <20190606182957.56596-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v1 0/2] event enqueue-dequeue callback handler 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" The patch series is an attempt to add callback handlers to event device. Motivation ========== Allow user to debug and modify the event list in event device enqueue-dequeue stages. The enqueue stage is modified to allow user handler to be invoked prior to actual device enqueue. The dequeue stage is modified to allow user handler to be invoked post to actual device dequeue. Status ====== The new APIs are added as experimental. Change Log: ========== Vipin Varghese (2): lib/event: add callback handlers for event examples/event: add callback handle config/common_base | 1 + examples/eventdev_pipeline/main.c | 49 +++ lib/librte_eventdev/rte_eventdev.c | 361 +++++++++++++++++++ lib/librte_eventdev/rte_eventdev.h | 267 +++++++++++++- lib/librte_eventdev/rte_eventdev_version.map | 8 + 5 files changed, 682 insertions(+), 4 deletions(-)