Hi Burkay, On Tue, Mar 03, 2026 at 03:40:50PM +0000, Burkay Kınık wrote: > Hi Dmitry, > 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* example. Do you > have any more ideas on this issue?
Could you please share EAL parameters passed on the command line? Could you also please rerun the case with --log-level pmd.net.mlx5:debug and share the logs? > > Best Regards, > Burkay KINIK > > ________________________________ > From: Dmitry Kozlyuk <[email protected]> > Sent: Monday, March 2, 2026 6:28 PM > To: Burkay Kınık <[email protected]>; [email protected] <[email protected]> > Subject: Re: [mlx5] rte_flow_query returns -ENOTSUP when querying count from > main lcore > > 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. > > > > Hi Burkay, > > I noticed that you don't zero-initialize all the fields, > e.g. rte_flow_attr::group is not set in your code > either as flow_attr = {0} or as flow.attr_group = 0. > If this is also the case when querying, then you might > call rte_flow_query() with (partially) uninitialized arguments > and get the weird results that you have described. > You must initialize the structs fully > both when creating the flow and when querying the counter. > Best regards, Dariusz Sosnowski
