diff options
author | Joan Eslinger <joan.eslinger@qlogic.com> | 2007-06-18 14:24:39 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-09 20:12:26 -0700 |
commit | f716cdfe57f217966f41a7add190d6f5b9fd0769 (patch) | |
tree | fbcbdbddbbcea403d52ee641d2a63b74ce1e9f2f /mm/shmem.c | |
parent | 1dd6a1be1416be48cafda9e63a614f26f0428d10 (diff) |
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 <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions