Re: [dpdk-dev] [PATCH v2] common/mlx5: free MR resource while device DMA unmap

2020-11-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei Wang > Sent: Monday, November 2, 2020 4:22 AM > To: Slava Ovsiienko ; Matan Azrad > ; Shahaf Shuler ; Ori Kam > > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: [PATCH v2] common/mlx5: free MR resource while device DMA > unmap >

[dpdk-dev] [PATCH v2] common/mlx5: free MR resource while device DMA unmap

2020-11-01 Thread Jiawei Wang
mlx5 PMD created the MR (Memory Region) resource on the mlx5_dma_map call to make the memory available for DMA operations. On the mlx5_dma_unmap call the MR resource was not freed but inserted to MR Free list for further garbage collection. Actual MR resource destroying happened on device stop call