[openib-general] Naming police
Roland Dreier
roland at topspin.com
Wed Sep 29 15:18:12 PDT 2004
Hal> In ib_verbs.h, in ib_ah_attr struct, it is src_path_bits
Hal> whereas
Hal> in ib_wc struct, it is dlid_path_bits
Hal> Should the latter be dest_path_bits for naming consistency ?
Maybe, although the two fields really are different -- in ib_ah_attr
we are telling the HCA what value to use for the source LID in the
message it sends. In ib_wc we are getting the value in the
destination LID of the message we just received.
- Roland
More information about the general
mailing list