blob: 0580541da2f57198bf2939acf843e64554b217fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From e7db22d2a5f57c41ec0a211b5d03b8768a173139 Mon Sep 17 00:00:00 2001
From: Camelia Groza <camelia.groza@nxp.com>
Date: Tue, 13 Jun 2017 16:26:00 +0300
Subject: [PATCH] dpaa_eth: ceetm: adapt to the new gnet stats API
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
---
drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
@@ -1759,7 +1759,8 @@ static int ceetm_cls_dump_stats(struct Q
}
}
- if (gnet_stats_copy_basic(d, NULL, &tmp_bstats) < 0)
+ if (gnet_stats_copy_basic(qdisc_root_sleeping_running(sch),
+ d, NULL, &tmp_bstats) < 0)
return -1;
if (cq && qman_ceetm_cq_get_dequeue_statistics(cq, 0,
|