IB/mlx5: Initialize mlx5_ib_qp signature-related members
authorSagi Grimberg <sagig@mellanox.com>
Sun, 23 Feb 2014 12:19:07 +0000 (14:19 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 7 Mar 2014 19:26:49 +0000 (11:26 -0800)
commite1e66cc26457c2e9412f67618646ec2a441fc409
treecc2b454307a07bf68242e7e7025e0bcf8d1b3c32
parent3121e3c441b5eccdd15e6c320ec32215b334b9ec
IB/mlx5: Initialize mlx5_ib_qp signature-related members

If user requested signature enable we initialize relevant mlx5_ib_qp
members.  We mark the qp as sig_enable and we increase the effective
SQ size, but still limit the user max_send_wr to original size
computed.  We also allow the create_qp routine to accept sig_enable
create flag.

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