>> > >> > 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..? >
queue_attr_get is an internal op and is not called if the op is not set by the PMD. So no changes are needed from other PMDs to incorporate this. It is useful to the PMDs needing the new attributes before they are added to rte_event_queue_conf struct in 22.11. ><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