]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9abf1fd5040f671f9d701d92d068dbaebd87544
treef3815ac136ebecb49b9ea73a20b290981c61c7ff
parent1f91089594348b9c71eb9773dbb40fa098377262
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