Re: [PATCH v2] net/vmxnet3: support per-queue stats for fewer queues

2024-10-31 Thread Ferruh Yigit
On 10/25/2024 10:27 AM, Morten Brørup wrote: > Removed the requirement that the configured number of queues to provide > statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the > driver's max number of supported transmit queues (VMXNET3_MAX_TX_QUEUES). > > Also improved support for vi

RE: [PATCH v2] net/vmxnet3: support per-queue stats for fewer queues

2024-10-27 Thread Morten Brørup
Jochen, Ronak, (Roger,) Please review the below patch, so it can go into the 24.11 LTS release. > From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Friday, 25 October 2024 11.28 > > Removed the requirement that the configured number of queues to provide > statistics for (RTE_ETHDEV

Re: [PATCH v2] net/ixgbe: support per-queue stats for fewer queues

2024-10-25 Thread Bruce Richardson
On Thu, Oct 24, 2024 at 12:05:39PM -0700, Stephen Hemminger wrote: > On Thu, 24 Oct 2024 18:53:52 + > Morten Brørup wrote: > > > Remove the requirement that the configured number of queues to provide > > statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the > > driver's max sup

[PATCH v2] net/vmxnet3: support per-queue stats for fewer queues

2024-10-25 Thread Morten Brørup
Removed the requirement that the configured number of queues to provide statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the driver's max number of supported transmit queues (VMXNET3_MAX_TX_QUEUES). Also improved support for virtual hardware version 6. Signed-off-by: Morten Brørup

RE: [PATCH] net/ixgbe: fix per-queue stats for less queues

2024-10-25 Thread Morten Brørup
Forwarding to the now official maintainers for review. :-) Thank you for updating the MAINTAINERS file, Bruce. PS: Please correct "fix"->"support" in the subject when merging, it was a typo. > From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Thursday, 24 October 2024 13.18 > > Re

RE: [PATCH v2] net/ixgbe: support per-queue stats for fewer queues

2024-10-25 Thread Morten Brørup
> From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Thursday, 24 October 2024 20.54 > > Remove the requirement that the configured number of queues to provide > statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the > driver's max supported number of the same (IXGBE_QUE

Re: [PATCH] net/ixgbe: fix per-queue stats for less queues

