From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues Date: Mon, 24 Jul 2017 15:54:18 +0530 Message-ID: <20170724102417.GA14354@jerin> References: <29140c16-909a-1b9a-7391-481f900bd13c@intel.com> <1499377952-5306-1-git-send-email-nikhil.rao@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nikhil Rao , "gage.eads@intel.com" , "dev@dpdk.org" , "thomas@monjalon.net" , "bruce.richardson@intel.com" , "harry.van.haaren@intel.com" , Hemant Agrawal , "narender.vangati@intel.com" , Abhinandan Gujjar To: Nipun Gupta Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0051.outbound.protection.outlook.com [104.47.36.51]) by dpdk.org (Postfix) with ESMTP id 9A1CD7CC5 for ; Mon, 24 Jul 2017 12:24:44 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Mon, 24 Jul 2017 10:10:50 +0000 > From: Nipun Gupta > To: Nikhil Rao , "jerin.jacob@caviumnetworks.com" > > CC: "gage.eads@intel.com" , "dev@dpdk.org" > , "thomas@monjalon.net" , > "bruce.richardson@intel.com" , > "harry.van.haaren@intel.com" , Hemant Agrawal > , "narender.vangati@intel.com" > , Abhinandan Gujjar > > Subject: RE: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues > > Looking at the rte_event_eth_rx_adapter_queue_add & event_eth_rx_adapter_service_func > it seems that this indeed will not fit with the cases where ethdev is capable of enqueing packets > to the eventdev (as was mentioned in Jerin's first RFC). > > In case of hardware based eventdev and queues, these function should also invoke respective PMD > HW configs. e.g. In queue case - rte_eventdev and rte_ethdev - both PMDs at hw level shall be configured. > > A typical eventdev hardware will require queues of eth devices will be configured to directly attach to > eventdev in the hardware. > > Mapping it to NXP eventdev, enabling this functionality requires some configuration where dev private > information of both the devices (event dev and eth dev) is required at the same time, > and the final configuration is provided via eth device to H/W. So, this require inter device communication in DPDK. Just like dpaa2 bus layer functions used in another subsystems. You can export a function from ethdev dpaa2 to eventdev dpaa2 for ethdev rx queue to eventdev queue connection. > > Jerin, > > I have an impression that Cavium hardware has H/W capability to inject packets from Ethernet > devices to event devices? If yes, how do you plan to support it? Please check the latest review comments on this patch set http://dpdk.org/dev/patchwork/patch/26534/. Nikhil is changing ops(function pointer) based approach. With that HW support can be added. > > Thanks, > Nipun >