[openib-general] Re: mthca_tavor_post_send() question
Roland Dreier
roland at topspin.com
Tue Jun 14 12:05:22 PDT 2005
James> In mthca_tavor_post_send() at line 1524 of
James> hw/mthca/mthca_qp.c, an int variable, "ind", is used to
James> store the unsigned "next_ind" value. Why does "ind" not
James> need to represent all of the possible "next_ind" values?
James> Should the type of "ind" also be unsigned?
I don't think it makes much practical difference, since the largest
value they'll store is 65535. It might be cleaner to change them to
match, although I don't know which one should change.
- R.
More information about the general
mailing list