]> err.no Git - linux-2.6/commit
RDMA/cxgb3: Fix MR permission problems
authorSteve Wise <swise@opengridcomputing.com>
Tue, 6 Mar 2007 20:44:07 +0000 (14:44 -0600)
committerRoland Dreier <rolandd@cisco.com>
Tue, 6 Mar 2007 20:51:02 +0000 (12:51 -0800)
commite64518f3736971f22d5c22a6bab40891d2db337f
treea2ae27fac4f9630aa8f92d7e68e683e0a054b67f
parent1f6a849b7ce6c3007088cd437dfc2b9c7cb5d21e
RDMA/cxgb3: Fix MR permission problems

Fix memory region permission problems:

- remove useless and redundant iwch_mem_perms enum.

- create ib_to_tpt_access_rights() for mapping ib access rights
  to T3 TPT permissions.

- create ib_to_mwbind_access_rights() for mapping ib access rights
  to T3 MWBIND WR permissions.

- fix up the mem reg code to utilize the new functions.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c
drivers/infiniband/hw/cxgb3/iwch_provider.h
drivers/infiniband/hw/cxgb3/iwch_qp.c