net/core: Add drop counters to VF statistics
authorEugenia Emantayev <eugenia@mellanox.com>
Mon, 17 Jul 2017 10:47:07 +0000 (13:47 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 9 Jan 2018 05:40:48 +0000 (07:40 +0200)
commitc5a9f6f0ab4054082dd5ce9bbdaa8e8ff05cf365
treef3815ac136ebecb49b9ea73a20b290981c61c7ff
parent4312782479fbf7c5efb9a6f19ad90f8d924055c1
net/core: Add drop counters to VF statistics

Modern hardware can decide to drop packets going to/from a VF.
Add receive and transmit drop counters to be displayed at hypervisor
layer in iproute2 per VF statistics.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/if_link.h
include/uapi/linux/if_link.h
net/core/rtnetlink.c