<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Tim,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Can you take a look at this patch again?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’ve double checked this patch works ok on Jammy and Focal.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">William<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">William Tu <witu@nvidia.com><br>
<b>Date: </b>Wednesday, May 24, 2023 at 10:13 AM<br>
<b>To: </b>kernel-team@lists.ubuntu.com <kernel-team@lists.ubuntu.com><br>
<b>Cc: </b>Bodong Wang <bodong@nvidia.com>, Vladimir Sokolovsky <vlad@nvidia.com>, dann.frazier@canonical.com <dann.frazier@canonical.com>, Paul Blakey <paulb@nvidia.com>, William Tu <witu@nvidia.com>, Chris Mi <cmi@nvidia.com><br>
<b>Subject: </b>[SRU][F,J:linux-bluefield][PATCH v3 0/1] net: openvswitch: fix race on port output<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">BugLink:
</span><a href="https://bugs.launchpad.net/bugs/2020606"><span style="font-size:11.0pt">https://bugs.launchpad.net/bugs/2020606</span></a><span style="font-size:11.0pt"><br>
<br>
fix race on port output<br>
<br>
* Explain the bug(s)<br>
<br>
there is a race condition on port output<br>
<br>
* brief explanation of fixes<br>
<br>
We found that upstream linux has the same issue and fix<br>
commit 066b86787fa3d97b7aefb5ac0a99a22dad2d15f8<br>
    net: openvswitch: fix race on port output<br>
<br>
* How to test<br>
After configuring QoS on BF-3:<br>
Disable all priorities<br>
Set priorities [0, 0, 0, 0, 0, 0, 0, 0]<br>
Remove all policies<br>
Remove all traffic classes<br>
Add policy (policy_name=ND_traffic, traffic_type=RDMA, priority=5, port=20000, dscp=None)<br>
Add policy (policy_name=TCP_traffic, traffic_type=TCP, priority=4, port=26000, dscp=None)<br>
Add traffic class two prio TC with prio_list=[5, 4], min_bw=76, algorithm=ETS<br>
Enable QOS on adapter SLOT 5 Port 1<br>
Restart driver (detach VFs -> restart with devcon -> attach VFs)<br>
<br>
BF-3 sometimes stops responding. need to run it multiple times!<br>
<br>
v3:<br>
use WARN_ON_ONCE instead of DEBUG_NET_WARN_ON_ONCE<br>
<br>
Felix Huettner (1):<br>
  net: openvswitch: fix race on port output<br>
<br>
 net/core/dev.c            | 1 +<br>
 net/openvswitch/actions.c | 2 +-<br>
 2 files changed, 2 insertions(+), 1 deletion(-)<br>
<br>
-- <br>
2.34.1<o:p></o:p></span></p>
</div>
</div>
</body>
</html>