Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues
From: Nipun Gupta <hidden>
Date: 2017-07-24 11:37:26
-----Original Message----- From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] Sent: Monday, July 24, 2017 15:54 To: Nipun Gupta <redacted> Cc: Nikhil Rao <redacted>; gage.eads@intel.com; dev@dpdk.org; thomas@monjalon.net; bruce.richardson@intel.com; harry.van.haaren@intel.com; Hemant Agrawal [off-list ref]; narender.vangati@intel.com; Abhinandan Gujjar [off-list ref] Subject: Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues -----Original Message-----quoted
Date: Mon, 24 Jul 2017 10:10:50 +0000 From: Nipun Gupta <redacted> To: Nikhil Rao <redacted>, "jerin.jacob@caviumnetworks.com" [off-list ref] CC: "gage.eads@intel.com" <redacted>, "dev@dpdk.org" [off-list ref], "thomas@monjalon.net" [off-list ref], "bruce.richardson@intel.com" [off-list ref], "harry.van.haaren@intel.com" [off-list ref], HemantAgrawalquoted
[off-list ref], "narender.vangati@intel.com" [off-list ref], Abhinandan Gujjar [off-list ref] 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_funcquoted
it seems that this indeed will not fit with the cases where ethdev is capable ofenqueing packetsquoted
to the eventdev (as was mentioned in Jerin's first RFC). In case of hardware based eventdev and queues, these function should alsoinvoke respective PMDquoted
HW configs. e.g. In queue case - rte_eventdev and rte_ethdev - both PMDs athw level shall be configured.quoted
A typical eventdev hardware will require queues of eth devices will beconfigured to directly attach toquoted
eventdev in the hardware. Mapping it to NXP eventdev, enabling this functionality requires someconfiguration where dev privatequoted
information of both the devices (event dev and eth dev) is required at the sametime,quoted
and the final configuration is provided via eth device to H/W. So, this requireinter 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.
Yes! That could be done to resolve PMD interdependencies.
quoted
Jerin, I have an impression that Cavium hardware has H/W capability to injectpackets from Ethernetquoted
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.
This looks great :). Somehow missed them. Thanks, Nipun
quoted
Thanks, Nipun