From: Or Gerlitz Date: Wed, 22 Jul 2015 13:53:46 +0000 (+0300) Subject: net/mlx4_core: Use sink counter for the VF default as fallback X-Git-Tag: omap-for-v4.3/fixes-merge-window~158^2~34^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=178d23e3cd4811ebe702d60ac31e8bee389a5847;p=pandora-kernel.git 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 Signed-off-by: Or Gerlitz Signed-off-by: Eran Ben Elisha Signed-off-by: David S. Miller --- Reading git-diff-tree failed