]> 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)
commited727f3df1b867e6956abc7a9ac3bdf13d5b6c74
treef3815ac136ebecb49b9ea73a20b290981c61c7ff
parentb3695c5c33765c92901dc301b1fff4ed4b5c875e
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