svn commit: r348832 - stable/10/sys/dev/mlx5/mlx5_en
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Jun 9 08:22:39 UTC 2019
Author: hselasky
Date: Sun Jun 9 08:22:38 2019
New Revision: 348832
URL: https://svnweb.freebsd.org/changeset/base/348832
Log:
MFC r348603:
Make sure the DMA tags get freed in mlx5en(4).
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_main.c Sun Jun 9 08:19:45 2019 (r348831)
+++ stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_main.c Sun Jun 9 08:22:38 2019 (r348832)
@@ -772,6 +772,7 @@ mlx5e_destroy_rq(struct mlx5e_rq *rq)
}
free(rq->mbuf, M_MLX5EN);
mlx5_wq_destroy(&rq->wq_ctrl);
+ bus_dma_tag_destroy(rq->dma_tag);
}
static int
@@ -1098,6 +1099,7 @@ mlx5e_destroy_sq(struct mlx5e_sq *sq)
}
if (sq->br != NULL)
buf_ring_free(sq->br, M_MLX5EN);
+ bus_dma_tag_destroy(sq->dma_tag);
}
int
More information about the svn-src-stable
mailing list