mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00: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:
parent
4312782479
commit
c5a9f6f0ab
3 changed files with 13 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue