* [PATCH net-next v2 0/4] net: dsa: add pause stats support
@ 2022-06-28 8:51 Oleksij Rempel
2022-06-28 8:51 ` [PATCH net-next v2 1/4] net: dsa: add get_pause_stats support Oleksij Rempel
` (4 more replies)
0 siblings, 5 replies; 13+ messages in thread
From: Oleksij Rempel @ 2022-06-28 8:51 UTC (permalink / raw)
To: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Oleksij Rempel, kernel, linux-kernel, netdev, Lukas Wunner,
UNGLinuxDriver
changes v2:
- add Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
- remove packet calculation fix from ar9331 patch. It needs more fixes.
- add packet calculation fix for microchip
Oleksij Rempel (4):
net: dsa: add get_pause_stats support
net: dsa: ar9331: add support for pause stats
net: dsa: microchip: add pause stats support
net: dsa: microchip: count pause packets together will all other
packets
drivers/net/dsa/microchip/ksz_common.c | 25 +++++++++++++++++++++++--
drivers/net/dsa/microchip/ksz_common.h | 1 +
drivers/net/dsa/qca/ar9331.c | 17 +++++++++++++++++
include/net/dsa.h | 2 ++
net/dsa/slave.c | 11 +++++++++++
5 files changed, 54 insertions(+), 2 deletions(-)
--
2.30.2
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH net-next v2 1/4] net: dsa: add get_pause_stats support
2022-06-28 8:51 [PATCH net-next v2 0/4] net: dsa: add pause stats support Oleksij Rempel
@ 2022-06-28 8:51 ` Oleksij Rempel
2022-06-28 14:45 ` Florian Fainelli
2022-06-28 8:51 ` [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats Oleksij Rempel
` (3 subsequent siblings)
4 siblings, 1 reply; 13+ messages in thread
From: Oleksij Rempel @ 2022-06-28 8:51 UTC (permalink / raw)
To: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Oleksij Rempel, kernel, linux-kernel, netdev, Lukas Wunner,
UNGLinuxDriver
Add support for pause stats
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
---
include/net/dsa.h | 2 ++
net/dsa/slave.c | 11 +++++++++++
2 files changed, 13 insertions(+)
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 33283eeda697..ea7bf007f34f 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -895,6 +895,8 @@ struct dsa_switch_ops {
const struct ethtool_rmon_hist_range **ranges);
void (*get_stats64)(struct dsa_switch *ds, int port,
struct rtnl_link_stats64 *s);
+ void (*get_pause_stats)(struct dsa_switch *ds, int port,
+ struct ethtool_pause_stats *pause_stats);
void (*self_test)(struct dsa_switch *ds, int port,
struct ethtool_test *etest, u64 *data);
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index 760ca58307a3..ad6a6663feeb 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -1109,6 +1109,16 @@ static int dsa_slave_set_link_ksettings(struct net_device *dev,
return phylink_ethtool_ksettings_set(dp->pl, cmd);
}
+static void dsa_slave_get_pause_stats(struct net_device *dev,
+ struct ethtool_pause_stats *pause_stats)
+{
+ struct dsa_port *dp = dsa_slave_to_port(dev);
+ struct dsa_switch *ds = dp->ds;
+
+ if (ds->ops->get_pause_stats)
+ ds->ops->get_pause_stats(ds, dp->index, pause_stats);
+}
+
static void dsa_slave_get_pauseparam(struct net_device *dev,
struct ethtool_pauseparam *pause)
{
@@ -2100,6 +2110,7 @@ static const struct ethtool_ops dsa_slave_ethtool_ops = {
.get_eee = dsa_slave_get_eee,
.get_link_ksettings = dsa_slave_get_link_ksettings,
.set_link_ksettings = dsa_slave_set_link_ksettings,
+ .get_pause_stats = dsa_slave_get_pause_stats,
.get_pauseparam = dsa_slave_get_pauseparam,
.set_pauseparam = dsa_slave_set_pauseparam,
.get_rxnfc = dsa_slave_get_rxnfc,
--
2.30.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats
2022-06-28 8:51 [PATCH net-next v2 0/4] net: dsa: add pause stats support Oleksij Rempel
2022-06-28 8:51 ` [PATCH net-next v2 1/4] net: dsa: add get_pause_stats support Oleksij Rempel
@ 2022-06-28 8:51 ` Oleksij Rempel
2022-06-28 10:11 ` Vladimir Oltean
2022-06-28 14:46 ` Florian Fainelli
2022-06-28 8:51 ` [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support Oleksij Rempel
` (2 subsequent siblings)
4 siblings, 2 replies; 13+ messages in thread
From: Oleksij Rempel @ 2022-06-28 8:51 UTC (permalink / raw)
To: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Oleksij Rempel, kernel, linux-kernel, netdev, Lukas Wunner,
UNGLinuxDriver
Add support for pause stats.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
drivers/net/dsa/qca/ar9331.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/drivers/net/dsa/qca/ar9331.c b/drivers/net/dsa/qca/ar9331.c
index fb3fe74abfe6..b286e4e9c2c4 100644
--- a/drivers/net/dsa/qca/ar9331.c
+++ b/drivers/net/dsa/qca/ar9331.c
@@ -231,6 +231,7 @@ struct ar9331_sw_port {
int idx;
struct delayed_work mib_read;
struct rtnl_link_stats64 stats;
+ struct ethtool_pause_stats pause_stats;
struct spinlock stats_lock;
};
@@ -606,6 +607,7 @@ static void ar9331_sw_phylink_mac_link_up(struct dsa_switch *ds, int port,
static void ar9331_read_stats(struct ar9331_sw_port *port)
{
struct ar9331_sw_priv *priv = ar9331_sw_port_to_priv(port);
+ struct ethtool_pause_stats *pstats = &port->pause_stats;
struct rtnl_link_stats64 *stats = &port->stats;
struct ar9331_sw_stats_raw raw;
int ret;
@@ -646,6 +648,9 @@ static void ar9331_read_stats(struct ar9331_sw_port *port)
stats->multicast += raw.rxmulti;
stats->collisions += raw.txcollision;
+ pstats->tx_pause_frames += raw.txpause;
+ pstats->rx_pause_frames += raw.rxpause;
+
spin_unlock(&port->stats_lock);
}
@@ -670,6 +675,17 @@ static void ar9331_get_stats64(struct dsa_switch *ds, int port,
spin_unlock(&p->stats_lock);
}
+static void ar9331_get_pause_stats(struct dsa_switch *ds, int port,
+ struct ethtool_pause_stats *pause_stats)
+{
+ struct ar9331_sw_priv *priv = (struct ar9331_sw_priv *)ds->priv;
+ struct ar9331_sw_port *p = &priv->port[port];
+
+ spin_lock(&p->stats_lock);
+ memcpy(pause_stats, &p->pause_stats, sizeof(*pause_stats));
+ spin_unlock(&p->stats_lock);
+}
+
static const struct dsa_switch_ops ar9331_sw_ops = {
.get_tag_protocol = ar9331_sw_get_tag_protocol,
.setup = ar9331_sw_setup,
@@ -679,6 +695,7 @@ static const struct dsa_switch_ops ar9331_sw_ops = {
.phylink_mac_link_down = ar9331_sw_phylink_mac_link_down,
.phylink_mac_link_up = ar9331_sw_phylink_mac_link_up,
.get_stats64 = ar9331_get_stats64,
+ .get_pause_stats = ar9331_get_pause_stats,
};
static irqreturn_t ar9331_sw_irq(int irq, void *data)
--
2.30.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support
2022-06-28 8:51 [PATCH net-next v2 0/4] net: dsa: add pause stats support Oleksij Rempel
2022-06-28 8:51 ` [PATCH net-next v2 1/4] net: dsa: add get_pause_stats support Oleksij Rempel
2022-06-28 8:51 ` [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats Oleksij Rempel
@ 2022-06-28 8:51 ` Oleksij Rempel
2022-06-28 10:19 ` Vladimir Oltean
2022-06-28 14:46 ` Florian Fainelli
2022-06-28 8:51 ` [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets Oleksij Rempel
2022-06-30 3:40 ` [PATCH net-next v2 0/4] net: dsa: add pause stats support patchwork-bot+netdevbpf
4 siblings, 2 replies; 13+ messages in thread
From: Oleksij Rempel @ 2022-06-28 8:51 UTC (permalink / raw)
To: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Oleksij Rempel, kernel, linux-kernel, netdev, Lukas Wunner,
UNGLinuxDriver
Add support for pause specific stats.
Tested on ksz9477.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
drivers/net/dsa/microchip/ksz_common.c | 19 +++++++++++++++++++
drivers/net/dsa/microchip/ksz_common.h | 1 +
2 files changed, 20 insertions(+)
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c
index 59582eb3bcaf..7c221ec331ee 100644
--- a/drivers/net/dsa/microchip/ksz_common.c
+++ b/drivers/net/dsa/microchip/ksz_common.c
@@ -586,12 +586,14 @@ static void ksz_phylink_get_caps(struct dsa_switch *ds, int port,
void ksz_r_mib_stats64(struct ksz_device *dev, int port)
{
+ struct ethtool_pause_stats *pstats;
struct rtnl_link_stats64 *stats;
struct ksz_stats_raw *raw;
struct ksz_port_mib *mib;
mib = &dev->ports[port].mib;
stats = &mib->stats64;
+ pstats = &mib->pause_stats;
raw = (struct ksz_stats_raw *)mib->counters;
spin_lock(&mib->stats64_lock);
@@ -623,6 +625,9 @@ void ksz_r_mib_stats64(struct ksz_device *dev, int port)
stats->multicast = raw->rx_mcast;
stats->collisions = raw->tx_total_col;
+ pstats->tx_pause_frames = raw->tx_pause;
+ pstats->rx_pause_frames = raw->rx_pause;
+
spin_unlock(&mib->stats64_lock);
}
@@ -639,6 +644,19 @@ static void ksz_get_stats64(struct dsa_switch *ds, int port,
spin_unlock(&mib->stats64_lock);
}
+static void ksz_get_pause_stats(struct dsa_switch *ds, int port,
+ struct ethtool_pause_stats *pause_stats)
+{
+ struct ksz_device *dev = ds->priv;
+ struct ksz_port_mib *mib;
+
+ mib = &dev->ports[port].mib;
+
+ spin_lock(&mib->stats64_lock);
+ memcpy(pause_stats, &mib->pause_stats, sizeof(*pause_stats));
+ spin_unlock(&mib->stats64_lock);
+}
+
static void ksz_get_strings(struct dsa_switch *ds, int port,
u32 stringset, uint8_t *buf)
{
@@ -1248,6 +1266,7 @@ static const struct dsa_switch_ops ksz_switch_ops = {
.port_mirror_add = ksz_port_mirror_add,
.port_mirror_del = ksz_port_mirror_del,
.get_stats64 = ksz_get_stats64,
+ .get_pause_stats = ksz_get_pause_stats,
.port_change_mtu = ksz_change_mtu,
.port_max_mtu = ksz_max_mtu,
};
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h
index 0e7f15efbb79..28846566028d 100644
--- a/drivers/net/dsa/microchip/ksz_common.h
+++ b/drivers/net/dsa/microchip/ksz_common.h
@@ -25,6 +25,7 @@ struct ksz_port_mib {
u8 cnt_ptr;
u64 *counters;
struct rtnl_link_stats64 stats64;
+ struct ethtool_pause_stats pause_stats;
struct spinlock stats64_lock;
};
--
2.30.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets
2022-06-28 8:51 [PATCH net-next v2 0/4] net: dsa: add pause stats support Oleksij Rempel
` (2 preceding siblings ...)
2022-06-28 8:51 ` [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support Oleksij Rempel
@ 2022-06-28 8:51 ` Oleksij Rempel
2022-06-28 10:20 ` Vladimir Oltean
2022-06-28 14:47 ` Florian Fainelli
2022-06-30 3:40 ` [PATCH net-next v2 0/4] net: dsa: add pause stats support patchwork-bot+netdevbpf
4 siblings, 2 replies; 13+ messages in thread
From: Oleksij Rempel @ 2022-06-28 8:51 UTC (permalink / raw)
To: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Oleksij Rempel, kernel, linux-kernel, netdev, Lukas Wunner,
UNGLinuxDriver
This switch is calculating tx/rx_bytes for all packets including pause.
So, include rx/tx_pause counter to rx/tx_packets to make tx/rx_bytes fit
to rx/tx_packets.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
drivers/net/dsa/microchip/ksz_common.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c
index 7c221ec331ee..f5ad9cd8eff5 100644
--- a/drivers/net/dsa/microchip/ksz_common.c
+++ b/drivers/net/dsa/microchip/ksz_common.c
@@ -598,8 +598,10 @@ void ksz_r_mib_stats64(struct ksz_device *dev, int port)
spin_lock(&mib->stats64_lock);
- stats->rx_packets = raw->rx_bcast + raw->rx_mcast + raw->rx_ucast;
- stats->tx_packets = raw->tx_bcast + raw->tx_mcast + raw->tx_ucast;
+ stats->rx_packets = raw->rx_bcast + raw->rx_mcast + raw->rx_ucast +
+ raw->rx_pause;
+ stats->tx_packets = raw->tx_bcast + raw->tx_mcast + raw->tx_ucast +
+ raw->tx_pause;
/* HW counters are counting bytes + FCS which is not acceptable
* for rtnl_link_stats64 interface
--
2.30.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats
2022-06-28 8:51 ` [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats Oleksij Rempel
@ 2022-06-28 10:11 ` Vladimir Oltean
2022-06-28 14:46 ` Florian Fainelli
1 sibling, 0 replies; 13+ messages in thread
From: Vladimir Oltean @ 2022-06-28 10:11 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
kernel, linux-kernel, netdev, Lukas Wunner, UNGLinuxDriver
On Tue, Jun 28, 2022 at 10:51:53AM +0200, Oleksij Rempel wrote:
> Add support for pause stats.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support
2022-06-28 8:51 ` [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support Oleksij Rempel
@ 2022-06-28 10:19 ` Vladimir Oltean
2022-06-28 14:46 ` Florian Fainelli
1 sibling, 0 replies; 13+ messages in thread
From: Vladimir Oltean @ 2022-06-28 10:19 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
kernel, linux-kernel, netdev, Lukas Wunner, UNGLinuxDriver
On Tue, Jun 28, 2022 at 10:51:54AM +0200, Oleksij Rempel wrote:
> Add support for pause specific stats.
>
> Tested on ksz9477.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets
2022-06-28 8:51 ` [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets Oleksij Rempel
@ 2022-06-28 10:20 ` Vladimir Oltean
2022-06-28 14:47 ` Florian Fainelli
1 sibling, 0 replies; 13+ messages in thread
From: Vladimir Oltean @ 2022-06-28 10:20 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Woojung Huh, Andrew Lunn, Vivien Didelot, Florian Fainelli,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
kernel, linux-kernel, netdev, Lukas Wunner, UNGLinuxDriver
On Tue, Jun 28, 2022 at 10:51:55AM +0200, Oleksij Rempel wrote:
> This switch is calculating tx/rx_bytes for all packets including pause.
> So, include rx/tx_pause counter to rx/tx_packets to make tx/rx_bytes fit
> to rx/tx_packets.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
I think this is a reasonable thing to do.
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 1/4] net: dsa: add get_pause_stats support
2022-06-28 8:51 ` [PATCH net-next v2 1/4] net: dsa: add get_pause_stats support Oleksij Rempel
@ 2022-06-28 14:45 ` Florian Fainelli
0 siblings, 0 replies; 13+ messages in thread
From: Florian Fainelli @ 2022-06-28 14:45 UTC (permalink / raw)
To: Oleksij Rempel, Woojung Huh, Andrew Lunn, Vivien Didelot,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: kernel, linux-kernel, netdev, Lukas Wunner, UNGLinuxDriver
On 6/28/2022 1:51 AM, Oleksij Rempel wrote:
> Add support for pause stats
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats
2022-06-28 8:51 ` [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats Oleksij Rempel
2022-06-28 10:11 ` Vladimir Oltean
@ 2022-06-28 14:46 ` Florian Fainelli
1 sibling, 0 replies; 13+ messages in thread
From: Florian Fainelli @ 2022-06-28 14:46 UTC (permalink / raw)
To: Oleksij Rempel, Woojung Huh, Andrew Lunn, Vivien Didelot,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: kernel, linux-kernel, netdev, Lukas Wunner, UNGLinuxDriver
On 6/28/2022 1:51 AM, Oleksij Rempel wrote:
> Add support for pause stats.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support
2022-06-28 8:51 ` [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support Oleksij Rempel
2022-06-28 10:19 ` Vladimir Oltean
@ 2022-06-28 14:46 ` Florian Fainelli
1 sibling, 0 replies; 13+ messages in thread
From: Florian Fainelli @ 2022-06-28 14:46 UTC (permalink / raw)
To: Oleksij Rempel, Woojung Huh, Andrew Lunn, Vivien Didelot,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: kernel, linux-kernel, netdev, Lukas Wunner, UNGLinuxDriver
On 6/28/2022 1:51 AM, Oleksij Rempel wrote:
> Add support for pause specific stats.
>
> Tested on ksz9477.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets
2022-06-28 8:51 ` [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets Oleksij Rempel
2022-06-28 10:20 ` Vladimir Oltean
@ 2022-06-28 14:47 ` Florian Fainelli
1 sibling, 0 replies; 13+ messages in thread
From: Florian Fainelli @ 2022-06-28 14:47 UTC (permalink / raw)
To: Oleksij Rempel, Woojung Huh, Andrew Lunn, Vivien Didelot,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: kernel, linux-kernel, netdev, Lukas Wunner, UNGLinuxDriver
On 6/28/2022 1:51 AM, Oleksij Rempel wrote:
> This switch is calculating tx/rx_bytes for all packets including pause.
> So, include rx/tx_pause counter to rx/tx_packets to make tx/rx_bytes fit
> to rx/tx_packets.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Might have been worth a comment above to explain why the pause frame
counting is appropriate, or we can always go back to git log. Thanks!
--
Florian
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v2 0/4] net: dsa: add pause stats support
2022-06-28 8:51 [PATCH net-next v2 0/4] net: dsa: add pause stats support Oleksij Rempel
` (3 preceding siblings ...)
2022-06-28 8:51 ` [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets Oleksij Rempel
@ 2022-06-30 3:40 ` patchwork-bot+netdevbpf
4 siblings, 0 replies; 13+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-06-30 3:40 UTC (permalink / raw)
To: Oleksij Rempel
Cc: woojung.huh, andrew, vivien.didelot, f.fainelli, olteanv, davem,
edumazet, kuba, pabeni, kernel, linux-kernel, netdev, lukas,
UNGLinuxDriver
Hello:
This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 28 Jun 2022 10:51:51 +0200 you wrote:
> changes v2:
> - add Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
> - remove packet calculation fix from ar9331 patch. It needs more fixes.
> - add packet calculation fix for microchip
>
> Oleksij Rempel (4):
> net: dsa: add get_pause_stats support
> net: dsa: ar9331: add support for pause stats
> net: dsa: microchip: add pause stats support
> net: dsa: microchip: count pause packets together will all other
> packets
>
> [...]
Here is the summary with links:
- [net-next,v2,1/4] net: dsa: add get_pause_stats support
https://git.kernel.org/netdev/net-next/c/3d410403a572
- [net-next,v2,2/4] net: dsa: ar9331: add support for pause stats
https://git.kernel.org/netdev/net-next/c/ea294f39b438
- [net-next,v2,3/4] net: dsa: microchip: add pause stats support
https://git.kernel.org/netdev/net-next/c/c4748ff6566b
- [net-next,v2,4/4] net: dsa: microchip: count pause packets together will all other packets
https://git.kernel.org/netdev/net-next/c/961d6c70d886
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2022-06-30 3:40 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28 8:51 [PATCH net-next v2 0/4] net: dsa: add pause stats support Oleksij Rempel
2022-06-28 8:51 ` [PATCH net-next v2 1/4] net: dsa: add get_pause_stats support Oleksij Rempel
2022-06-28 14:45 ` Florian Fainelli
2022-06-28 8:51 ` [PATCH net-next v2 2/4] net: dsa: ar9331: add support for pause stats Oleksij Rempel
2022-06-28 10:11 ` Vladimir Oltean
2022-06-28 14:46 ` Florian Fainelli
2022-06-28 8:51 ` [PATCH net-next v2 3/4] net: dsa: microchip: add pause stats support Oleksij Rempel
2022-06-28 10:19 ` Vladimir Oltean
2022-06-28 14:46 ` Florian Fainelli
2022-06-28 8:51 ` [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets Oleksij Rempel
2022-06-28 10:20 ` Vladimir Oltean
2022-06-28 14:47 ` Florian Fainelli
2022-06-30 3:40 ` [PATCH net-next v2 0/4] net: dsa: add pause stats support patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.