[PATCH v2] reorder: fix registration of dynamic field in mbuf

David Marchand david.marchand at redhat.com
Thu Mar 16 16:55:41 CET 2023


On Mon, Mar 13, 2023 at 2:05 PM Volodymyr Fialko <vfialko at marvell.com> wrote:
>
> It's possible to initialize reorder buffer with user allocated memory via
> rte_reorder_init() function. In such case rte_reorder_create() is not
> required and reorder dynamic field in rte_mbuf will not be registered.
>
> Both reorder lib and mbuf dynamic field are using `rte_mcfg_tailq`
> read/write lock for synchronization, to avoid deadlocking move reorder
> buffer initialization before queue insertion.
>
> Fixes: 01f3496695b5 ("reorder: switch sequence number to dynamic mbuf field")
> Cc: stable at dpdk.org
>
> Signed-off-by: Volodymyr Fialko <vfialko at marvell.com>

Applied, thanks Volodymyr.


-- 
David Marchand



More information about the stable mailing list