mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Saeed Mahameed
parent
4312782479
commit
c5a9f6f0ab
@@ -13,6 +13,8 @@ struct ifla_vf_stats {
|
||||
__u64 tx_bytes;
|
||||
__u64 broadcast;
|
||||
__u64 multicast;
|
||||
__u64 rx_dropped;
|
||||
__u64 tx_dropped;
|
||||
};
|
||||
|
||||
struct ifla_vf_info {
|
||||
|
Reference in New Issue
Block a user