> -----Original Message----- > From: Jerin Jacob <jerinjac...@gmail.com> > Sent: Tuesday, March 29, 2022 7:50 PM > To: Shijith Thotton <sthot...@marvell.com>; Van Haaren, Harry > <harry.van.haa...@intel.com>; Jayatheerthan, Jay > <jay.jayatheert...@intel.com>; Carrillo, Erik G <erik.g.carri...@intel.com>; > Gujjar, Abhinandan S <abhinandan.guj...@intel.com>; McDaniel, Timothy > <timothy.mcdan...@intel.com>; Hemant Agrawal <hemant.agra...@nxp.com>; > Nipun Gupta <nipun.gu...@nxp.com>; mattias.ronnblom > <mattias.ronnb...@ericsson.com>; Ray Kinsella <m...@ashroe.eu> > Cc: dpdk-dev <dev@dpdk.org>; Jerin Jacob <jer...@marvell.com>; Pavan > Nikhilesh <pbhagavat...@marvell.com>; Liang Ma <lian...@liangbit.com> > Subject: Re: [PATCH 0/6] Extend and set event queue attributes at runtime > > On Tue, Mar 29, 2022 at 6:42 PM Shijith Thotton <sthot...@marvell.com> wrote: > > > > This series adds support for setting event queue attributes at runtime > > and adds two new event queue attributes weight and affinity. Eventdev > > capability RTE_EVENT_DEV_CAP_RUNTIME_QUEUE_ATTR is added to expose > the > > capability to set attributes at runtime and rte_event_queue_attr_set() > > API is used to set the attributes. > > > > Attributes weight and affinity are not yet added to rte_event_queue_conf > > structure to avoid ABI break and will be added in 22.11. Till then, PMDs > > using the new attributes are expected to manage them.
When the new attributes are added to queue_conf structure in 22.11, will the attr_get() function have any real use? If the attr_get() function is not useful post 22.11 (aka, returns const-integers?), we should consider if waiting for ABI-break in 22.11 is a better solution as it doesn't add public API/ABI functions that only have limited time value..? <snip> > + @Van Haaren, Harry @Jayatheerthan, Jay @Erik Gabriel Carrillo > @Gujjar, Abhinandan S @McDaniel, Timothy @Hemant Agrawal @Nipun > Gupta @Mattias Rönnblom @lingma @Ray Kinsella Thanks for flagging Jerin, indeed I hadn't looked at this patchset yet. From event/sw point of view, the new runtime queue attribute capability is not available, so the feature flag will not be set. <snip> Some code comments inline on the impl patches comping up. Regards, -Harry