]> git.baikalelectronics.ru Git - kernel.git/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)
commitd6a1dbee57b95b90dbe4c1437176cb799f64c901
tree20d09185709dee8aad0f9bb7738724184b3a1f14
parent0f9c730dac0c34e07d19bc213e49c7e47546d6c3
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