mlx4_core: Write MTTs from CPU instead with of WRITE_MTT FW command
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 1 Aug 2007 09:28:53 +0000 (12:28 +0300)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:16 +0000 (19:59 -0700)
commitd7bb58fb1c0e7264a7261c7d0304121ef9402e94
treeaefbae7ee4b4b84022a7646372ddfcdb0a99e72f
parent121964ec38d3e17b5ea6183b3c0571df2f4b0eb6
mlx4_core: Write MTTs from CPU instead with of WRITE_MTT FW command

Write MTT entries directly to ICM from the driver (eliminating use of
WRITE_MTT command).  This reduces the number of FW commands needed to
register an MR by at least a factor of 2 and speeds up memory
registration significantly.  This code will also be used to implement
FMRs.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/mr.c
drivers/net/mlx4/icm.c
drivers/net/mlx4/icm.h
drivers/net/mlx4/main.c
drivers/net/mlx4/mr.c