ACK: [PATCH 0/3][SRU Bionic] hns3: avoid corruption due to ring buffer race

Connor Kuehl connor.kuehl at canonical.com
Mon Aug 26 23:22:11 UTC 2019


On 8/19/19 3:11 PM, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1840717
> 
> All clean cherry picks. Patch #1 is a small cleanup that allows Patch #2
> to apply cleanly. Patch #3 improves the performance of Patch #2. All 3
> patches were introduced in v5.2, so they've had plenty of "bake time"
> together.
> 
> 
> Yunsheng Lin (3):
>    net: hns3: minor optimization for ring_space
>    net: hns3: fix data race between ring->next_to_clean
>    net: hns3: optimize the barrier using when cleaning TX BD
> 
>   .../net/ethernet/hisilicon/hns3/hns3_enet.c   | 35 ++++++++++++-------
>   .../net/ethernet/hisilicon/hns3/hns3_enet.h   | 18 +++++-----
>   2 files changed, 30 insertions(+), 23 deletions(-)
> 

Acked-by: Connor Kuehl <connor.kuehl at canonical.com>



More information about the kernel-team mailing list