DPDK patches and discussions
 help / color / mirror / Atom feed
* drivers use of service cores
@ 2023-09-05 15:40 Thomas Monjalon
  2023-09-15 12:59 ` Van Haaren, Harry
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2023-09-05 15:40 UTC (permalink / raw)
  To: Harry van Haaren, david.marchand, bruce.richardson,
	Andrew Rybchenko, Chaoyong He, Niklas Soderlund
  Cc: ferruh.yigit, dev, Tyler Retzlaff

Hello,

I think we can improve the developer experience for using service cores
from a driver, like finding or allocating a service core.
We may take some code and ideas from sfc and nfp drivers,
like in these functions:
	nfp_map_service()
	sfc_mae_counter_service_register()
	sfc_get_service_lcore()

If it is not possible to use a service core,
we could default to using a control thread.
So the driver would never fail because of a thread initialization.

What do you think about proposing such a high level API
in order to get more drivers using it?



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

end of thread, other threads:[~2023-09-15 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05 15:40 drivers use of service cores Thomas Monjalon
2023-09-15 12:59 ` Van Haaren, Harry
2023-09-15 13:54   ` Morten Brørup
2023-09-15 15:33     ` Stephen Hemminger

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).