[dpdk-stable] patch 'net/mlx5: add representor specific statistics' has been queued to stable release 18.08.1
Kevin Traynor
ktraynor at redhat.com
Wed Nov 21 17:48:15 CET 2018
Hi,
FYI, your patch has been queued to stable release 18.08.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/27/18. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.
Thanks.
Kevin Traynor
---
>From e36017fa2ea95c21785e64fed6f33bacb729ee94 Mon Sep 17 00:00:00 2001
From: Shahaf Shuler <shahafs at mellanox.com>
Date: Sun, 7 Oct 2018 15:55:25 +0300
Subject: [PATCH] net/mlx5: add representor specific statistics
[ upstream commit d469f6a5eb47258bd0911bc75e14c312b83d0a41 ]
Representor ports has a different set of extended statistics (as those are
logical ports which cannot count all that the PF can).
Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
---
drivers/net/mlx5/mlx5_stats.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_stats.c b/drivers/net/mlx5/mlx5_stats.c
index 9b89b9bfd..f24c73617 100644
--- a/drivers/net/mlx5/mlx5_stats.c
+++ b/drivers/net/mlx5/mlx5_stats.c
@@ -108,4 +108,21 @@ static const struct mlx5_counter_ctrl mlx5_counters_init[] = {
.ctr_name = "rx_bytes_phy",
},
+ /* Representor only */
+ {
+ .dpdk_name = "rx_packets",
+ .ctr_name = "vport_rx_packets",
+ },
+ {
+ .dpdk_name = "rx_bytes",
+ .ctr_name = "vport_rx_bytes",
+ },
+ {
+ .dpdk_name = "tx_packets",
+ .ctr_name = "vport_tx_packets",
+ },
+ {
+ .dpdk_name = "tx_bytes",
+ .ctr_name = "vport_tx_bytes",
+ },
};
--
2.19.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2018-11-21 16:44:32.621318717 +0000
+++ 0061-net-mlx5-add-representor-specific-statistics.patch 2018-11-21 16:44:30.000000000 +0000
@@ -1,13 +1,13 @@
-From d469f6a5eb47258bd0911bc75e14c312b83d0a41 Mon Sep 17 00:00:00 2001
+From e36017fa2ea95c21785e64fed6f33bacb729ee94 Mon Sep 17 00:00:00 2001
From: Shahaf Shuler <shahafs at mellanox.com>
Date: Sun, 7 Oct 2018 15:55:25 +0300
Subject: [PATCH] net/mlx5: add representor specific statistics
+[ upstream commit d469f6a5eb47258bd0911bc75e14c312b83d0a41 ]
+
Representor ports has a different set of extended statistics (as those are
logical ports which cannot count all that the PF can).
-Cc: stable at dpdk.org
-
Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
---
drivers/net/mlx5/mlx5_stats.c | 17 +++++++++++++++++
More information about the stable
mailing list