mlx4_core: Support ICM tables in coherent memory
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 1 Aug 2007 09:28:20 +0000 (12:28 +0300)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:15 +0000 (19:59 -0700)
commit5b0bf5e25efea77103b0ac7c8057cd56c778ef41
tree60fc637ca840c2a88563edc495d01f2ad75a5b69
parent04d29b0ede242000b24cfc34cc78fbd164c47e1a
mlx4_core: Support ICM tables in coherent memory

Enable having ICM tables in coherent memory, and use coherent memory
for the dMPT table.  This will allow writing MPT entries for MRs both
via the SW2HW_MPT command and also directly by the driver for FMR
remapping without needing to flush or worry about cacheline boundaries.

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/net/mlx4/icm.c
drivers/net/mlx4/icm.h
drivers/net/mlx4/main.c
drivers/net/mlx4/mlx4.h