2024-10-24 Thread Bruce Richardson
On Thu, Oct 24, 2024 at 06:28:27PM +0200, Morten Brørup wrote: > > > > - for (i = 0; i < IXGBE_QUEUE_STAT_COUNTERS; i++) { > > > > + for (i = 0; i < RTE_MIN(IXGBE_QUEUE_STAT_COUNTERS, > > > > + > > > > (typeof(IXGBE_QUEUE_STAT_COUNTERS))RTE_ETHDEV_QUEUE_STAT_CNTRS); > > > > i++)

Re: [PATCH v2] net/ixgbe: support per-queue stats for fewer queues

2024-10-24 Thread Stephen Hemminger
On Thu, 24 Oct 2024 18:53:52 + Morten Brørup wrote: > Remove the requirement that the configured number of queues to provide > statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the > driver's max supported number of the same (IXGBE_QUEUE_STAT_COUNTERS). > > Signed-off-by: Mort

RE: [PATCH] net/ixgbe: fix per-queue stats for less queues

2024-10-24 Thread Morten Brørup
Forgot the --in-reply-to, so here's the link to the V2 patch: https://inbox.dpdk.org/dev/20241024185352.987356-1...@smartsharesystems.com/

[PATCH v2] net/ixgbe: support per-queue stats for fewer queues

2024-10-24 Thread Morten Brørup
Remove the requirement that the configured number of queues to provide statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the driver's max supported number of the same (IXGBE_QUEUE_STAT_COUNTERS). Signed-off-by: Morten Brørup --- v2: * Fix subject. (Bruce Richardson) * Simplify type

Re: [PATCH] net/ixgbe: fix per-queue stats for less queues

2024-10-24 Thread Stephen Hemminger
On Thu, 24 Oct 2024 11:17:57 + Morten Brørup wrote: > Remove the requirement that the configured number of queues to provide > statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the > driver's max supported number of the same (IXGBE_QUEUE_STAT_COUNTERS). > > Signed-off-by: Mort

RE: [PATCH] net/ixgbe: fix per-queue stats for less queues

2024-10-24 Thread Morten Brørup
> > > - for (i = 0; i < IXGBE_QUEUE_STAT_COUNTERS; i++) { > > > + for (i = 0; i < RTE_MIN(IXGBE_QUEUE_STAT_COUNTERS, > > > + > > > (typeof(IXGBE_QUEUE_STAT_COUNTERS))RTE_ETHDEV_QUEUE_STAT_CNTRS); > > > i++) { > > The big cast using "typeof" is awkward-looking but is probably the best > way > to

Re: [PATCH] net/ixgbe: fix per-queue stats for less queues

2024-10-24 Thread Bruce Richardson
On Thu, Oct 24, 2024 at 05:15:10PM +0200, Morten Brørup wrote: > Forwarding to the now official maintainers for review. :-) > > Thank you for updating the MAINTAINERS file, Bruce. > > PS: Please correct "fix"->"support" in the subject when merging, it was a > typo. > > > From: Morten Brørup [ma

[PATCH] net/ixgbe: fix per-queue stats for less queues

2024-10-24 Thread Morten Brørup
Remove the requirement that the configured number of queues to provide statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the driver's max supported number of the same (IXGBE_QUEUE_STAT_COUNTERS). Signed-off-by: Morten Brørup --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- 1 file cha

[PATCH] net/vmxnet3: support per-queue stats for less queues

2024-10-24 Thread Morten Brørup
Remove the requirement that the configured number of queues to provide statistics for (RTE_ETHDEV_QUEUE_STAT_CNTRS) cannot be less than the driver's max number of supported transmit queues (VMXNET3_MAX_TX_QUEUES). Signed-off-by: Morten Brørup --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 32 +++

Re: Per queue stats

2024-10-08 Thread Bruce Richardson
On Tue, Oct 08, 2024 at 11:58:37AM +0200, Morten Brørup wrote: > > From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] > > Sent: Sunday, 6 October 2024 22.51 > > > > On 10/4/2024 9:40 PM, Stephen Hemminger wrote: > > > ... > > > The stats queue mapping was a feature that was hinted at being > > r

RE: Per queue stats

2024-10-08 Thread Morten Brørup
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] > Sent: Sunday, 6 October 2024 22.51 > > On 10/4/2024 9:40 PM, Stephen Hemminger wrote: > > ... > > The stats queue mapping was a feature that was hinted at being > removed. > > It only exists because of HW limitations on Intel ixgbe NIC a

Re: Per queue stats

2024-10-06 Thread Ferruh Yigit
On 10/4/2024 9:40 PM, Stephen Hemminger wrote: > ... > The stats queue mapping was a feature that was hinted at being removed. > It only exists because of HW limitations on Intel ixgbe NIC and SW > limitations from RTE_ETHDEV_QUEUE_STAT_CNTRS. > We have a plan to re

Per queue stats

2024-10-04 Thread Stephen Hemminger
... > >>> The stats queue mapping was a feature that was hinted at being removed. > >>> It only exists because of HW limitations on Intel ixgbe NIC and SW > >>> limitations from RTE_ETHDEV_QUEUE_STAT_CNTRS. > >>> > >> > >> > >> We have a plan to remove 'RTE_ETHDEV_QUEUE_STAT_CNTRS', by moving que

RE: [PATCH] vhost: promote per-queue stats API to stable

2022-10-26 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Monday, October 10, 2022 11:38 PM > To: dev@dpdk.org; Xia, Chenbo ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH] vhost: promote per-queue stats API to stable > > This patch promotes

RE: [PATCH] vhost: promote per-queue stats API to stable

2022-10-24 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Monday, October 10, 2022 11:38 PM > To: dev@dpdk.org; Xia, Chenbo ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH] vhost: promote per-queue stats API to stable > > This patch promotes

Re: [PATCH] vhost: promote per-queue stats API to stable

2022-10-17 Thread David Marchand
On Mon, Oct 10, 2022 at 5:37 PM Maxime Coquelin wrote: > > This patch promotes the per-queue stats API to stable. > The API has been used by the Vhost PMD since v22.07, and > David Marchand posted a patch to make use of it in next > OVS release[0]. > > [0]: > http://patc

[PATCH] vhost: promote per-queue stats API to stable

