DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: announce API change for ethdev port info
@ 2017-10-16 14:27 Ivan Boule
  2017-11-14 23:50 ` Thomas Monjalon
  2018-02-13 13:15 ` Olivier Matz
  0 siblings, 2 replies; 5+ messages in thread
From: Ivan Boule @ 2017-10-16 14:27 UTC (permalink / raw)
  To: dev; +Cc: olivier.matz, john.mcnamara, thomas

To help administrative tasks on ports, new per-port information need
to be added into the data structure rte_eth_dev_info supplied by the
dev_infos_get() function exported by a Poll Mode Driver.

See http://dpdk.org/ml/archives/dev/2017-September/074885.html for
details.

Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 52058f5..1430120 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -92,3 +92,11 @@ Deprecation Notices
   The non-"do-sig" versions of the hash tables will be removed
   (including the ``signature_offset`` parameter)
   and the "do-sig" versions renamed accordingly.
+
+* librte_ether: additional fields will be added into the ``rte_eth_dev_info``
+  structure in 18.02, breaking the API. These fields will contain:
+
+  - the set of supported link modes,
+  - the set of advertised link modes,
+  - the type of port connector,
+  - autonegotiation enabled or not.
-- 
2.1.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API change for ethdev port info
  2017-10-16 14:27 [dpdk-dev] [PATCH] doc: announce API change for ethdev port info Ivan Boule
@ 2017-11-14 23:50 ` Thomas Monjalon
  2017-11-15  8:13   ` Olivier MATZ
  2018-02-13 13:15 ` Olivier Matz
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2017-11-14 23:50 UTC (permalink / raw)
  To: Ivan Boule; +Cc: dev, olivier.matz, john.mcnamara

16/10/2017 16:27, Ivan Boule:
> To help administrative tasks on ports, new per-port information need
> to be added into the data structure rte_eth_dev_info supplied by the
> dev_infos_get() function exported by a Poll Mode Driver.
> 
> See http://dpdk.org/ml/archives/dev/2017-September/074885.html for
> details.
> 
> Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
> Acked-by: Olivier Matz <olivier.matz@6wind.com>
> ---
> +* librte_ether: additional fields will be added into the ``rte_eth_dev_info``
> +  structure in 18.02, breaking the API. These fields will contain:
> +
> +  - the set of supported link modes,
> +  - the set of advertised link modes,
> +  - the type of port connector,
> +  - autonegotiation enabled or not.

This patch is not accepted in 17.11 for following reasons:
- it requires at least 3 acks
- we are not going to break API in 18.02, except maybe for EAL devargs
- the link mode is redundant with the speed capabilities
- such fields require work (and time) for every PMD to be fully supported
- we should discuss more generally which infos are in the scope of this function

Sorry for the short notice, I was waiting for comments and to see if
other deprecations were sent (or not) for ethdev.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API change for ethdev port info
  2017-11-14 23:50 ` Thomas Monjalon
@ 2017-11-15  8:13   ` Olivier MATZ
  2017-11-15 15:23     ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier MATZ @ 2017-11-15  8:13 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: Ivan Boule, dev, john.mcnamara

On Wed, Nov 15, 2017 at 12:50:55AM +0100, Thomas Monjalon wrote:
> 16/10/2017 16:27, Ivan Boule:
> > To help administrative tasks on ports, new per-port information need
> > to be added into the data structure rte_eth_dev_info supplied by the
> > dev_infos_get() function exported by a Poll Mode Driver.
> > 
> > See http://dpdk.org/ml/archives/dev/2017-September/074885.html for
> > details.
> > 
> > Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
> > Acked-by: Olivier Matz <olivier.matz@6wind.com>
> > ---
> > +* librte_ether: additional fields will be added into the ``rte_eth_dev_info``
> > +  structure in 18.02, breaking the API. These fields will contain:
> > +
> > +  - the set of supported link modes,
> > +  - the set of advertised link modes,
> > +  - the type of port connector,
> > +  - autonegotiation enabled or not.
> 
> This patch is not accepted in 17.11 for following reasons:
> - it requires at least 3 acks
> - we are not going to break API in 18.02, except maybe for EAL devargs
> - the link mode is redundant with the speed capabilities
> - such fields require work (and time) for every PMD to be fully supported
> - we should discuss more generally which infos are in the scope of this function
> 
> Sorry for the short notice, I was waiting for comments and to see if
> other deprecations were sent (or not) for ethdev.

Thomas, be aware that it's very frustrating to have this kind feedback 9
weeks after the submission of the RFC, and few days before the release.

Olivier

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API change for ethdev port info
  2017-11-15  8:13   ` Olivier MATZ
@ 2017-11-15 15:23     ` Thomas Monjalon
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2017-11-15 15:23 UTC (permalink / raw)
  To: Olivier MATZ, Ivan Boule; +Cc: dev, john.mcnamara

15/11/2017 09:13, Olivier MATZ:
> On Wed, Nov 15, 2017 at 12:50:55AM +0100, Thomas Monjalon wrote:
> > 16/10/2017 16:27, Ivan Boule:
> > > To help administrative tasks on ports, new per-port information need
> > > to be added into the data structure rte_eth_dev_info supplied by the
> > > dev_infos_get() function exported by a Poll Mode Driver.
> > > 
> > > See http://dpdk.org/ml/archives/dev/2017-September/074885.html for
> > > details.
> > > 
> > > Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
> > > Acked-by: Olivier Matz <olivier.matz@6wind.com>
> > > ---
> > > +* librte_ether: additional fields will be added into the ``rte_eth_dev_info``
> > > +  structure in 18.02, breaking the API. These fields will contain:
> > > +
> > > +  - the set of supported link modes,
> > > +  - the set of advertised link modes,
> > > +  - the type of port connector,
> > > +  - autonegotiation enabled or not.
> > 
> > This patch is not accepted in 17.11 for following reasons:
> > - it requires at least 3 acks
> > - we are not going to break API in 18.02, except maybe for EAL devargs
> > - the link mode is redundant with the speed capabilities
> > - such fields require work (and time) for every PMD to be fully supported
> > - we should discuss more generally which infos are in the scope of this function
> > 
> > Sorry for the short notice, I was waiting for comments and to see if
> > other deprecations were sent (or not) for ethdev.
> 
> Thomas, be aware that it's very frustrating to have this kind feedback 9
> weeks after the submission of the RFC, and few days before the release.

Yes, sure I know how it can be frustrating and I am sorry about that.
I forgot to review the RFC and I forgot to comment this deprecation notice.
Then it was pending like other deprecation notices, but no new deprecation
notice appeared for 18.02, and nobody did a comment on those patches.
So I think it is better to just postpone it for 18.05.
Anyway we can comment and work on the RFC in the meantime.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API change for ethdev port info
  2017-10-16 14:27 [dpdk-dev] [PATCH] doc: announce API change for ethdev port info Ivan Boule
  2017-11-14 23:50 ` Thomas Monjalon
@ 2018-02-13 13:15 ` Olivier Matz
  1 sibling, 0 replies; 5+ messages in thread
From: Olivier Matz @ 2018-02-13 13:15 UTC (permalink / raw)
  To: dev; +Cc: john.mcnamara, thomas, Ivan Boule

On Mon, Oct 16, 2017 at 04:27:47PM +0200, Ivan Boule wrote:
> To help administrative tasks on ports, new per-port information need
> to be added into the data structure rte_eth_dev_info supplied by the
> dev_infos_get() function exported by a Poll Mode Driver.
> 
> See http://dpdk.org/ml/archives/dev/2017-September/074885.html for
> details.
> 
> Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

I didn't have the time to work on this topic for this release.
Let's first wait that a new RFC is proposed, then I will resubmit
a new deprecation notice if required.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-13 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16 14:27 [dpdk-dev] [PATCH] doc: announce API change for ethdev port info Ivan Boule
2017-11-14 23:50 ` Thomas Monjalon
2017-11-15  8:13   ` Olivier MATZ
2017-11-15 15:23     ` Thomas Monjalon
2018-02-13 13:15 ` Olivier Matz

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