aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorStephen Hemminger <sthemmin@microsoft.com>2016-09-22 16:56:35 -0700
committerDavid S. Miller <davem@davemloft.net>2016-09-23 08:39:49 -0400
commitf7ad75b753f386454f50044fd69edad767b69ce8 (patch)
treec8dc065962c44292584cd7c48e8d6bcaeb613bb3 /drivers/net/hyperv/hyperv_net.h
parenthv_netvsc: remove VF in flight counters (diff)
downloadlinux-dev-f7ad75b753f386454f50044fd69edad767b69ce8.tar.xz
linux-dev-f7ad75b753f386454f50044fd69edad767b69ce8.zip
hv_netvsc: count multicast packets received
Useful for debugging issues with multicast and SR-IOV to keep track of number of received multicast packets. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 1d4974026eff..7130bf910f52 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -649,6 +649,8 @@ struct multi_recv_comp {
struct netvsc_stats {
u64 packets;
u64 bytes;
+ u64 broadcast;
+ u64 multicast;
struct u64_stats_sync syncp;
};