mbox

[0/4] Have event adapters report idle status

Message ID 20221010145406.118880-1-mattias.ronnblom@ericsson.com (mailing list archive)
Headers

Message

Mattias Rönnblom Oct. 10, 2022, 2:54 p.m. UTC
  This series updates the event adapters' service functions to report
back to the service cores framework, whether or not any useful work
was performed. This in turn makes it possible to use the service core
statistics to compute service lcore load (i.e., the fraction of time
its EAL thread is doing something useful).

This patchset does not affect scenarios where the event device has
internal ports for relaying packets from the NIC into the scheduler
(and vice versa), and thus no service core is required.

Mattias Rönnblom (4):
  eventdev: have crypto adapter appropriately report idle
  eventdev: have ethernet Rx adapter appropriately report idle
  eventdev: have ethernet Tx adapter appropriately report idle
  eventdev: have timer adapter appropriately report idle

 lib/eventdev/rte_event_crypto_adapter.c | 12 ++++--
 lib/eventdev/rte_event_eth_rx_adapter.c | 56 ++++++++++++++++++-------
 lib/eventdev/rte_event_eth_tx_adapter.c | 13 ++++--
 lib/eventdev/rte_event_timer_adapter.c  |  3 +-
 4 files changed, 60 insertions(+), 24 deletions(-)