IB/ehca: Fix static rate calculation
authorJoachim Fenkes <fenkes@de.ibm.com>
Fri, 2 Nov 2007 13:41:49 +0000 (15:41 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 13 Nov 2007 23:27:00 +0000 (15:27 -0800)
The IPD (inter-packet delay) formula was a little off and assumed a
fixed physical link rate; fix the formula and query the actual
physical link rate, now that we can get it.  Also, refactor the
calculation into a common function ehca_calc_ipd() and use that
instead of duplicating code.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found