DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v5 0/5] eventdev: add interrupt driven queues to Rx adapter
@ 2018-07-02  9:11 Nikhil Rao
  2018-07-02  9:11 ` [dpdk-dev] [PATCH v5 1/5] eventdev: standardize Rx adapter internal function names Nikhil Rao
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Nikhil Rao @ 2018-07-02  9:11 UTC (permalink / raw)
  To: jerin.jacob; +Cc: nikhil.rao, dev

This patch series adds support for interrupt driven queues to the
ethernet Rx adapter, the first 3 patches prepare the code to
handle both poll and interrupt driven Rx queues, the 4th patch
patch has code changes specific to interrupt driven queues and
the final patch has test code.

Changelog:

v4->v5:
* Fix meson build breakage

v3->v4:

* Fix FreeBSD build breakage.

v2->v3:

* Fix shared build breakage.

* Fix FreeBSD build breakage.

* Reduce epoll maxevents parameter by 1, since thread wakeup
  uses pthread_cancel as opposed to an exit message through a
  file monitored by epoll_wait().

* Check intr_handle before access, it is NULL when zero Rx queue
  interrupts are configured.

* Remove thread_stop flag, in the event of a pthread_cancel, it is
  not possible to check this flag thread stack is unwound without
  returning to rxa_intr_thread.

v1->v2:

* Move rte_service_component_runstate_set such that it
  is called only when cap & RTE__EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT
  is false. (Jerin Jacob)

* Fix meson build. (Jerin Jacob)

* Replace calls to pthread_* with rte_ctrl_thread_create().
  (Jerin Jacob)

* Move adapter test code to separate patch. (Jerin Jacob)

Note: I haven't removed the note about devices created
rte_event_eth_rx_adapter_create, will fix in a separate patch.

Nikhil Rao (5):
  eventdev: standardize Rx adapter internal function names
  eventdev: improve err handling for Rx adapter queue add/del
  eventdev: move Rx adapter eth Rx to separate function
  eventdev: add interrupt driven queues to Rx adapter
  eventdev: add Rx adapter tests for interrupt driven queues

 config/rte_config.h                                |    1 +
 lib/librte_eventdev/rte_event_eth_rx_adapter.h     |    5 +-
 lib/librte_eventdev/rte_event_eth_rx_adapter.c     | 1526 +++++++++++++++++---
 test/test/test_event_eth_rx_adapter.c              |  261 +++-
 .../prog_guide/event_ethernet_rx_adapter.rst       |   24 +
 config/common_base                                 |    1 +
 lib/librte_eventdev/Makefile                       |    9 +-
 lib/librte_eventdev/meson.build                    |    9 +-
 8 files changed, 1596 insertions(+), 240 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-06  5:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-02  9:11 [dpdk-dev] [PATCH v5 0/5] eventdev: add interrupt driven queues to Rx adapter Nikhil Rao
2018-07-02  9:11 ` [dpdk-dev] [PATCH v5 1/5] eventdev: standardize Rx adapter internal function names Nikhil Rao
2018-07-02  9:11 ` [dpdk-dev] [PATCH v5 2/5] eventdev: improve err handling for Rx adapter queue add/del Nikhil Rao
2018-07-02  9:11 ` [dpdk-dev] [PATCH v5 3/5] eventdev: move Rx adapter eth Rx to separate function Nikhil Rao
2018-07-02  9:11 ` [dpdk-dev] [PATCH v5 4/5] eventdev: add interrupt driven queues to Rx adapter Nikhil Rao
2018-07-02  9:11 ` [dpdk-dev] [PATCH v5 5/5] eventdev: add Rx adapter tests for interrupt driven queues Nikhil Rao
2018-07-06  5:19 ` [dpdk-dev] [PATCH v5 0/5] eventdev: add interrupt driven queues to Rx adapter Jerin Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).