doc: announce library refactor for ABI improvement
PATCH 1/1 doc: announce library refactor for ABI improvement
Target is to reduce the public interface surface to improve the ABI stability and this is preparation for the longer term stable ABI support.
Mainly device abstraction layer libraries are impacted because they have two interfaces, one is public interface to the applications and other is internal interface to the drivers. Some driver/internal interface structures/symbols are in the public interface by mistake, this work is to clean them.
Also some libraries has 'static inline' functions for performance reasons (like ones in the ethdev), this work plans to split the structures and hide the part that is not used by inline functions.
The need of the work for the stable ABI already discussed and planned by the DPDK technical board:
https://mails.dpdk.org/archives/dev/2021-July/214662.html
---
Cc: Konstantin Ananyev <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>
Cc: Akhil Goyal <[email protected]>
CC: Ray Kinsella <[email protected]>
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -63,6 +63,11 @@ Deprecation Notices us extending existing enum/define. One solution can be using a fixed size array instead of ``.*MAX.*`` value. +* lib: Will hide internal data structures and symbols from the public interfaces + as much as possible in v21.11. + This ABI break is done to improve the ABI stability in the long term and will + be done mainly, but not limited to, in device abstraction layer libraries. + * ethdev: Will add ``RTE_ETH_`` prefix to all ethdev macros/enums in v21.11. Macros will be added for backward compatibility. Backward compatibility macros will be removed on v22.11.
Signature · 1 line
2.31.1
Quoted 13 lines
Target is to reduce the public interface surface to improve the ABI stability and this is preparation for the longer term stable ABI support.
Mainly device abstraction layer libraries are impacted because they have two interfaces, one is public interface to the applications and other is internal interface to the drivers. Some driver/internal interface structures/symbols are in the public interface by mistake, this work is to clean them.
Also some libraries has 'static inline' functions for performance reasons (like ones in the ethdev), this work plans to split the structures and hide the part that is not used by inline functions.
Quoted 6 lines
The need of the work for the stable ABI already discussed and planned by the DPDK technical board:
https://mails.dpdk.org/archives/dev/2021-July/214662.htmlSigned-off-by Ferruh Yigit <[email protected]>---
Jerin Jacob
Acked-byQuoted 14 lines · Akhil Goyal
Quoted 14 lines
Target is to reduce the public interface surface to improve the ABI stability and this is preparation for the longer term stable ABI support.
Mainly device abstraction layer libraries are impacted because they have two interfaces, one is public interface to the applications and other is internal interface to the drivers. Some driver/internal interface structures/symbols are in the public interface by mistake, this work is to clean them.
Also some libraries has 'static inline' functions for performance reasons (like ones in the ethdev), this work plans to split the structures and hide the part that is not used by inline functions.
Quoted 7 lines
Quoted 6 lines
The need of the work for the stable ABI already discussed and planned by the DPDK technical board:
https://mails.dpdk.org/archives/dev/2021-July/214662.htmlSigned-off-by Ferruh Yigit <[email protected]>---
Acked-by Akhil Goyal <[email protected]>
Bruce Richardson
Acked-byQuoted 13 lines · Akhil Goyal
Quoted 13 lines
Target is to reduce the public interface surface to improve the ABI stability and this is preparation for the longer term stable ABI support.
Mainly device abstraction layer libraries are impacted because they have two interfaces, one is public interface to the applications and other is internal interface to the drivers. Some driver/internal interface structures/symbols are in the public interface by mistake, this work is to clean them.
Also some libraries has 'static inline' functions for performance reasons (like ones in the ethdev), this work plans to split the structures and hide the part that is not used by inline functions.
Quoted 7 lines
Quoted 6 lines
The need of the work for the stable ABI already discussed and planned by the DPDK technical board:
https://mails.dpdk.org/archives/dev/2021-July/214662.htmlSigned-off-by Ferruh Yigit <[email protected]>---
Acked-by Akhil Goyal <[email protected]>
Andrew Rybchenko
Acked-byQuoted 18 lines · Bruce Richardson
Quoted 17 lines · Akhil Goyal
Quoted 17 lines
Target is to reduce the public interface surface to improve the ABI stability and this is preparation for the longer term stable ABI support.
Mainly device abstraction layer libraries are impacted because they have two interfaces, one is public interface to the applications and other is internal interface to the drivers. Some driver/internal interface structures/symbols are in the public interface by mistake, this work is to clean them.
Also some libraries has 'static inline' functions for performance reasons (like ones in the ethdev), this work plans to split the structures and hide the part that is not used by inline functions.The need of the work for the stable ABI already discussed and planned by the DPDK technical board:
https://mails.dpdk.org/archives/dev/2021-July/214662.html
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Signed-off-by Ferruh Yigit <[email protected]>---
Acked-by Akhil Goyal <[email protected]>Acked-by Bruce Richardson <[email protected]>
Kinsella, Ray
Acked-byQuoted 19 lines · Andrew Rybchenko
Quoted 18 lines · Bruce Richardson
Quoted 17 lines · Akhil Goyal
Quoted 17 lines
Target is to reduce the public interface surface to improve the ABI stability and this is preparation for the longer term stable ABI support.
Mainly device abstraction layer libraries are impacted because they have two interfaces, one is public interface to the applications and other is internal interface to the drivers. Some driver/internal interface structures/symbols are in the public interface by mistake, this work is to clean them.
Also some libraries has 'static inline' functions for performance reasons (like ones in the ethdev), this work plans to split the structures and hide the part that is not used by inline functions.The need of the work for the stable ABI already discussed and planned by the DPDK technical board:
https://mails.dpdk.org/archives/dev/2021-July/214662.html
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Signed-off-by Ferruh Yigit <[email protected]>---
Acked-by Akhil Goyal <[email protected]>Acked-by Bruce Richardson <[email protected]>Acked-by Andrew Rybchenko <[email protected]>