diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2018-01-14 00:56:25 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-03-26 13:47:11 -0700 |
commit | aaabd0783b1cf46569f5fc1c60d79709815497fc (patch) | |
tree | bae8e6d8fd75187988ea848b28dc4a5349554c2f /include/linux/powercap.h | |
parent | 5c298143be17f5100656b9c140af672c644116d9 (diff) | |
download | linux-aaabd0783b1cf46569f5fc1c60d79709815497fc.tar.gz linux-aaabd0783b1cf46569f5fc1c60d79709815497fc.tar.xz |
net/mlx5: Add packet dropped while vport down statistics
Added the following packets dropped while vport down statistics:
Rx dropped while vport down - counts packets which were steered by
e-switch to a vport, but dropped since the vport was down. This counter
will be shown on ip link tool as part of the vport rx_dropped counter.
Tx dropped while vport down - counts packets which were transmitted by
a vport, but dropped due to vport logical link down. This counter
will be shown on ip link tool as part of the vport tx_dropped counter.
The counters are read from FW by command QUERY_VNIC_ENV.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/powercap.h')
0 files changed, 0 insertions, 0 deletions