layerscape: add ls1088ardb device support
[openwrt/staging/lynxis/omap.git] / target / linux / layerscape / patches-4.4 / 7203-fsl-dpaa2-eth-Update-description-of-DPNI-counters.patch
1 From 727de4692d731655dea96702aa099f4f4d3a5203 Mon Sep 17 00:00:00 2001
2 From: Bogdan Hamciuc <bogdan.hamciuc@nxp.com>
3 Date: Mon, 21 Mar 2016 16:10:01 +0200
4 Subject: [PATCH 203/226] fsl-dpaa2: eth: Update description of DPNI counters
5
6 Update description of DPNI counters presented with "ethtool -S".
7
8 Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@nxp.com>
9 (cherry picked from commit f68aab60355d00af13fdff2ded7bf38809beacd3)
10 ---
11 drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c | 9 ++++++---
12 1 file changed, 6 insertions(+), 3 deletions(-)
13
14 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c
15 +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c
16 @@ -39,15 +39,18 @@
17 char dpaa2_ethtool_stats[][ETH_GSTRING_LEN] = {
18 "rx frames",
19 "rx bytes",
20 - "rx frames dropped",
21 - "rx err frames",
22 + /* rx frames filtered/policed */
23 + "rx filtered frames",
24 + /* rx frames dropped with errors */
25 + "rx discarded frames",
26 "rx mcast frames",
27 "rx mcast bytes",
28 "rx bcast frames",
29 "rx bcast bytes",
30 "tx frames",
31 "tx bytes",
32 - "tx err frames",
33 + /* tx frames dropped with errors */
34 + "tx discarded frames",
35 };
36
37 #define DPAA2_ETH_NUM_STATS ARRAY_SIZE(dpaa2_ethtool_stats)