[dpdk-dev] [PATCH] net/mlx5: fix DevX resources memory management.
Thomas Monjalon
thomas at monjalon.net
Tue Nov 24 23:18:35 CET 2020
> > Invalid memory release order of DevX resources caused PMD crash.
> >
> > 1. SQ and CQ memory must be unregistered with DevX before it is freed.
> > 2. SQ objects reference to a CQ ones. Hence, SQ should be destroyed in
> > advance of CQ it references to.
> >
> > Fixes: 6deb19e1b2d2 ("net/mlx5: separate Rx queue object creations")
> > Fixes: 88f2e3f18cc7 ("net/mlx5: rearrange SQ and CQ creation in DevX
> > module")
> >
> > Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> > Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
Applied, thanks
More information about the dev
mailing list