<html xmlns:v="urn:schemas-microsoft-com:vml" 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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* 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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</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,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">This series was applied already as we tried to compile the “master-next” branch and it failed:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">/workspace/kernel/linux/net/sched/act_sample.c:293:18: error: initialization of 'void (*)(struct tc_action *, u64, u32, u64, bool)' {aka 'void (*)(struct tc_action *, long long unsigned int, unsigned
int, long long unsigned int, _Bool)'} from incompatible pointer type 'void (*)(struct tc_action *, u64, u64, u64, u64, bool)' {aka 'void (*)(struct tc_action *, long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned
int, _Bool)'} [-Werror=incompatible-pointer-types]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> 293 | .stats_update = tcf_sample_stats_update,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> | ^~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">/workspace/kernel/linux/net/sched/act_sample.c:293:18: note: (near initialization for 'act_sample_ops.stats_update')<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<pre>cc1: some warnings being treated as errors<o:p></o:p></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<pre>make[4]: *** [/workspace/kernel/linux/scripts/Makefile.build:272: net/sched/act_sample.o] Error 1<o:p></o:p></pre>
<pre>make[4]: *** Waiting for unfinished jobs....<o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Bartlomiej,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Do you have some sort of CI that can catch these issues?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Vladimir<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"> William Tu <witu@nvidia.com>
<br>
<b>Sent:</b> Monday, April 10, 2023 11:30 AM<br>
<b>To:</b> Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com><br>
<b>Cc:</b> Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>; Bodong Wang <bodong@nvidia.com>; Vladimir Sokolovsky <vlad@nvidia.com>; Paul Blakey <paulb@nvidia.com>; Dann Frazier <dann.frazier@canonical.com><br>
<b>Subject:</b> Re: APPLIED: [SRU][F:linux-bluefield][PATCH v1 0/3] Support hardware stats for tc actions<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Bartlomiej,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Sorry! If it’s not too late, olease do not apply this series, we found compile error due to missing commit.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">We’re working on the fix.<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">Bartlomiej Zolnierkiewicz <<a href="mailto:bartlomiej.zolnierkiewicz@canonical.com">bartlomiej.zolnierkiewicz@canonical.com</a>><br>
<b>Date: </b>Wednesday, April 5, 2023 at 4:09 AM<br>
<b>To: </b>William Tu <<a href="mailto:witu@nvidia.com">witu@nvidia.com</a>><br>
<b>Cc: </b>Ubuntu Kernel Team <<a href="mailto:kernel-team@lists.ubuntu.com">kernel-team@lists.ubuntu.com</a>>, Bodong Wang <<a href="mailto:bodong@nvidia.com">bodong@nvidia.com</a>>, Vladimir Sokolovsky <<a href="mailto:vlad@nvidia.com">vlad@nvidia.com</a>>,
Paul Blakey <<a href="mailto:paulb@nvidia.com">paulb@nvidia.com</a>>, Dann Frazier <<a href="mailto:dann.frazier@canonical.com">dann.frazier@canonical.com</a>><br>
<b>Subject: </b>APPLIED: [SRU][F:linux-bluefield][PATCH v1 0/3] Support hardware stats for tc actions<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">External email: Use caution opening links or attachments<br>
<br>
<br>
Applied to focal:linux-bluefield/master-next. Thanks.<br>
<br>
--<br>
Best regards,<br>
Bartlomiej<br>
<br>
On Tue, Apr 4, 2023 at 12:39 AM William Tu <<a href="mailto:witu@nvidia.com">witu@nvidia.com</a>> wrote:<br>
><br>
> BugLink: <a href="https://bugs.launchpad.net/bugs/2015136">https://bugs.launchpad.net/bugs/2015136</a><br>
><br>
> * Explain the bug(s)<br>
><br>
> tc hardware stats are not offloaded from some offloaded actions (pedit, sample, skbedit)<br>
><br>
> * brief explanation of fixes<br>
><br>
> Implement the necessary callbacks to report back stats for these actions.<br>
><br>
> * How to test<br>
><br>
> Configure two mlx5 rep devices and VFs.<br>
> Add tc offloaded tc rules with pedit action, and hit that rule with traffic<br>
><br>
> Ido Schimmel (1):<br>
> sched: act_sample: Implement stats_update callback<br>
><br>
> Petr Machata (2):<br>
> sched: act_skbedit: Implement stats_update callback<br>
> sched: act_pedit: Implement stats_update callback<br>
><br>
> net/sched/act_pedit.c | 11 +++++++++++<br>
> net/sched/act_sample.c | 11 +++++++++++<br>
> net/sched/act_skbedit.c | 11 +++++++++++<br>
> 3 files changed, 33 insertions(+)<br>
><o:p></o:p></span></p>
</div>
</div>
</body>
</html>