From: Eran Ben Elisha Date: Mon, 15 Jun 2015 14:58:58 +0000 (+0300) Subject: net/mlx4_core: Add sink counter X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~58^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47d8417f5914012c794684f651213ffae1b91619;p=pandora-kernel.git net/mlx4_core: Add sink counter Reserve the last valid counter index for "sink" counter, when a new counter cannot be allocated, the driver will use this counter. In order to avoid allocating this counter on any other flow, fix the indices bitmap allocation range, and reserve the sink counter index. Add macro for the sink counter index and replace all appearences of the index with the macro. 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