Re: [PATCH mlx5-next] IB/mlx5: Use mlx5 core to create/destroy a DEVX DCT

2019-03-12 Thread Jason Gunthorpe
On Wed, Mar 06, 2019 at 07:21:42PM +0200, Leon Romanovsky wrote: > From: Yishai Hadas > > To prevent a hardware memory leak when a DEVX DCT object is destroyed > without calling DRAIN DCT before, (e.g. under cleanup flow), need to > manage its creation and destruction via mlx5 core. > > In that

[PATCH mlx5-next] IB/mlx5: Use mlx5 core to create/destroy a DEVX DCT

2019-03-06 Thread Leon Romanovsky
From: Yishai Hadas To prevent a hardware memory leak when a DEVX DCT object is destroyed without calling DRAIN DCT before, (e.g. under cleanup flow), need to manage its creation and destruction via mlx5 core. In that case the DRAIN DCT command will be called and only once that it will be complet