From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nipun Gupta Subject: Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues Date: Mon, 24 Jul 2017 11:37:24 +0000 Message-ID: References: <29140c16-909a-1b9a-7391-481f900bd13c@intel.com> <1499377952-5306-1-git-send-email-nikhil.rao@intel.com> <20170724102417.GA14354@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: Jerin Jacob Return-path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0085.outbound.protection.outlook.com [104.47.2.85]) by dpdk.org (Postfix) with ESMTP id E42CB7CF9 for ; Mon, 24 Jul 2017 13:37:26 +0200 (CEST) In-Reply-To: <20170724102417.GA14354@jerin> Content-Language: en-US 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----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Monday, July 24, 2017 15:54 > To: Nipun Gupta > 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 > > Subject: Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queu= es >=20 > -----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 qu= eues > > > > 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 c= apable 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 al= so > invoke respective PMD > > HW configs. e.g. In queue case - rte_eventdev and rte_ethdev - both PMD= s 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. >=20 > Just like dpaa2 bus layer functions used in another subsystems. You > can export a function from ethdev dpaa2 to eventdev dpaa2 for ethdev rx q= ueue > to eventdev queue connection. Yes! That could be done to resolve PMD interdependencies. >=20 > > > > 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? >=20 > Please check the latest review comments on this patch set > http://dpdk.org/dev/patchwork/patch/26534/. >=20 > Nikhil is changing ops(function pointer) based approach. With that HW > support can be added. This looks great :). Somehow missed them. Thanks, Nipun >=20 > > > > Thanks, > > Nipun > >