<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=us-ascii">
<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;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.ui-provider
        {mso-style-name:ui-provider;}
.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">Please ignore this version. Focal and Jammy have different
</span><span class="ui-provider">DEBUG_NET_WARN_ON_ONCE.</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I will send v2. <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">Tim Gardner <tim.gardner@canonical.com><br>
<b>Date: </b>Wednesday, May 24, 2023 at 5:39 AM<br>
<b>To: </b>William Tu <witu@nvidia.com>, kernel-team@lists.ubuntu.com <kernel-team@lists.ubuntu.com><br>
<b>Cc: </b>dann.frazier@canonical.com <dann.frazier@canonical.com>, Paul Blakey <paulb@nvidia.com>, Vladimir Sokolovsky <vlad@nvidia.com>, Bodong Wang <bodong@nvidia.com>, Chris Mi <cmi@nvidia.com><br>
<b>Subject: </b>ACK: [SRU][F, J:linux-bluefield][PATCH 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">External email: Use caution opening links or attachments<br>
<br>
<br>
On 5/23/23 8:48 PM, William Tu wrote:<br>
> BugLink: <a href="https://bugs.launchpad.net/bugs/2020606">https://bugs.launchpad.net/bugs/2020606</a><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>
><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>
Acked-by: Tim Gardner <tim.gardner@canonical.com><br>
--<br>
-----------<br>
Tim Gardner<br>
Canonical, Inc<o:p></o:p></span></p>
</div>
</div>
</body>
</html>