><snip> > >> +/** >> + * Set an event queue attribute at runtime. >> + * >> + * @param dev >> + * Event device pointer >> + * @param queue_id >> + * Event queue index >> + * @param attr_id >> + * Event queue attribute id >> + * @param attr_value >> + * Event queue attribute value >> + * >> + * @return >> + * - 0: Success. >> + * - <0: Error code on failure. >> + */ >> +typedef int (*eventdev_queue_attr_set_t)(struct rte_eventdev *dev, >> + uint8_t queue_id, uint32_t attr_id, >> + uint32_t attr_value); > >Is using a uint64_t a better type for attr_value? Given there might be more in >future, >limiting to 32-bits now may cause headaches later, and uint64_t doesn't cost >extra? > >I think 32-bits of attr_id is enough :) > >Same comment on the _get() API in patch 2/6, a uint64_t * would be a better fit >there in my opinion. > ><snip> Changing size of attr_value will an ABI break. Can we wait till a need arises ?
- [PATCH 0/6] Extend and set event queue attributes at run... Shijith Thotton
- [PATCH 1/6] eventdev: support to set queue attribut... Shijith Thotton
- RE: [PATCH 1/6] eventdev: support to set queue ... Van Haaren, Harry
- RE: [PATCH 1/6] eventdev: support to set qu... Shijith Thotton
- RE: [PATCH 1/6] eventdev: support to se... Van Haaren, Harry
- Re: [PATCH 1/6] eventdev: support to set queue ... Mattias Rönnblom
- RE: [PATCH 1/6] eventdev: support to set qu... Shijith Thotton
- [PATCH 2/6] eventdev: add weight and affinity to qu... Shijith Thotton
- Re: [PATCH 2/6] eventdev: add weight and affini... Mattias Rönnblom
- RE: [PATCH 2/6] eventdev: add weight and af... Shijith Thotton
- [PATCH 4/6] test/event: test cases to test runtime ... Shijith Thotton
- [PATCH 3/6] doc: announce change in event queue con... Shijith Thotton
- [PATCH 5/6] event/cnxk: support to set runtime queu... Shijith Thotton
- RE: [PATCH 5/6] event/cnxk: support to set runt... Van Haaren, Harry