Thread (41 messages) 41 messages, 6 authors, 2017-09-04

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], Hemant
Agrawal
quoted
 [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_func
quoted
it seems that this indeed will not fit with the cases where ethdev is capable of
enqueing packets
quoted
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
quoted
HW configs. e.g. In queue case - rte_eventdev and rte_ethdev - both PMDs at
hw level shall be configured.
quoted
A typical eventdev hardware will require queues of eth devices will be
configured to directly attach to
quoted
eventdev in the hardware.

Mapping it to NXP eventdev, enabling this functionality requires some
configuration where dev private
quoted
information of both the devices (event dev and eth dev) is required at the same
time,
quoted
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.
Yes! That could be done to resolve PMD interdependencies.
quoted
Jerin,

I have an impression that Cavium hardware has H/W capability to inject
packets from Ethernet
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help