Re: [RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2025-01-09 Thread Stephen Hemminger
On Sun, 22 Dec 2024 17:38:19 +0200 Shani Peretz wrote: > This change introduces a new API to dynamically enable or disable > xstat counters by their IDs. Some counters may require hardware > resources that are potentially limited, so providing the ability > to toggle them on or off makes sense. >

RE: [RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2025-01-01 Thread Shani Peretz
ruh Yigit ; Andrew > Rybchenko ; Anatoly Burakov > > Subject: Re: [RFC PATCH] ethdev: add new API for enable/disable xstat counters > by ID > > External email: Use caution opening links or attachments > > > On Mon, 23 Dec 2024 10:46:59 + > Shani Peretz wrot

Re: [RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2024-12-24 Thread Stephen Hemminger
On Mon, 23 Dec 2024 10:46:59 + Shani Peretz wrote: > Sorry if it wasn't clear, in mlx5 there is limited number of counters, so if > there are X counters and 2X queues, there won't be enough counters to get > statistics for all queues at the same time. > In this case we thought the best appr

RE: [RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2024-12-23 Thread Shani Peretz
t; Cc: dev@dpdk.org; Aman Singh ; Dariusz > Sosnowski ; Slava Ovsiienko > ; Bing Zhao ; Ori Kam > ; Suanming Mou ; Matan > Azrad ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Ferruh Yigit ; Andrew > Rybchenko ; Anatoly Burakov > > Subject: Re: [RFC PATCH] ethdev: add

Re: [RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2024-12-22 Thread Stephen Hemminger
On Sun, 22 Dec 2024 17:38:19 +0200 Shani Peretz wrote: > This change introduces a new API to dynamically enable or disable > xstat counters by their IDs. Some counters may require hardware > resources that are potentially limited, so providing the ability > to toggle them on or off makes sense. >