doc: announce API change in mbuf
PATCH 1/1 doc: announce API change in mbuf
In order to prepare for a long term stable API, the mbuf library has to change: allowing more features as dynamic fields, and fixing the lack of rte_ prefix in the namespace. The namespace fix should not break the compatibility by keeping some aliases during few releases to give time for migration.
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -51,6 +51,11 @@ Deprecation Notices structure would be made internal (or removed if all dependencies are cleared) in future releases. +* mbuf: Some fields will be moved or converted to dynamic API in DPDK 19.11 + in order to offer more space for the dynamic fields in future. + The namespace will be fixed at the same time while keeping a backward + compatibility for some time. + * ethdev: the legacy filter API, including ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,
Signature · 1 line
2.21.0
Quoted 7 lines · Thomas Monjalon
In order to prepare for a long term stable API, the mbuf library has to change: allowing more features as dynamic fields, and fixing the lack of
rte_prefix in the namespace. The namespace fix should not break the compatibility by keeping some aliases during few releases to give time for migration.Signed-off-by Thomas Monjalon <[email protected]>
Thanks Thomas for sending the deprecation notice.
Quoted 17 lines · Thomas Monjalon
In order to prepare for a long term stable API, the mbuf library has to change: allowing more features as dynamic fields, and fixing the lack of
rte_prefix in the namespace. The namespace fix should not break the compatibility by keeping some aliases during few releases to give time for migration.Signed-off-by Thomas Monjalon <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -51,6 +51,11 @@ Deprecation Notices structure would be made internal (or removed if all dependencies are cleared)
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 61
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +5
-0in future releases. +* mbuf: Some fields will be moved or converted to dynamic API in DPDK 19.11 + in order to offer more space for the dynamic fields in future. + The namespace will be fixed at the same time while keeping a backward + compatibility for some time. + * ethdev: the legacy filter API, including ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,
The deprecation notice is better than nothing, but "some fields" is hardly useful since it doe not provide enough information if an application is affected or not.
Also we have no yet information on performance impact of switching to dynamic fields.
May be it is not a problem if switching does not happen.
I have no strong opinion, just trying to raise my concerns. May be you already have answers on it.
05/08/2019 10:05, Andrew Rybchenko:
Quoted 8 lines · Thomas Monjalon
Quoted 7 lines
In order to prepare for a long term stable API, the mbuf library has to change: allowing more features as dynamic fields, and fixing the lack of
rte_prefix in the namespace. The namespace fix should not break the compatibility by keeping some aliases during few releases to give time for migration.Signed-off-by Thomas Monjalon <[email protected]>
[..]
Quoted 9 lines
doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 57
Quoted 4 lines
doc/guides/rel_notes/deprecation.rst +4
-0+* mbuf: Some fields will be moved or converted to dynamic API in DPDK 19.11 + in order to offer more space for the dynamic fields in future. + The namespace will be fixed at the same time while keeping a backward + compatibility for some time.The deprecation notice is better than nothing, but "some fields" is hardly useful since it doe not provide enough information if an application is affected or not.
Quoted 7 lines
Also we have no yet information on performance impact of switching to dynamic fields.
May be it is not a problem if switching does not happen.
I have no strong opinion, just trying to raise my concerns. May be you already have answers on it.
Unfortunately I don't have answers because I did not start this work. We will have to evaluate the impact and discuss what to move or not.