Lines Matching refs:iocp
325 struct ib_dm_ioc_profile *iocp; in srpt_get_ioc() local
327 iocp = (struct ib_dm_ioc_profile *)mad->data; in srpt_get_ioc()
341 memset(iocp, 0, sizeof *iocp); in srpt_get_ioc()
342 strcpy(iocp->id_string, SRPT_ID_STRING); in srpt_get_ioc()
343 iocp->guid = cpu_to_be64(srpt_service_guid); in srpt_get_ioc()
344 iocp->vendor_id = cpu_to_be32(sdev->dev_attr.vendor_id); in srpt_get_ioc()
345 iocp->device_id = cpu_to_be32(sdev->dev_attr.vendor_part_id); in srpt_get_ioc()
346 iocp->device_version = cpu_to_be16(sdev->dev_attr.hw_ver); in srpt_get_ioc()
347 iocp->subsys_vendor_id = cpu_to_be32(sdev->dev_attr.vendor_id); in srpt_get_ioc()
348 iocp->subsys_device_id = 0x0; in srpt_get_ioc()
349 iocp->io_class = cpu_to_be16(SRP_REV16A_IB_IO_CLASS); in srpt_get_ioc()
350 iocp->io_subclass = cpu_to_be16(SRP_IO_SUBCLASS); in srpt_get_ioc()
351 iocp->protocol = cpu_to_be16(SRP_PROTOCOL); in srpt_get_ioc()
352 iocp->protocol_version = cpu_to_be16(SRP_PROTOCOL_VERSION); in srpt_get_ioc()
353 iocp->send_queue_depth = cpu_to_be16(sdev->srq_size); in srpt_get_ioc()
354 iocp->rdma_read_depth = 4; in srpt_get_ioc()
355 iocp->send_size = cpu_to_be32(srp_max_req_size); in srpt_get_ioc()
356 iocp->rdma_size = cpu_to_be32(min(sport->port_attrib.srp_max_rdma_size, in srpt_get_ioc()
358 iocp->num_svc_entries = 1; in srpt_get_ioc()
359 iocp->op_cap_mask = SRP_SEND_TO_IOC | SRP_SEND_FROM_IOC | in srpt_get_ioc()