commit | 9616982f3fcc9e6577d7f41009c4ef2df19a71ec | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Mon Jun 15 17:59:05 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 15 17:23:02 2015 -0700 |
tree | 96f0e59cff49a2b82fe94cb08c0dc6c65ef0ca6c | |
parent | 7193a141eb74579ce7ff242c9f842a5c36c4bf69 [diff] |
net/mlx4_core: Add helper to query counters This is an infrastructure step for querying VF and PF counters. This code was in the IB driver, move it to the mlx4 core driver so it will be accessible for more use cases. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>