return !attr->srq;
}
++++++ ++++++static int qp0_enabled_vf(struct mlx4_dev *dev, int qpn)
++++++ ++++++{
++++++ ++++++ int i;
++++++ ++++++ for (i = 0; i < dev->caps.num_ports; i++) {
++++++ ++++++ if (qpn == dev->caps.qp0_proxy[i])
++++++ ++++++ return !!dev->caps.qp0_qkey[i];
++++++ ++++++ }
++++++ ++++++ return 0;
++++++ ++++++}
++++++ ++++++
static int create_qp_common(struct mlx4_ib_dev *dev, struct ib_pd *pd,
struct ib_qp_init_attr *init_attr,
-------- ---- struct ib_udata *udata, int sqpn, struct mlx4_ib_qp **caller_qp)
++++++++ ++++ struct ib_udata *udata, int sqpn, struct mlx4_ib_qp **caller_qp,
++++++++ ++++ gfp_t gfp)
{
int qpn;
int err;