diff options
author | Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com> | 2018-11-26 17:27:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-28 19:57:46 +0100 |
commit | a4a7b762eb21755bce190de1b75ba7e32bfab4e0 (patch) | |
tree | b65f4dae9d976e07d0d3bd6f83ef38ffefb49517 /drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c | |
parent | dpaa2-eth: Cleanup channel stats (diff) | |
download | linux-a4a7b762eb21755bce190de1b75ba7e32bfab4e0.tar.xz linux-a4a7b762eb21755bce190de1b75ba7e32bfab4e0.zip |
dpaa2-eth: Add xdp counters
Add counters for xdp processed frames to the channel statistics.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c b/drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c index 79eeebeb1ffe..0c831bffeb92 100644 --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c @@ -45,6 +45,9 @@ static char dpaa2_ethtool_extras[][ETH_GSTRING_LEN] = { "[drv] dequeue portal busy", "[drv] channel pull errors", "[drv] cdan", + "[drv] xdp drop", + "[drv] xdp tx", + "[drv] xdp tx errors", }; #define DPAA2_ETH_NUM_EXTRA_STATS ARRAY_SIZE(dpaa2_ethtool_extras) |