<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-3">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Dmitry,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you for your reply. I changed it and it still doesn't work unfortunately. I confirmed that the way I initialize and use the structs and query the flows are exactly the same as the *ipsec-secgw*<b> </b>example. Do you have any more ideas on this issue?</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Best Regards,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Burkay KINIK</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dmitry Kozlyuk <dmitry.kozliuk@gmail.com><br>
<b>Sent:</b> Monday, March 2, 2026 6:28 PM<br>
<b>To:</b> Burkay Kınık <burkay.kinik@b-ulltech.com>; users@dpdk.org <users@dpdk.org><br>
<b>Subject:</b> Re: [mlx5] rte_flow_query returns -ENOTSUP when querying count from main lcore</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Dikkat: Bu e-posta kurum dışından gelmektedir. Lütfen gönderenin kimliğini doğrulamadan yanıt vermeyin, ekleri açmayın veya kişisel bilgi paylaşmayın.<br>
<br>
<br>
<br>
Hi Burkay,<br>
<br>
I noticed that you don't zero-initialize all the fields,<br>
e.g. rte_flow_attr::group is not set in your code<br>
either as flow_attr = {0} or as flow.attr_group = 0.<br>
If this is also the case when querying, then you might<br>
call rte_flow_query() with (partially) uninitialized arguments<br>
and get the weird results that you have described.<br>
You must initialize the structs fully<br>
both when creating the flow and when querying the counter.<br>
<br>
</div>
</span></font></div>
</body>
</html>