2022-10-10 Thread Maxime Coquelin
This patch promotes the per-queue stats API to stable. The API has been used by the Vhost PMD since v22.07, and David Marchand posted a patch to make use of it in next OVS release[0]. [0]: http://patchwork.ozlabs.org/project/openvswitch/patch/20221007111613.1695524-4-david.march...@redhat.com

Re: [dpdk-dev] [PATCH 00/11] net/sfc: support per-queue stats on EF100

2021-10-11 Thread Ferruh Yigit
for SW stats groups net/sfc: collect per queue stats in EF100 Rx datapath net/sfc: collect per queue stats in EF100 Tx datapath Series applied to dpdk-next-net/main, thanks.

[dpdk-dev] [PATCH 11/11] net/sfc: collect per queue stats in EF100 Tx datapath

2021-09-28 Thread Andrew Rybchenko
From: Ivan Ilchenko If Tx datapath collects per queue statistics, use these stats to provide opackets and obytes in basic ethdev stats. Signed-off-by: Andrew Rybchenko Signed-off-by: Ivan Ilchenko --- drivers/net/sfc/sfc.h | 2 ++ drivers/net/sfc/sfc_dp_tx.h| 1 + drivers/net/s

[dpdk-dev] [PATCH 10/11] net/sfc: collect per queue stats in EF100 Rx datapath

2021-09-28 Thread Andrew Rybchenko
From: Ivan Ilchenko If Rx datapath collects per queue statistics, use these stats to provide ipackets and ibytes in basic ethdev stats. Signed-off-by: Andrew Rybchenko Signed-off-by: Ivan Ilchenko --- drivers/net/sfc/sfc.h | 3 + drivers/net/sfc/sfc_dp.h | 2 + drivers/net/

[dpdk-dev] [PATCH 00/11] net/sfc: support per-queue stats on EF100

2021-09-28 Thread Andrew Rybchenko
order of SW stats net/sfc: fix missing const of SW stats descriptions net/sfc: optimize getting number of SW stats net/sfc: prepare having no some SW stats on an adapter net/sfc: add toggle to disable total stat net/sfc: add support for SW stats groups net/sfc: collect per queue stats in

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-10-12 Thread Ferruh Yigit
On 10/10/2020 9:09 AM, Thomas Monjalon wrote: 09/10/2020 22:32, Ferruh Yigit: On 10/6/2020 9:33 AM, Olivier Matz wrote: On Mon, Oct 05, 2020 at 01:23:08PM +0100, Ferruh Yigit wrote: On 9/28/2020 4:43 PM, Stephen Hemminger wrote: On Mon, 28 Sep 2020 17:24:26 +0200 Thomas Monjalon wrote: 28/0

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-10-10 Thread Thomas Monjalon
09/10/2020 22:32, Ferruh Yigit: > On 10/6/2020 9:33 AM, Olivier Matz wrote: > > On Mon, Oct 05, 2020 at 01:23:08PM +0100, Ferruh Yigit wrote: > >> On 9/28/2020 4:43 PM, Stephen Hemminger wrote: > >>> On Mon, 28 Sep 2020 17:24:26 +0200 > >>> Thomas Monjalon wrote: > 28/09/2020 15:53, Ferruh Yi

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-10-09 Thread Ferruh Yigit
On 10/6/2020 9:33 AM, Olivier Matz wrote: Hi, On Mon, Oct 05, 2020 at 01:23:08PM +0100, Ferruh Yigit wrote: On 9/28/2020 4:43 PM, Stephen Hemminger wrote: On Mon, 28 Sep 2020 17:24:26 +0200 Thomas Monjalon wrote: 28/09/2020 15:53, Ferruh Yigit: On 9/28/2020 10:16 AM, Thomas Monjalon wrote:

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-10-06 Thread Olivier Matz
Hi, On Mon, Oct 05, 2020 at 01:23:08PM +0100, Ferruh Yigit wrote: > On 9/28/2020 4:43 PM, Stephen Hemminger wrote: > > On Mon, 28 Sep 2020 17:24:26 +0200 > > Thomas Monjalon wrote: > > > > > 28/09/2020 15:53, Ferruh Yigit: > > > > On 9/28/2020 10:16 AM, Thomas Monjalon wrote: > > > > > 28/09/202

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-10-05 Thread Ferruh Yigit
On 9/28/2020 4:43 PM, Stephen Hemminger wrote: On Mon, 28 Sep 2020 17:24:26 +0200 Thomas Monjalon wrote: 28/09/2020 15:53, Ferruh Yigit: On 9/28/2020 10:16 AM, Thomas Monjalon wrote: 28/09/2020 10:59, Ferruh Yigit: On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: From: Huisong Li Currently,

