Lines Matching +refs:param +refs:id +refs:attrs

250 	u16 id;  in srpt_set_ioc()  local
253 id = (slot - 1) / 2; in srpt_set_ioc()
255 tmp = c_list[id] & 0xf; in srpt_set_ioc()
256 c_list[id] = (value << 4) | tmp; in srpt_set_ioc()
258 tmp = c_list[id] & 0xf0; in srpt_set_ioc()
259 c_list[id] = (value & 0xf) | tmp; in srpt_set_ioc()
343 sdev->device->attrs.max_qp_wr); in srpt_get_ioc()
348 iocp->vendor_id = cpu_to_be32(sdev->device->attrs.vendor_id); in srpt_get_ioc()
349 iocp->device_id = cpu_to_be32(sdev->device->attrs.vendor_part_id); in srpt_get_ioc()
350 iocp->device_version = cpu_to_be16(sdev->device->attrs.hw_ver); in srpt_get_ioc()
351 iocp->subsys_vendor_id = cpu_to_be32(sdev->device->attrs.vendor_id); in srpt_get_ioc()
401 svc_entries->service_entries[0].id = cpu_to_be64(ioc_guid); in srpt_get_svc_entries()
1787 const struct ib_device_attr *attrs = &sdev->device->attrs; in srpt_create_ch_ib() local
1823 qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); in srpt_create_ch_ib()
1825 qp_init->cap.max_send_sge = attrs->max_send_sge; in srpt_create_ch_ib()
2237 ch->rq_size = min(MAX_SRPT_RQ_SIZE, sdev->device->attrs.max_qp_wr); in srpt_cm_req_recv()
2528 const struct ib_cm_req_event_param *param, in srpt_ib_cm_req_recv() argument
2534 &param->primary_path->dgid.global.interface_id); in srpt_ib_cm_req_recv()
2536 return srpt_cm_req_recv(cm_id->context, cm_id, NULL, param->port, in srpt_ib_cm_req_recv()
2537 param->primary_path->pkey, in srpt_ib_cm_req_recv()
2554 if (event->param.conn.private_data_len < sizeof(*req_rdma)) in srpt_rdma_cm_req_recv()
2558 req_rdma = event->param.conn.private_data; in srpt_rdma_cm_req_recv()
2651 ret = srpt_ib_cm_req_recv(cm_id, &event->param.req_rcvd, in srpt_cm_handler()
2655 srpt_cm_rej_recv(ch, event->param.rej_rcvd.reason, in srpt_cm_handler()
2706 event->param.conn.private_data, in srpt_rdma_cm_handler()
2707 event->param.conn.private_data_len); in srpt_rdma_cm_handler()
3078 sdev->device->attrs.max_srq_wr, dev_name(&device->dev)); in srpt_alloc_srq()
3168 sdev->srq_size = min(srpt_srq_size, sdev->device->attrs.max_srq_wr); in srpt_add_one()