DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Alireza Sadeghpour <alireza0101sadeghpour@gmail.com>
Cc: users@dpdk.org
Subject: Re: How to configure ethernet controller registers in the dpdk environment
Date: Sat, 14 Oct 2023 09:37:17 -0700	[thread overview]
Message-ID: <20231014093717.22e70ceb@hermes.local> (raw)
In-Reply-To: <CAA=oK3PBTE2Q50Eiv+kAEOqThBSQ2-n14URLvAWHWZg85auEzg@mail.gmail.com>

On Sat, 14 Oct 2023 18:32:24 +0330
Alireza Sadeghpour <alireza0101sadeghpour@gmail.com> wrote:

>  <https://stackoverflow.com/posts/77293257/timeline>
> Hi,
> I am trying to set some registers of the ethernet controller in the DPDK
> environment, but I can't find the corresponding API to do this. is there
> any API in the DPDK library for configuring the ethernet controller
> registers?

There is intentionally no API to set registers of ethernet controller.
All the configuration should be done in the Poll Mode Driver (PMD).
If you need custom configuration, it means adapting the PMD and ideally
making it part of the configuration settings and upstreaming so it
doesn't get broken in next release.

      reply	other threads:[~2023-10-14 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-14 15:02 Alireza Sadeghpour
2023-10-14 16:37 ` Stephen Hemminger [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231014093717.22e70ceb@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=alireza0101sadeghpour@gmail.com \
    --cc=users@dpdk.org \


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