History

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.

Eugenia Emantayev committed 9 years ago

Commit c5a9f6f1 parent 43127823 files · +13 −1Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/if_link.h+2−0
@@ -732,6 +732,8 @@ enum { · 731 unmodified lines
732 IFLA_VF_STATS_BROADCAST,732 IFLA_VF_STATS_BROADCAST,
733 IFLA_VF_STATS_MULTICAST,733 IFLA_VF_STATS_MULTICAST,
734 IFLA_VF_STATS_PAD,734 IFLA_VF_STATS_PAD,
735 IFLA_VF_STATS_RX_DROPPED,
736 IFLA_VF_STATS_TX_DROPPED,
735 __IFLA_VF_STATS_MAX,737 __IFLA_VF_STATS_MAX,
736};738};
737 739