svn commit: r320371 - stable/9/sys/dev/qlxgbe
David C Somayajulu
davidcs at FreeBSD.org
Mon Jun 26 19:40:12 UTC 2017
Author: davidcs
Date: Mon Jun 26 19:40:10 2017
New Revision: 320371
URL: https://svnweb.freebsd.org/changeset/base/320371
Log:
MFC r320175
Add pkts_cnt_oversized to stats.
Modified:
stable/9/sys/dev/qlxgbe/ql_hw.c
stable/9/sys/dev/qlxgbe/ql_hw.h
Directory Properties:
stable/9/ (props changed)
stable/9/sys/ (props changed)
Modified: stable/9/sys/dev/qlxgbe/ql_hw.c
==============================================================================
--- stable/9/sys/dev/qlxgbe/ql_hw.c Mon Jun 26 19:36:24 2017 (r320370)
+++ stable/9/sys/dev/qlxgbe/ql_hw.c Mon Jun 26 19:40:10 2017 (r320371)
@@ -1554,6 +1554,8 @@ qla_rcv_stats(qla_host_t *ha, q80_rcv_stats_t *rstat)
rstat->lro_flows_active);
device_printf(dev, "%s: pkts_droped_unknown\t\t%" PRIu64 "\n",
__func__, rstat->pkts_droped_unknown);
+ device_printf(dev, "%s: pkts_cnt_oversized\t\t%" PRIu64 "\n",
+ __func__, rstat->pkts_cnt_oversized);
}
static void
Modified: stable/9/sys/dev/qlxgbe/ql_hw.h
==============================================================================
--- stable/9/sys/dev/qlxgbe/ql_hw.h Mon Jun 26 19:36:24 2017 (r320370)
+++ stable/9/sys/dev/qlxgbe/ql_hw.h Mon Jun 26 19:40:10 2017 (r320371)
@@ -748,6 +748,7 @@ typedef struct _q80_rcv_stats {
uint64_t lro_flows_deleted;
uint64_t lro_flows_active;
uint64_t pkts_droped_unknown;
+ uint64_t pkts_cnt_oversized;
} __packed q80_rcv_stats_t;
typedef struct _q80_xmt_stats {
More information about the svn-src-stable-9
mailing list