On 4/6/2022 10:22 AM, Min Hu (Connor) wrote:
From: Huisong Li <lihuis...@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: sta...@dpdk.org
Signed-off-by: Huisong Li <lihuis...@huawei.com>
Signed-off-by: Min Hu (Connor) <humi...@huawei.com>
<...>