commit | 178d23e3cd4811ebe702d60ac31e8bee389a5847 | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@mellanox.com> | Wed Jul 22 16:53:46 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 26 16:29:25 2015 -0700 |
tree | 084e59e1c2f18649551b3c742f48aafc5930b328 | |
parent | 963ad94853000ab100f5ff19eea80095660d41b4 [diff] |
net/mlx4_core: Use sink counter for the VF default as fallback Some old PF drivers don't let VFs allocate counters, in that case, use the sink counter so the VF can load and operate properly. Fixes: 6de5f7f6a1fa ('net/mlx4_core: Allocate default counter per port') Reported-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>