]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Remove MTT access mode from umr flags helper function
authorSagi Grimberg <sagig@mellanox.com>
Sun, 23 Feb 2014 12:19:09 +0000 (14:19 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 7 Mar 2014 19:26:49 +0000 (11:26 -0800)
commitaa8b6cca67f6884a9a6911386358b3426d888a12
treef1f43b5ed454f4fcc4d1cf5b5c4b840964ef2cd9
parent13dcc02967db77943e986759a5ff417806f4350e
IB/mlx5: Remove MTT access mode from umr flags helper function

get_umr_flags helper function might be used for types of access modes
other than ACCESS_MODE_MTT, such as ACCESS_MODE_KLM.  So remove it from
helper, and callers will add their own access mode flag.

This commit does not add/change functionality.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c