From: Thomas Monjalon <thomas@monjalon.net>
To: Harry van Haaren <harry.van.haaren@intel.com>,
david.marchand@redhat.com, bruce.richardson@intel.com,
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
Chaoyong He <chaoyong.he@corigine.com>,
Niklas Soderlund <niklas.soderlund@corigine.com>
Cc: ferruh.yigit@amd.com, dev@dpdk.org,
Tyler Retzlaff <roretzla@linux.microsoft.com>
Subject: drivers use of service cores
Date: Tue, 05 Sep 2023 17:40:24 +0200 [thread overview]
Message-ID: <6541993.tM3a2QDmDi@thomas> (raw)
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?
next reply other threads:[~2023-09-05 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-05 15:40 Thomas Monjalon [this message]
2023-09-15 12:59 ` drivers use of service cores Van Haaren, Harry
2023-09-15 13:54 ` Morten Brørup
2023-09-15 15:33 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6541993.tM3a2QDmDi@thomas \
--to=thomas@monjalon.net \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=bruce.richardson@intel.com \
--cc=chaoyong.he@corigine.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=harry.van.haaren@intel.com \
--cc=niklas.soderlund@corigine.com \
--cc=roretzla@linux.microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.