summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2015-06-15 17:59:00 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-15 17:23:01 -0700
commit9de92c60beaac0a05d984ea72fc474196e1dd5a6 (patch)
tree7196d88596c366351c48c707aec5b81563769ece /drivers/base
parent2632d18d3ae75f6bdb79550134d1087fbd809e5f (diff)
downloadlinux-9de92c60beaac0a05d984ea72fc474196e1dd5a6.tar.bz2
net/mlx4_core: Adjust counter grant policy in the resource tracker
Each physical function has a guarantee of two counters per port, one for a default counter and one for the IB driver. Each virtual function has a guarantee of one counter per port. All other counters are free and can be obtained on demand. This is a preparation step for supporting a get_vf_stats ndo call, so we can promise a counter for every VF in order to collect their statistics from the PF context. 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>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions