On Thu, Sep 22, 2022 at 11:10 AM Mattias Rönnblom <mattias.ronnb...@ericsson.com> wrote: > > On 2022-09-21 18:43, pbhagavat...@marvell.com wrote: > > From: Pavan Nikhilesh <pbhagavat...@marvell.com> > > > > Add `rte_event_vector:elem_offset:12` bit field event vector > > structure the bits are taken from `rte_event_vector::rsvd:15`. > > The element offset defines the offset into the vector array > > at which valid elements start. > > The valid elements count will be equal to > > `rte_event_vector::nb_elem`. > > > > Update Rx/Tx adapter SW implementation to use elem_offset. > > > > Signed-off-by: Pavan Nikhilesh <pbhagavat...@marvell.com> > > --- > > v2 Changes: > > - Revert changes to definition of `rte_event_vector::nb_elem` > >
> > */ > > struct rte_event_vector { > > uint16_t nb_elem; > > - /**< Number of elements in this event vector. */ > > - uint16_t rsvd : 15; > > + /**< Number of elements valid in this event vector. */ > > + uint16_t elem_offset : 12; > > + /**< Offset into the vector array where valid elements start from. */ > > + uint16_t rsvd : 3; > > /**< Reserved for future use */ > > uint16_t attr_valid : 1; > > /**< Indicates that the below union attributes have valid information. > > -- > > 2.25.1 > > Reviewed-by: Mattias Rönnblom <mattias.ronnb...@ericsson.com> Series applied to dpdk-next-net-eventdev/for-main. Thanks