Re: [dpdk-dev] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-30 Thread Kinsella, Ray
On 28/09/2020 09:59, Ferruh Yigit wrote: > On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: >> From: Huisong Li >> >> Currently, only statistics of rx/tx queues with queue_id less than >> RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain >> application scenario that it needs to us

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-29 Thread Min Hu (Connor)
Hi, Thomas, I think what you suggest is resonable and helpful. But I should have time to fix it about this patch. So, this patch will be sent to community in future. By the way, the other patch is acked by you. Acked-by: Thomas Monjalon

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-29 Thread Thomas Monjalon
29/09/2020 06:49, Min Hu (Connor): > > 在 2020/9/28 21:53, Ferruh Yigit 写道: > > On 9/28/2020 10:16 AM, Thomas Monjalon wrote: > >> 28/09/2020 10:59, Ferruh Yigit: > >>> On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: > From: Huisong Li > > Currently, only statistics of rx/tx queues wit

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Min Hu (Connor)
在 2020/9/28 21:53, Ferruh Yigit 写道: On 9/28/2020 10:16 AM, Thomas Monjalon wrote: 28/09/2020 10:59, Ferruh Yigit: On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: From: Huisong Li Currently, only statistics of rx/tx queues with queue_id less than RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed.

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Stephen Hemminger
On Mon, 28 Sep 2020 17:24:26 +0200 Thomas Monjalon wrote: > 28/09/2020 15:53, Ferruh Yigit: > > On 9/28/2020 10:16 AM, Thomas Monjalon wrote: > > > 28/09/2020 10:59, Ferruh Yigit: > > >> On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: > > >>> From: Huisong Li > > >>> > > >>> Currently, only s

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Thomas Monjalon
28/09/2020 15:47, Min Hu (Connor): > > 在 2020/9/28 17:16, Thomas Monjalon 写道: > > 28/09/2020 10:59, Ferruh Yigit: > >> On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: > >>> From: Huisong Li > >>> > >>> Currently, only statistics of rx/tx queues with queue_id less than > >>> RTE_ETHDEV_QUEUE_STAT_CNT

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Thomas Monjalon
28/09/2020 15:53, Ferruh Yigit: > On 9/28/2020 10:16 AM, Thomas Monjalon wrote: > > 28/09/2020 10:59, Ferruh Yigit: > >> On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: > >>> From: Huisong Li > >>> > >>> Currently, only statistics of rx/tx queues with queue_id less than > >>> RTE_ETHDEV_QUEUE_STAT_CN

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Ferruh Yigit
On 9/28/2020 10:16 AM, Thomas Monjalon wrote: 28/09/2020 10:59, Ferruh Yigit: On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: From: Huisong Li Currently, only statistics of rx/tx queues with queue_id less than RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain application scenar

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Min Hu (Connor)
在 2020/9/28 17:16, Thomas Monjalon 写道: 28/09/2020 10:59, Ferruh Yigit: On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: From: Huisong Li Currently, only statistics of rx/tx queues with queue_id less than RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain application scenario t

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Ananyev, Konstantin
> 28/09/2020 10:59, Ferruh Yigit: > > On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: > > > From: Huisong Li > > > > > > Currently, only statistics of rx/tx queues with queue_id less than > > > RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain > > > application scenario that it need

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Ananyev, Konstantin
> > On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: > > From: Huisong Li > > > > Currently, only statistics of rx/tx queues with queue_id less than > > RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain > > application scenario that it needs to use 256 or more than 256 queues > > an

Re: [dpdk-dev] [dpdk-techboard] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Thomas Monjalon
28/09/2020 10:59, Ferruh Yigit: > On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: > > From: Huisong Li > > > > Currently, only statistics of rx/tx queues with queue_id less than > > RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain > > application scenario that it needs to use 256

