Thread (5 messages) 5 messages, 3 authors, 2021-07-06

Re: [dpdk-dev] [PATCH] net/mlx5: fix incorrect r/w lock usage in DMA unmap

From: Raslan Darawsheh <hidden>
Date: 2021-07-06 09:34:53

Hi,
-----Original Message-----
From: dev <redacted> On Behalf Of Feifei Wang
Sent: Thursday, May 27, 2021 12:48 PM
To: Matan Azrad <redacted>; Shahaf Shuler
[off-list ref]; Slava Ovsiienko [off-list ref]
Cc: dev@dpdk.org; nd@arm.com; Feifei Wang <redacted>;
Shahaf Shuler [off-list ref]; stable@dpdk.org; Ruifeng Wang
[off-list ref]
Subject: [dpdk-dev] [PATCH] net/mlx5: fix incorrect r/w lock usage in DMA
unmap

For mlx5 DMA unmap, write lock should be used for rebuilding memory
region cache table rather than read lock.

Fixes: 989e999d9305 ("net/mlx5: support PCI device DMA map and unmap")
Cc: shahafs@mellanox.com
Cc: stable@dpdk.org

Signed-off-by: Feifei Wang <redacted>
Reviewed-by: Ruifeng Wang <redacted>
Patch rebased and applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help