From: Or Gerlitz Date: Tue, 28 Feb 2012 16:49:50 +0000 (+0200) Subject: IB: Use central enum for speed instead of hard-coded values X-Git-Tag: v3.4-rc1~169^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e96691c31ecf749f48aa94ea837b95dd656f5c2;p=pandora-kernel.git IB: Use central enum for speed instead of hard-coded values The kernel IB stack uses one enumeration for IB speed, which wasn't explicitly specified in the verbs header file. Add that enum, and use it all over the code. The IB speed/width notation is also used by iWARP and IBoE HW drivers, which use the convention of rate = speed * width to advertise their port link rate. Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed