From: "Etelson, Gregory" <getelson@nvidia.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: Gregory Etelson <getelson@nvidia.com>,
"Van Haaren, Harry" <harry.van.haaren@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>,
"owen.hilyard@unh.edu" <owen.hilyard@unh.edu>
Subject: Re: [PATCH] rust: RFC/demo of safe API for Dpdk Eal, Eth and Rxq
Date: Fri, 2 May 2025 15:46:09 +0300 (IDT) [thread overview]
Message-ID: <a1161f7d-1a55-6200-7440-d615d5a41a6c@nvidia.com> (raw)
In-Reply-To: <aBMmUZ2RDSXQOHXg@bricha3-mobl1.ger.corp.intel.com>
Hello Bruce,
> Thanks for sharing. However, IMHO using EAL for thread management in rust
> is the wrong interface to expose.
EAL is a singleton object in DPDK architecture.
I see it as a hub for other resources.
Following that idea, the EAL structure can be divided to hold the
"original" resources inherited from librte_eal and new resources
introduced in Rust EAL.
> Instead, I believe we should be
> encouraging native rust thread management, and not exposing any DPDK
> threading APIs except those necessary to have rust threads work with DPDK,
> i.e. with an lcore ID. Many years ago when DPDK started, and in the C
> world, having DPDK as a runtime environment made sense, but times have
> changed and for Rust, there is a whole ecosystem out there already that we
> need to "play nice with", so having Rust (not DPDK) do all thread
> management is the way to go (again IMHO).
>
I'm not sure what exposed DPDK API you refer to.
Regards,
Gregory
next prev parent reply other threads:[~2025-05-02 12:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-17 15:10 Harry van Haaren
2025-04-17 18:58 ` Etelson, Gregory
2025-04-18 11:40 ` Van Haaren, Harry
2025-04-20 8:57 ` Gregory Etelson
2025-04-24 16:06 ` Van Haaren, Harry
2025-04-27 18:50 ` Etelson, Gregory
2025-04-30 18:28 ` Gregory Etelson
2025-05-01 7:44 ` Bruce Richardson
2025-05-02 12:46 ` Etelson, Gregory [this message]
2025-05-02 13:58 ` Van Haaren, Harry
2025-05-02 15:41 ` Gregory Etelson
2025-05-02 15:57 ` Bruce Richardson
2025-05-03 17:13 ` Owen Hilyard
2025-04-18 13:23 ` [PATCH 1/3] " Harry van Haaren
2025-04-18 13:23 ` [PATCH 2/3] rust: split main into example, refactor to lib.rs Harry van Haaren
2025-04-18 13:23 ` [PATCH 3/3] rust: showcase port Rxq return for stop() and reconfigure Harry van Haaren
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=a1161f7d-1a55-6200-7440-d615d5a41a6c@nvidia.com \
--to=getelson@nvidia.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=harry.van.haaren@intel.com \
--cc=owen.hilyard@unh.edu \
/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 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).