From: Pavan Nikhilesh <pbhagavat...@marvell.com> Replace *u64s with u64s in rte_event_vector structure as the *ptrs already serves the purpose of holding pointers and the intention of u64s is to hold array of uint64_t values.
Signed-off-by: Pavan Nikhilesh <pbhagavat...@marvell.com> --- doc/guides/rel_notes/deprecation.rst | 3 --- lib/eventdev/rte_eventdev.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 2826a38f03..bb44b1f9ff 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -173,9 +173,6 @@ Deprecation Notices Event will be one of the configuration fields, together with additional vector parameters. -* eventdev: The element ``*u64s`` in the structure ``rte_event_vector`` - is deprecated and will be replaced with ``u64s`` in DPDK 22.11. - * eventdev: The structure ``rte_event_vector`` will be modified to include ``elem_offset:12`` bits taken from ``rsvd:15``. The ``elem_offset`` defines the offset into the vector array from which valid elements are present. diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h index 86d656a08b..1cbeb6bddc 100644 --- a/lib/eventdev/rte_eventdev.h +++ b/lib/eventdev/rte_eventdev.h @@ -1117,7 +1117,7 @@ struct rte_event_vector { #endif struct rte_mbuf *mbufs[0]; void *ptrs[0]; - uint64_t *u64s[0]; + uint64_t u64s[0]; #ifndef __cplusplus } __rte_aligned(16); #endif -- 2.25.1