DPDK usage discussions
 help / color / mirror / Atom feed
* rte_eal_remote_launch or pthread_create on main lcore
@ 2023-04-13 13:28 Antonio Di Bacco
  2023-04-13 23:50 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Di Bacco @ 2023-04-13 13:28 UTC (permalink / raw)
  To: users

My main lcore is sitting there just waiting for some message to do
non-real time things.
I would like to launch a thread on main lcore.
I could use a pthread or rte_eal thread, which one would you recommend?

Regards,
Anna

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

* Re: rte_eal_remote_launch or pthread_create on main lcore
  2023-04-13 13:28 rte_eal_remote_launch or pthread_create on main lcore Antonio Di Bacco
@ 2023-04-13 23:50 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2023-04-13 23:50 UTC (permalink / raw)
  To: Antonio Di Bacco; +Cc: users

On Thu, 13 Apr 2023 15:28:49 +0200
Antonio Di Bacco <a.dibacco.ks@gmail.com> wrote:

> My main lcore is sitting there just waiting for some message to do
> non-real time things.
> I would like to launch a thread on main lcore.
> I could use a pthread or rte_eal thread, which one would you recommend?
> 
> Regards,
> Anna

If you don't need the main lcore, then just dont pass SKIP_MASTER flag
or have main lcore wait for the workers to exit.

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

end of thread, other threads:[~2023-04-13 23:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-13 13:28 rte_eal_remote_launch or pthread_create on main lcore Antonio Di Bacco
2023-04-13 23:50 ` 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).