Message ID | 20190819221111.18733-1-dann.frazier@canonical.com |
---|---|
Headers | show |
Series | hns3: avoid corruption due to ring buffer race | expand |
On 20.08.19 00:11, 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: Stefan Bader <stefan.bader@canonical.com>
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@canonical.com>
On 8/20/19 12:11 AM, 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(-) > Applied to bionic/master-next branch. Thanks, Kleber