[SRU][F:linux-bluefield][PATCH v2 0/1] net: openvswitch: fix race on port output
William Tu
witu at nvidia.com
Wed May 24 16:39:08 UTC 2023
Sorry, please NAK v2 again.
I think the better way is to use WARN_ON_ONCE and applied on both Jammy and Focal.
William
From: William Tu <witu at nvidia.com>
Date: Wednesday, May 24, 2023 at 9:32 AM
To: kernel-team at lists.ubuntu.com <kernel-team at lists.ubuntu.com>
Cc: Bodong Wang <bodong at nvidia.com>, Vladimir Sokolovsky <vlad at nvidia.com>, dann.frazier at canonical.com <dann.frazier at canonical.com>, Paul Blakey <paulb at nvidia.com>, William Tu <witu at nvidia.com>, Chris Mi <cmi at nvidia.com>
Subject: [SRU][F:linux-bluefield][PATCH v2 0/1] net: openvswitch: fix race on port output
BugLink: https://bugs.launchpad.net/bugs/2020606
fix race on port output
* Explain the bug(s)
there is a race condition on port output
* brief explanation of fixes
We found that upstream linux has the same issue and fix
commit 066b86787fa3d97b7aefb5ac0a99a22dad2d15f8
net: openvswitch: fix race on port output
* How to test
After configuring QoS on BF-3:
Disable all priorities
Set priorities [0, 0, 0, 0, 0, 0, 0, 0]
Remove all policies
Remove all traffic classes
Add policy (policy_name=ND_traffic, traffic_type=RDMA, priority=5, port=20000, dscp=None)
Add policy (policy_name=TCP_traffic, traffic_type=TCP, priority=4, port=26000, dscp=None)
Add traffic class two prio TC with prio_list=[5, 4], min_bw=76, algorithm=ETS
Enable QOS on adapter SLOT 5 Port 1
Restart driver (detach VFs -> restart with devcon -> attach VFs)
BF-3 sometimes stops responding. need to run it multiple times!
v2:
Separate focal and jammy
Felix Huettner (1):
net: openvswitch: fix race on port output
net/core/dev.c | 1 +
net/openvswitch/actions.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--
2.34.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230524/5f9315e5/attachment.html>
More information about the kernel-team
mailing list