* [PATCH] doc: add deprecation notice about upcoming change to ethdev API
@ 2026-06-03 2:32 Stephen Hemminger
2026-07-15 9:15 ` Bruce Richardson
2026-07-21 10:07 ` David Marchand
0 siblings, 2 replies; 6+ messages in thread
From: Stephen Hemminger @ 2026-06-03 2:32 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
Inform users that rte_eth_dev_get_name_by_port() will add a size
parameter in next release.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
doc/guides/rel_notes/deprecation.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 17f90a6352..d390a1640a 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -158,3 +158,7 @@ Deprecation Notices
* net/iavf: The dynamic mbuf field used to detect LLDP packets on the
transmit path in the iavf PMD will be removed in a future release.
After removal, only packet type-based detection will be supported.
+
+* ethdev: Starting in 26.11, the function ``rte_eth_dev_get_name_by_port()``
+ will take a size parameter as well as the string buffer.
+ This will detect and prevent accidental overwriting of caller provided buffer.
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] doc: add deprecation notice about upcoming change to ethdev API
2026-06-03 2:32 [PATCH] doc: add deprecation notice about upcoming change to ethdev API Stephen Hemminger
@ 2026-07-15 9:15 ` Bruce Richardson
2026-07-21 10:07 ` David Marchand
1 sibling, 0 replies; 6+ messages in thread
From: Bruce Richardson @ 2026-07-15 9:15 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: dev
On Tue, Jun 02, 2026 at 07:32:07PM -0700, Stephen Hemminger wrote:
> Inform users that rte_eth_dev_get_name_by_port() will add a size
> parameter in next release.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
> doc/guides/rel_notes/deprecation.rst | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index 17f90a6352..d390a1640a 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -158,3 +158,7 @@ Deprecation Notices
> * net/iavf: The dynamic mbuf field used to detect LLDP packets on the
> transmit path in the iavf PMD will be removed in a future release.
> After removal, only packet type-based detection will be supported.
> +
> +* ethdev: Starting in 26.11, the function ``rte_eth_dev_get_name_by_port()``
> + will take a size parameter as well as the string buffer.
> + This will detect and prevent accidental overwriting of caller provided buffer.
> --
> 2.53.0
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] doc: add deprecation notice about upcoming change to ethdev API
2026-06-03 2:32 [PATCH] doc: add deprecation notice about upcoming change to ethdev API Stephen Hemminger
2026-07-15 9:15 ` Bruce Richardson
@ 2026-07-21 10:07 ` David Marchand
2026-07-21 10:24 ` Nithin Dabilpuram
2026-07-21 10:25 ` Jerin Jacob
1 sibling, 2 replies; 6+ messages in thread
From: David Marchand @ 2026-07-21 10:07 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: dev
On Wed, 3 Jun 2026 at 04:32, Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> Inform users that rte_eth_dev_get_name_by_port() will add a size
> parameter in next release.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David Marchand <david.marchand@redhat.com>
--
David Marchand
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] doc: add deprecation notice about upcoming change to ethdev API
2026-07-21 10:07 ` David Marchand
@ 2026-07-21 10:24 ` Nithin Dabilpuram
2026-07-22 12:57 ` Thomas Monjalon
2026-07-21 10:25 ` Jerin Jacob
1 sibling, 1 reply; 6+ messages in thread
From: Nithin Dabilpuram @ 2026-07-21 10:24 UTC (permalink / raw)
To: David Marchand; +Cc: Stephen Hemminger, dev
On Tue, Jul 21, 2026 at 3:52 PM David Marchand
<david.marchand@redhat.com> wrote:
>
> On Wed, 3 Jun 2026 at 04:32, Stephen Hemminger
> <stephen@networkplumber.org> wrote:
> >
> > Inform users that rte_eth_dev_get_name_by_port() will add a size
> > parameter in next release.
> >
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>
> Acked-by: David Marchand <david.marchand@redhat.com>
>
> --
> David Marchand
>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] doc: add deprecation notice about upcoming change to ethdev API
2026-07-21 10:07 ` David Marchand
2026-07-21 10:24 ` Nithin Dabilpuram
@ 2026-07-21 10:25 ` Jerin Jacob
1 sibling, 0 replies; 6+ messages in thread
From: Jerin Jacob @ 2026-07-21 10:25 UTC (permalink / raw)
To: David Marchand; +Cc: Stephen Hemminger, dev
On Tue, Jul 21, 2026 at 3:37 PM David Marchand
<david.marchand@redhat.com> wrote:
>
> On Wed, 3 Jun 2026 at 04:32, Stephen Hemminger
> <stephen@networkplumber.org> wrote:
> >
> > Inform users that rte_eth_dev_get_name_by_port() will add a size
> > parameter in next release.
> >
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>
> Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
>
> --
> David Marchand
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] doc: add deprecation notice about upcoming change to ethdev API
2026-07-21 10:24 ` Nithin Dabilpuram
@ 2026-07-22 12:57 ` Thomas Monjalon
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2026-07-22 12:57 UTC (permalink / raw)
To: Stephen Hemminger
Cc: David Marchand, dev, dev, Nithin Dabilpuram, Bruce Richardson
> > > Inform users that rte_eth_dev_get_name_by_port() will add a size
> > > parameter in next release.
> > >
> > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> >
> > Acked-by: David Marchand <david.marchand@redhat.com>
> Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-07-22 12:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 2:32 [PATCH] doc: add deprecation notice about upcoming change to ethdev API Stephen Hemminger
2026-07-15 9:15 ` Bruce Richardson
2026-07-21 10:07 ` David Marchand
2026-07-21 10:24 ` Nithin Dabilpuram
2026-07-22 12:57 ` Thomas Monjalon
2026-07-21 10:25 ` Jerin Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox