From: Eran Ben Elisha Date: Mon, 15 Jun 2015 14:58:59 +0000 (+0300) Subject: net/mlx4_core: Remove counters table allocation from VF flow X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~58^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2632d18d3ae75f6bdb79550134d1087fbd809e5f;p=pandora-kernel.git 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 Signed-off-by: Hadar Hen Zion Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed