]> err.no Git - linux-2.6/commit
mlx4_core: Set RAE and init mtt_sz field in FRMR MPT entries
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Tue, 2 Sep 2008 20:38:29 +0000 (13:38 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 2 Sep 2008 20:38:29 +0000 (13:38 -0700)
commitc9257433f2eaf8803a1f3d3be5d984232db41ffe
tree20d09185709dee8aad0f9bb7738724184b3a1f14
parent1941246dd98089dd637f44d3bd4f6cc1c61aa9e4
mlx4_core: Set RAE and init mtt_sz field in FRMR MPT entries

Set the RAE (remote access enable) bit and correctly initialize the
MTT size in MPT entries being set up for fast register memory
regions.  Otherwise the callers can't enable remote access and in fact
can't fast register at all (since the HCA will think no MTT entries
are allocated).

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/mr.c