summaryrefslogtreecommitdiff
path: root/include/uapi/linux/if_link.h
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.com>2017-07-17 13:47:07 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-01-09 08:40:48 +0300
commitc5a9f6f0ab4054082dd5ce9bbdaa8e8ff05cf365 (patch)
treef3815ac136ebecb49b9ea73a20b290981c61c7ff /include/uapi/linux/if_link.h
parent4312782479fbf7c5efb9a6f19ad90f8d924055c1 (diff)
downloadlinux-c5a9f6f0ab4054082dd5ce9bbdaa8e8ff05cf365.tar.xz
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>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r--include/uapi/linux/if_link.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 19fc02660e0c..f8f04fed6186 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -732,6 +732,8 @@ enum {
IFLA_VF_STATS_BROADCAST,
IFLA_VF_STATS_MULTICAST,
IFLA_VF_STATS_PAD,
+ IFLA_VF_STATS_RX_DROPPED,
+ IFLA_VF_STATS_TX_DROPPED,
__IFLA_VF_STATS_MAX,
};