From: Joan Eslinger Date: Mon, 18 Jun 2007 21:24:39 +0000 (-0700) Subject: IB/ipath: Change use of constants for TID type to defined values X-Git-Tag: v2.6.23-rc1~1085^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f716cdfe57f217966f41a7add190d6f5b9fd0769;p=pandora-kernel.git IB/ipath: Change use of constants for TID type to defined values Define pkt rcvd 'type' in a way consistent with HW spec and chips. The hardware considers received packets of type 0 to be expected, and type 1 to be eager. The driver was calling the ipath_f_put_tid functions using a variable called 'type' set to 0 for eager and to 1 for expected packets. Worse, the iba6110 and iba6120 drivers used those values inconsistently. This was quite confusing. Now everything is consistent with the hardware. Signed-off-by: Dave Olson Signed-off-by: Roland Dreier --- Reading git-diff-tree failed