Hi Thomas, Davis, On 6/25/20 10:04 AM, Maxime Coquelin wrote: > In order to simplify the use of rte_dev_probe() and > rte_dev_remove() by applications, rte_dev_probe() will > return a reference on the rte_device stating DPDK v20.11. > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > doc/guides/rel_notes/deprecation.rst | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index d1034f60fd..8661a673b5 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -130,3 +130,8 @@ Deprecation Notices > Python 2 support will be completely removed in 20.11. > In 20.08, explicit deprecation warnings will be displayed when running > scripts with Python 2. > + > +* eal: Change ``rte_dev_probe`` API in DPDK v20.11 to return a pointer on the > + probed rte_device or NULL instead of 0 or an error code. This change will > + allow applications avoid iterating on devices after a probe to get access > to > + the new rte_device. >
Any chance this patch goes into -rc4? Patch 2 is for v20.11, but we would need the deprecation notice to be in v20.08. Thanks, Maxime