On Tue, Jan 23, 2024 at 09:56:23AM +0000, Bruce Richardson wrote: > On Tue, Jan 23, 2024 at 10:48:47AM +0100, Mattias Rönnblom wrote: > > On 2024-01-19 18:43, Bruce Richardson wrote: > > > The documentation of how single-link port-queue pairs were counted in > > > the rte_event_dev_config structure did not match the actual > > > implementation and, if following the documentation, certain valid > > > > What "documentation" and what "implementation" are you talking about here? > > > > I'm confused. An DLB2 fix in the form of Eventdev API documentation update. > > > > The documentation in the header file did not match the implementation in > the rte_eventdev.c file. > > The current documentation states[1] that "This value cannot exceed the > max_event_queues which previously provided in rte_event_dev_info_get()", > but if you check the implementation in the C file[2], it actually checks > the passed value against > "info.max_event_queues + info.max_single_link_event_port_queue_pairs". > > > [1] > https://doc.dpdk.org/api/structrte__event__dev__config.html#a703c026d74436b05fc656652324101e4 > [2] https://git.dpdk.org/dpdk/tree/lib/eventdev/rte_eventdev.c#n402 >
Dropping this as a separate patch for v3, and just including the necessary doc corrections in the previous patches for the info and config structs. /Bruce