DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: Ciara Loftus <ciara.loftus@intel.com>,
	dev@dpdk.org,  Thomas Monjalon <thomas@monjalon.net>
Subject: Re: [RFC 0/3] ethdev: introduce device reinitialisation API
Date: Mon, 5 Jan 2026 09:17:13 +0100	[thread overview]
Message-ID: <CAJFAV8xgmnc6Cmo5zsxvkDOHzHFXk+YrT19QQc5_Sci-_cEevg@mail.gmail.com> (raw)
In-Reply-To: <20251222171605.706e9f62@phoenix.local>

Hello,

On Tue, 23 Dec 2025 at 02:16, Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> On Fri, 17 Oct 2025 11:11:06 +0000
> Ciara Loftus <ciara.loftus@intel.com> wrote:
>
> > This RFC arose from a discussion [1] around whether a generic API that
> > performs device reset and reinitialisation would be useful. While the
> > net effect of a call to such an API can be achieved with a sequence of
> > calls to existing APIs (reset, configure, rx/tx queue_setup), the
> > benefit of encapsulating this all under one API is twofold:
> > 1. the burden is taken off the user for supplying the device
> > configuration in the call, we use the existing device conf under the
> > hood and only need the port_id as input.
> > 2. it can prevent potential unnecessary/repeat reconfiguration steps.
> > The PMD dev_reinit ops will only perform the necessary reconfiguration
> > steps after the device reset.
> >
> > Patch 1 implements the API, Patch 2 implements one example of the reinit
> > op for the iavf driver and Patch 3 integrates the API into testpmd.
> >
> > [1] https://mails.dpdk.org/archives/dev/2025-October/325386.html
> >
> > Ciara Loftus (3):
> >   ethdev: introduce device reinitialisation API
> >   net/iavf: implement device reinitialisation callback
> >   app/testpmd: support port reinitialisation
>
>
> It is reasonable idea, but unfortunately eth_dev_ops is likely exposed enough
> to applications that it could be an ABI change.

eth_dev_ops is opaque to applications.
We don't guarantee driver ABI.


-- 
David Marchand


      reply	other threads:[~2026-01-05  8:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-17 11:11 Ciara Loftus
2025-10-17 11:11 ` [RFC 1/3] " Ciara Loftus
2025-10-17 11:11 ` [RFC 2/3] net/iavf: implement device reinitialisation callback Ciara Loftus
2025-10-17 11:11 ` [RFC 3/3] app/testpmd: support port reinitialisation Ciara Loftus
2025-12-23  1:16 ` [RFC 0/3] ethdev: introduce device reinitialisation API Stephen Hemminger
2026-01-05  8:17   ` David Marchand [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:
  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=CAJFAV8xgmnc6Cmo5zsxvkDOHzHFXk+YrT19QQc5_Sci-_cEevg@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=ciara.loftus@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /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).