IB/mlx5: Use enumerations for PI copy mask
authorSagi Grimberg <sagig@mellanox.com>
Wed, 13 Aug 2014 16:54:29 +0000 (19:54 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 9 Oct 2014 07:10:53 +0000 (00:10 -0700)
commitfd22f78cf7b95102d8e5b988afe27165e47471fc
tree280a55566556f024072d097481eefd66b900ecad
parentb261aeafe115256c9b4589dd7bd4ca877eb0fa6c
IB/mlx5: Use enumerations for PI copy mask

In case input and output space parameters match, we can use a copy
mask from input and output space.  Use enums for those.

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