[1/2] mbuf: remove generic mbuf atomically accessed refcnt
Checks
Commit Message
Remove the deprecated refcnt_atomic union fields in rte_mbuf
structure.
Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
doc/guides/rel_notes/release_20_11.rst | 2 ++
lib/librte_mbuf/rte_mbuf_core.h | 7 +------
2 files changed, 3 insertions(+), 6 deletions(-)
@@ -100,6 +100,8 @@ ABI Changes
Also, make sure to start the actual text at the margin.
=======================================================
+* mbuf: The field ``refcnt_atomic`` has been removed from structure
+ ``rte_mbuf``.
Known Issues
------------
@@ -495,12 +495,7 @@ struct rte_mbuf {
* or non-atomic) is controlled by the CONFIG_RTE_MBUF_REFCNT_ATOMIC
* config option.
*/
- RTE_STD_C11
- union {
- rte_atomic16_t refcnt_atomic; /**< Atomically accessed refcnt */
- /** Non-atomically accessed refcnt */
- uint16_t refcnt;
- };
+ uint16_t refcnt;
uint16_t nb_segs; /**< Number of segments. */
/** Input port (16 bits to support more than 256 virtual ports).