[PATCH] eventdev: remove single-event enqueue operation
Mattias Rönnblom
hofors at lysator.liu.se
Wed Jul 5 10:41:48 CEST 2023
On 2023-07-05 09:47, Jerin Jacob wrote:
> On Tue, Jul 4, 2023 at 5:29 PM Mattias Rönnblom
> <mattias.ronnblom at ericsson.com> wrote:
>>
>> Eliminate non-burst enqueue operation from Eventdev.
>>
>> The effect of this change is to reduce Eventdev code complexity
>> somewhat and slightly improve performance.
>>
>> The single-event enqueue shortcut provided a very minor performance
>> advantage in some situations (e.g., with a compile time-constant burst
>> size of '1'), but would in other situations cause a noticeable
>> performance penalty (e.g., rte_event_enqueue_forward_burst() with run
>> time-variable burst sizes varying between '1' and larger burst sizes).
>>
>> Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
>>
>> --
>>
>> PATCH: Add ABI deprecation notice.
>
>
> Need to split this patch as depreciation notice only will be merged to
> this release.
> Example: https://patches.dpdk.org/project/dpdk/patch/20230704194445.3332847-1-gakhil@marvell.com/
>
> I think, we need to remove the single dequeue as well. So I think, we
> can write a generic deprecation notice
> which says size of struct rte_event_fp_ops will be changed by removing
> single enqueue, dequeue and.
> Reservation fields size . Later we can analysis the performance impact
> when the implementation patch is ready.
> For now, let make deprecation notice for this release.
OK, sounds good.
The size may be the same, but layout will be different.
More information about the dev
mailing list