[PATCH 3/7] net/hns3: fix pseudo-sharing between threads
Ferruh Yigit
ferruh.yigit at xilinx.com
Tue May 3 21:05:41 CEST 2022
On 4/6/2022 10:22 AM, Min Hu (Connor) wrote:
> From: Huisong Li <lihuisong at huawei.com>
>
> Some fields in the end of 'struct hns3_rx_queue' and 'struct hns3_tx_queue'
> are not accessed in the I/O path. But these fields may be accessed in other
> threads, which may lead to the problem of pseudo-sharing of IO threads.
... problem of cache pseudo-sharing ...
> This patch add a cacheline alignment to avoid it.
>
> Fixes: 9261fd3caf1f ("net/hns3: improve IO path data cache usage")
> Cc: stable at dpdk.org
>
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
<...>
More information about the dev
mailing list