diff options
author | Eran Ben Elisha <[email protected]> | 2015-06-15 17:58:59 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-06-15 17:23:01 -0700 |
commit | 2632d18d3ae75f6bdb79550134d1087fbd809e5f (patch) | |
tree | 66d27c4bf46a5758d341f39866fc50517b1999e2 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 47d8417f5914012c794684f651213ffae1b91619 (diff) |
net/mlx4_core: Remove counters table allocation from VF flow
Since virtual functions get their counters indices allocation from the PF,
allocate counters indices bitmap only in case the function isn't virtual.
Also, check that the device has counters to allocate before creating the
indices bitmap table.
Signed-off-by: Eran Ben Elisha <[email protected]>
Signed-off-by: Hadar Hen Zion <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions