doc: add deprecation notice about upcoming change to ethdev API
PATCH 1/1 doc: add deprecation notice about upcoming change to ethdev API
Inform users that rte_eth_dev_get_name_by_port() will add a size parameter in next release.
Signed-off-by Stephen Hemminger <[email protected]>
--- doc/guides/rel_notes/deprecation.rst | 4 ++++ 1 file changed, 4 insertions(+)
doc/guides/rel_notes/deprecation.rst +4 -0
@@ -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.
Signature · 1 line
2.53.0
Quoted 5 lines · 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 <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
Quoted 18 lines
doc/guides/rel_notes/deprecation.rst | 4 ++++ 1 file changed, 4 insertions(+)doc/guides/rel_notes/deprecation.rst +4
-0@@ -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.Signature · 1 line
2.53.0
Quoted 5 lines · 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 <[email protected]>
Acked-by David Marchand <[email protected]>
Signature · 1 line
David Marchand
Nithin Dabilpuram
Acked-byQuoted 7 lines · David Marchand
Quoted 4 lines · Stephen Hemminger
Inform users that
rte_eth_dev_get_name_by_port()will add a size parameter in next release.
Quoted 7 lines
Quoted 1 line
Signed-off-by Stephen Hemminger <[email protected]>Acked-by David Marchand <[email protected]>--
David Marchand
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Inform users that
rte_eth_dev_get_name_by_port()will add a size parameter in next release.Signed-off-by Stephen Hemminger <[email protected]>Acked-by David Marchand <[email protected]>
Acked-by Jerin Jacob <[email protected]>
Acked-by Bruce Richardson <[email protected]>
Applied, thanks.
Jerin Jacob
Acked-byQuoted 10 lines · David Marchand
Quoted 5 lines · 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 <[email protected]>Acked-by David Marchand <[email protected]>
Acked-by Jerin Jacob <[email protected]>
Quoted 4 lines
--
David Marchand