[openib-general] Static Rate Questions
Dror Goldenberg
gdror at mellanox.co.il
Sat Apr 16 14:09:00 PDT 2005
Hi,
I have couple of questions regarding static rate implementation.
- In struct ib_ah_attr, static_rate is defined as u8. What are the
expected values that static_rate is supposed to take ? Is it
absolute Gb/s ? Gb/s in 2.5Gb/s units ? or relative rate to
port speed ?
Looking at ipoib_main I understand that the static_rate is supposed
to be the relative rate to port speed. In other words, a divider for the
current port speed.
- For some reason I don't static_rate initialization for SDP. This should
either be in SDP code or in the CM (cm_init_qp_rtr_attr()).
- In mthca, there are two places setting up the static_rate. One
for AH which looks fine. The other one for QP which I believe has
a bug.
mthca_qp.c:
qp_context->pri_path.static_rate = (!!attr->ah_attr.static_rate) <<
3;
Should be
qp_context->pri_path.static_rate = (!!attr->ah_attr.static_rate);
Because max_stat_rate is bits 10:3 at offset 8h of Address Path.
- A question for next generation HW. Would you find it more useful that the
HCA supports static rate as an absolute speed (Gb/s) or as a relative
ratio to
the current port speed ?
Thanks
Dror
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050417/d6cf8dd2/attachment.html>
More information about the general
mailing list