Lines Matching refs:iocp
322 struct ib_dm_ioc_profile *iocp; in srpt_get_ioc() local
325 iocp = (struct ib_dm_ioc_profile *)mad->data; in srpt_get_ioc()
345 memset(iocp, 0, sizeof(*iocp)); in srpt_get_ioc()
346 strcpy(iocp->id_string, SRPT_ID_STRING); in srpt_get_ioc()
347 iocp->guid = cpu_to_be64(srpt_service_guid); 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()
352 iocp->subsys_device_id = 0x0; in srpt_get_ioc()
353 iocp->io_class = cpu_to_be16(SRP_REV16A_IB_IO_CLASS); in srpt_get_ioc()
354 iocp->io_subclass = cpu_to_be16(SRP_IO_SUBCLASS); in srpt_get_ioc()
355 iocp->protocol = cpu_to_be16(SRP_PROTOCOL); in srpt_get_ioc()
356 iocp->protocol_version = cpu_to_be16(SRP_PROTOCOL_VERSION); in srpt_get_ioc()
357 iocp->send_queue_depth = cpu_to_be16(send_queue_depth); in srpt_get_ioc()
358 iocp->rdma_read_depth = 4; in srpt_get_ioc()
359 iocp->send_size = cpu_to_be32(srp_max_req_size); in srpt_get_ioc()
360 iocp->rdma_size = cpu_to_be32(min(sport->port_attrib.srp_max_rdma_size, in srpt_get_ioc()
362 iocp->num_svc_entries = 1; in srpt_get_ioc()
363 iocp->op_cap_mask = SRP_SEND_TO_IOC | SRP_SEND_FROM_IOC | in srpt_get_ioc()