1
linux/drivers/infiniband/ulp/ipoib
Roland Dreier e6ded99cbb [PATCH] IPoIB: fix static rate calculation
Correct and simplify calculation of static rate.  We need to round up the
quotient of (local_rate - path_rate) / path_rate.  To round up we add
(path_rate - 1) to the numerator, so the quotient simplifies to (local_rate -
1) / path_rate.

No idea how I came up with the old formula.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:26:06 -07:00
..
ipoib_fs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipoib_ib.c [PATCH] IPoIB: set skb->mac.raw on receive 2005-04-16 15:26:05 -07:00
ipoib_main.c [PATCH] IPoIB: fix static rate calculation 2005-04-16 15:26:06 -07:00
ipoib_multicast.c [PATCH] IPoIB: fix static rate calculation 2005-04-16 15:26:06 -07:00
ipoib_verbs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipoib_vlan.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipoib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00