From: Mike Marciniszyn Date: Fri, 7 Mar 2014 13:40:55 +0000 (-0500) Subject: IB/qib: Modify software pma counters to use percpu variables X-Git-Tag: v3.15-rc1~103^2^9~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d7632add8dd99f68b21546efff08a5a162de184;p=pandora-kernel.git IB/qib: Modify software pma counters to use percpu variables The counters, unicast_xmit, unicast_rcv, multicast_xmit, multicast_rcv are now maintained as percpu variables. The mad code is modified to add a z_ latch so that the percpu counters monotonically increase with appropriate adjustments in the reset, read logic to maintain the z_ latch. This patch also corrects the fact the unitcast_xmit wasn't handled at all for UC and RC QPs. Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- Reading git-diff-tree failed