From: Joachim Fenkes Date: Fri, 2 Nov 2007 13:41:49 +0000 (+0200) Subject: IB/ehca: Fix static rate calculation X-Git-Tag: v2.6.24-rc3~14^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51aaa54eb9e9f01878aa5d62277fd156e458dfe1;p=pandora-kernel.git IB/ehca: Fix static rate calculation 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed