RE: [PATCH v2] eventdev: avoid non-burst shortcut for variable-size bursts

2023-05-11 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Thursday, 11 May 2023 10.17 > > Use non-burst event enqueue and dequeue calls from burst enqueue and > dequeue only when the burst size is compile-time constant (and equal > to one). > > Signed-off-by: Mattias Rönnblom Acke

[PATCH v2] eventdev: avoid non-burst shortcut for variable-size bursts

2023-05-11 Thread Mattias Rönnblom
Use non-burst event enqueue and dequeue calls from burst enqueue and dequeue only when the burst size is compile-time constant (and equal to one). Signed-off-by: Mattias Rönnblom --- v2: Wrap builtin call in __extension__, to avoid compiler warnings if application is compiled with -pedantic