[PATCH v3] event/dsw: optimize serving port logic

Jerin Jacob jerinjacobk at gmail.com
Thu Jan 18 08:13:08 CET 2024


On Wed, Jan 17, 2024 at 3:14 PM Mattias Rönnblom
<mattias.ronnblom at ericsson.com> wrote:
>
> To reduce flow migration overhead, replace the array-based
> representation of which set of ports are bound to a particular queue
> by a bitmask-based one.
>
> The maximum number of DSW event ports remains 64, but after this
> change can no longer easily be increased by modifying DSW_MAX_PORTS
> and recompiling.
>
> RFC v3:
>  * supply mandantory message to static_assert().
> RFC v2:
>  * accidentally left out the contents, which instead was included in v3.
>
> Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>

Applied to dpdk-next-eventdev/for-main. Thanks


More information about the dev mailing list