Re: [dpdk-dev] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-28 Thread Ferruh Yigit
On 9/27/2020 4:16 AM, Min Hu (Connor) wrote: From: Huisong Li Currently, only statistics of rx/tx queues with queue_id less than RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain application scenario that it needs to use 256 or more than 256 queues and display all statistics o

[dpdk-dev] [PATCH V5 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-26 Thread Min Hu (Connor)
From: Huisong Li Currently, only statistics of rx/tx queues with queue_id less than RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain application scenario that it needs to use 256 or more than 256 queues and display all statistics of rx/tx queue. At this moment, we have to chang

[dpdk-dev] [PATCH V4 1/2] dpdk: resolve compiling errors for per-queue stats

2020-09-25 Thread Min Hu (Connor)
From: Huisong Li Currently, only statistics of rx/tx queues with queue_id less than RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain application scenario that it needs to use 256 or more than 256 queues and display all statistics of rx/tx queue. At this moment, we have to chang

[dpdk-dev] [PATCH v3 10/15] net/dpaa2: add per queue stats get and reset support

2018-10-12 Thread Shreyansh Jain
For now, only the packet count stats per queue is available. This is part of xstats output (though, per queue stats are actually part of rte_eth_stats basic stats). Signed-off-by: Shreyansh Jain --- drivers/net/dpaa2/dpaa2_ethdev.c | 32 1 file changed, 32

[dpdk-dev] [PATCH v2 10/15] net/dpaa2: add per queue stats get and reset support

2018-09-26 Thread Shreyansh Jain
For now, only the packet count stats per queue is available. This is part of xstats output (though, per queue stats are actually part of rte_eth_stats basic stats). Signed-off-by: Shreyansh Jain --- drivers/net/dpaa2/dpaa2_ethdev.c | 32 1 file changed, 32

[dpdk-dev] [PATCH 10/11] net/dpaa2: add per queue stats get and reset support

2018-09-17 Thread Shreyansh Jain
For now, only the packet count stats per queue is available. This is part of xstats output (though, per queue stats are actually part of rte_eth_stats basic stats). Signed-off-by: Shreyansh Jain --- drivers/net/dpaa2/dpaa2_ethdev.c | 32 1 file changed, 32

[dpdk-dev] [PATCH v4 20/24] net/bnxt: fix per queue stats display in xstats

2017-09-28 Thread Ajit Khaparde
While gathering per queue stats, we are overwriting some of the stats. This causes some of the counters in xstats to be incorrect. Fixes: 577d3dced0dc ("net/bnxt: refactor the query stats") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hw

[dpdk-dev] [PATCH v3 20/24] net/bnxt: fix per queue stats display in xstats

2017-09-28 Thread Ajit Khaparde
While gathering per queue stats, we are overwriting some of the stats. This causes some of the counters in xstats to be incorrect. Fixes: 577d3dced0dc ("net/bnxt: refactor the query stats") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hw

[dpdk-dev] [PATCH v2 4/5] net/qede: fix per queue stats/xstats

2017-01-06 Thread Rasesh Mody
From: Rasesh Mody If value of number of rxq/txq is diffrent than RTE_ETHDEV_QUEUE_STAT_CNTRS, limit per queue stats/xstats to minimum of the two. Fixes: 7634c5f91569 ("net/qede: add queue statistics") Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethde

[dpdk-dev] [PATCH 4/5] net/qede: fix per queue stats/xstats

2016-12-31 Thread Rasesh Mody
From: Rasesh Mody If value of number of rxq/txq is diffrent than RTE_ETHDEV_QUEUE_STAT_CNTRS, limit per queue stats/xstats to minimum of the two. Fixes: 7634c5f91569 ("net/qede: add queue statistics") Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethde

[dpdk-dev] [PATCH] doc: announce per queue stats support for ixgbe

2016-04-07 Thread Thomas Monjalon
2016-04-07 10:08, Wenzhuo Lu: > Fixes: 83a4a15404ef (doc: fill nics features matrix for e1000/igb and ixgbe) > > Reported-by: Thomas Monjalon > Signed-off-by: Wenzhuo Lu Applied, thanks

[dpdk-dev] [PATCH] doc: announce per queue stats support for ixgbe

2016-04-07 Thread Wenzhuo Lu
Fixes: 83a4a15404ef (doc: fill nics features matrix for e1000/igb and ixgbe) Reported-by: Thomas Monjalon Signed-off-by: Wenzhuo Lu --- doc/guides/nics/overview.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst in

[dpdk-dev] [PATCH v7 7/9] bonding: per queue stats

2015-10-30 Thread Tomasz Kulasek
This patch adds fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. v5 changes: - removed queue_stats_mapping_set from eth_dev_ops of bonding device Signed-off-by: Tomasz Kulasek Acked-by: Declan Doherty --- driver

[dpdk-dev] [PATCH v7 7/9] bonding: per queue stats

2015-10-30 Thread Tomasz Kulasek
Date: Fri, 30 Oct 2015 14:56:02 +0100 Message-Id: <1446213364-11856-8-git-send-email-tomaszx.kulasek at intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com> References: <1444989651-6236-1-git-send-email-tomaszx.kulasek at intel.com>

[dpdk-dev] [PATCH v6 7/9] bonding: per queue stats

2015-10-16 Thread Tomasz Kulasek
This patch adds fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. v5 changes: - removed queue_stats_mapping_set from eth_dev_ops of bonding device Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond

[dpdk-dev] [PATCH v6 12/13] examples/vhost: add per queue stats

2015-10-09 Thread Yuanhan Liu
From: Changchun Ouyang Signed-off-by: Changchun Ouyang Signed-off-by: Yuanhan Liu --- examples/vhost/main.c | 97 +-- 1 file changed, 56 insertions(+), 41 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 23b7aa7..06a

[dpdk-dev] [PATCH v5 7/9] bonding: per queue stats

2015-09-30 Thread Tomasz Kulasek
This patch fills bonding port's stats with a sum of corresponding values taken from bonded slaves, when stats are requested for bonding port. v5 changes: - removed queue_stats_mapping_set from eth_dev_ops of bonding device Signed-off-by: Tomasz Kulasek --- drivers/net/bonding/rte_eth_bond_pmd.

[dpdk-dev] [PATCH v5 resend 12/12] examples/vhost: add per queue stats

2015-09-18 Thread Yuanhan Liu
From: Changchun Ouyang Signed-off-by: Changchun Ouyang Signed-off-by: Yuanhan Liu --- examples/vhost/main.c | 97 +-- 1 file changed, 56 insertions(+), 41 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 23b7aa7..06a

[dpdk-dev] [PATCH v5 12/12] examples/vhost: add per queue stats

2015-09-18 Thread Yuanhan Liu
From: Changchun Ouyang Signed-off-by: Changchun Ouyang Signed-off-by: Yuanhan Liu --- examples/vhost/main.c | 97 +-- 1 file changed, 56 insertions(+), 41 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 23b7aa7..06a

[dpdk-dev] [PATCH v4 10/12] vhost: add per queue stats info

2015-08-12 Thread Ouyang Changchun
Add per queue stats info Signed-off-by: Changchun Ouyang --- Changes in v3 - fix coding style and displaying format - check stats_enable to alloc mem for queue pair Changes in v2 - fix the stats issue in tx_local - dynamically alloc mem for queue pair stats info - fix checkpatch

[dpdk-dev] [PATCH v3 8/9] vhost: Add per queue stats info

2015-06-15 Thread Ouyang Changchun
Add per queue stats info Changes in v3 - fix coding style and displaying format - check stats_enable to alloc mem for queue pair Changes in v2 - fix the stats issue in tx_local - dynamically alloc mem for queue pair stats info - fix checkpatch errors Signed-off-by: Changchun Ouyang

[dpdk-dev] [PATCH v2 7/7] vhost: Add per queue stats info

2015-06-10 Thread Ouyang Changchun
Add per queue stats info Changes in v2 - fix the stats issue in tx_local - dynamically alloc mem for queue pair stats info - fix checkpatch errors Signed-off-by: Changchun Ouyang --- examples/vhost/main.c | 125 +++--- 1 file changed, 78

[dpdk-dev] [PATCH 4/5] vmxnet3: add per-queue stats

2014-06-12 Thread Stephen Hemminger
Update per-queue statistics and add missing multicast into statistics. Also, no need to zero statistics since they are already cleared in rte_stats_get. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 60 +--- 1 file changed, 32 inser