aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-11-14 11:19:14 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-14 18:16:50 -0800
commit845ef9047b1f4e8ea3b8865140066b08fe93d05c (patch)
tree6a21016c1777540f3f8474af574dcfe4fc4d9ead /drivers/s390/net/qeth_l2_main.c
parentMerge branch 'vsock-add-multi-transports-support' (diff)
downloadlinux-dev-845ef9047b1f4e8ea3b8865140066b08fe93d05c.tar.xz
linux-dev-845ef9047b1f4e8ea3b8865140066b08fe93d05c.zip
s390/qeth: gather more detailed RX dropped/error statistics
Where available, use the fine-grained counters in rtnl_link_stats64 to indicate different RX error causes. For drop reasons, use driver-private ethtool counters. In particular this patch allows us to keep track of driver-side drops due to unknown/unsupported HW descriptor format. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
-rw-r--r--drivers/s390/net/qeth_l2_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index 8f3093d24b12..1e85956f95c6 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -336,6 +336,7 @@ static int qeth_l2_process_inbound_buffer(struct qeth_card *card,
dev_kfree_skb_any(skb);
QETH_CARD_TEXT(card, 3, "inbunkno");
QETH_DBF_HEX(CTRL, 3, hdr, sizeof(*hdr));
+ QETH_CARD_STAT_INC(card, rx_dropped_notsupp);
continue;
}
work_done++;