/openbmc/linux/drivers/nvme/target/ |
H A D | fabrics-cmd.c | 141 u16 sqsize = le16_to_cpu(c->sqsize); in nvmet_install_queue() local 146 if (!sqsize) { in nvmet_install_queue() 148 req->error_loc = offsetof(struct nvmf_connect_command, sqsize); in nvmet_install_queue() 149 req->cqe->result.u32 = IPO_IATTR_CONNECT_SQE(sqsize); in nvmet_install_queue() 160 if (sqsize > mqes) { in nvmet_install_queue() 162 sqsize, mqes, ctrl->cntlid); in nvmet_install_queue() 163 req->error_loc = offsetof(struct nvmf_connect_command, sqsize); in nvmet_install_queue() 164 req->cqe->result.u32 = IPO_IATTR_CONNECT_SQE(sqsize); in nvmet_install_queue() 176 nvmet_cq_setup(ctrl, req->cq, qid, sqsize + 1); in nvmet_install_queue() 177 nvmet_sq_setup(ctrl, req->sq, qid, sqsize + 1); in nvmet_install_queue()
|
H A D | fc.c | 134 u16 sqsize; member 643 for (i = 0; i < queue->sqsize; fod++, i++) { in nvmet_fc_prep_fcp_iodlist() 678 for (i = 0; i < queue->sqsize; fod++, i++) { in nvmet_fc_destroy_fcp_iodlist() 802 u16 qid, u16 sqsize) in nvmet_fc_alloc_target_queue() argument 810 queue = kzalloc(struct_size(queue, fod, sqsize), GFP_KERNEL); in nvmet_fc_alloc_target_queue() 821 queue->sqsize = sqsize; in nvmet_fc_alloc_target_queue() 897 for (i = 0; i < queue->sqsize; fod++, i++) { in nvmet_fc_delete_target_queue() 1690 be16_to_cpu(rqst->assoc_cmd.sqsize))) in nvmet_fc_ls_create_association() 1701 be16_to_cpu(rqst->assoc_cmd.sqsize)); in nvmet_fc_ls_create_association() 1781 be16_to_cpu(rqst->connect_cmd.sqsize))) in nvmet_fc_ls_create_connection() [all …]
|
H A D | trace.c | 157 u16 sqsize = get_unaligned_le16(spc + 4); in nvmet_trace_fabrics_connect() local 162 recfmt, qid, sqsize, cattr, kato); in nvmet_trace_fabrics_connect()
|
H A D | loop.c | 591 ctrl->ctrl.sqsize = opts->queue_size - 1; in nvme_loop_create_ctrl()
|
/openbmc/linux/include/linux/ |
H A D | nvme-fc.h | 260 __be16 sqsize; member 288 __be16 sqsize; member
|
H A D | nvme.h | 1521 __le16 sqsize; member
|
/openbmc/linux/drivers/nvme/host/ |
H A D | rdma.c | 740 ctrl->ctrl.sqsize + 1); in nvme_rdma_alloc_io_queues() 1027 if (ctrl->ctrl.opts->queue_size > ctrl->ctrl.sqsize + 1) { in nvme_rdma_setup_ctrl() 1030 ctrl->ctrl.opts->queue_size, ctrl->ctrl.sqsize + 1); in nvme_rdma_setup_ctrl() 1033 if (ctrl->ctrl.sqsize + 1 > NVME_RDMA_MAX_QUEUE_SIZE) { in nvme_rdma_setup_ctrl() 1036 ctrl->ctrl.sqsize + 1, NVME_RDMA_MAX_QUEUE_SIZE); in nvme_rdma_setup_ctrl() 1037 ctrl->ctrl.sqsize = NVME_RDMA_MAX_QUEUE_SIZE - 1; in nvme_rdma_setup_ctrl() 1040 if (ctrl->ctrl.sqsize + 1 > ctrl->ctrl.maxcmd) { in nvme_rdma_setup_ctrl() 1043 ctrl->ctrl.sqsize + 1, ctrl->ctrl.maxcmd); in nvme_rdma_setup_ctrl() 1044 ctrl->ctrl.sqsize = ctrl->ctrl.maxcmd - 1; in nvme_rdma_setup_ctrl() 1863 priv.hsqsize = cpu_to_le16(queue->ctrl->ctrl.sqsize); in nvme_rdma_route_resolved() [all …]
|
H A D | trace.c | 269 u16 sqsize = get_unaligned_le16(spc + 4); in nvme_trace_fabrics_connect() local 274 recfmt, qid, sqsize, cattr, kato); in nvme_trace_fabrics_connect()
|
H A D | fabrics.c | 403 cmd->connect.sqsize = cpu_to_le16(ctrl->sqsize); in nvmf_connect_cmd_prep() 405 cmd->connect.sqsize = cpu_to_le16(NVME_AQ_DEPTH - 1); in nvmf_connect_cmd_prep()
|
H A D | fc.c | 1210 assoc_rqst->assoc_cmd.sqsize = cpu_to_be16(qsize - 1); in nvme_fc_connect_admin_queue() 1332 conn_rqst->connect_cmd.sqsize = cpu_to_be16(qsize - 1); in nvme_fc_connect_queue() 2921 ret = nvme_fc_create_hw_io_queues(ctrl, ctrl->ctrl.sqsize + 1); in nvme_fc_create_io_queues() 2925 ret = nvme_fc_connect_io_queues(ctrl, ctrl->ctrl.sqsize + 1); in nvme_fc_create_io_queues() 2981 ret = nvme_fc_create_hw_io_queues(ctrl, ctrl->ctrl.sqsize + 1); in nvme_fc_recreate_io_queues() 2985 ret = nvme_fc_connect_io_queues(ctrl, ctrl->ctrl.sqsize + 1); in nvme_fc_recreate_io_queues() 3151 ctrl->ctrl.sqsize = opts->queue_size - 1; in nvme_fc_create_association() 3517 ctrl->ctrl.sqsize = opts->queue_size - 1; in nvme_fc_init_ctrl()
|
H A D | tcp.c | 2036 if (opts->queue_size > ctrl->sqsize + 1) in nvme_tcp_setup_ctrl() 2039 opts->queue_size, ctrl->sqsize + 1); in nvme_tcp_setup_ctrl() 2041 if (ctrl->sqsize + 1 > ctrl->maxcmd) { in nvme_tcp_setup_ctrl() 2044 ctrl->sqsize + 1, ctrl->maxcmd); in nvme_tcp_setup_ctrl() 2045 ctrl->sqsize = ctrl->maxcmd - 1; in nvme_tcp_setup_ctrl() 2531 ctrl->ctrl.sqsize = opts->queue_size - 1; in nvme_tcp_create_ctrl()
|
H A D | sysfs.c | 196 nvme_show_int_function(sqsize);
|
H A D | nvme.h | 333 u16 sqsize; member
|
H A D | core.c | 3167 ctrl->sqsize = min_t(u16, NVME_CAP_MQES(ctrl->cap), ctrl->sqsize); in nvme_init_ctrl_finish() 4298 set->queue_depth = min_t(unsigned, ctrl->sqsize, BLK_MQ_MAX_DEPTH - 1); in nvme_alloc_io_tag_set()
|
H A D | apple.c | 1099 anv->ctrl.sqsize = in apple_nvme_reset_work()
|
H A D | pci.c | 2306 dev->ctrl.sqsize = result - 1; in nvme_setup_io_queues() 2558 dev->ctrl.sqsize = dev->q_depth - 1; /* 0's based queue depth */ in nvme_pci_enable()
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | hw.c | 929 u32 sqsize = IRDMA_CQP_SW_SQSIZE_2048; in irdma_create_cqp() local 937 cqp->cqp_requests = kcalloc(sqsize, sizeof(*cqp->cqp_requests), GFP_KERNEL); in irdma_create_cqp() 941 cqp->scratch_array = kcalloc(sqsize, sizeof(*cqp->scratch_array), GFP_KERNEL); in irdma_create_cqp() 949 cqp->sq.size = ALIGN(sizeof(struct irdma_cqp_sq_wqe) * sqsize, in irdma_create_cqp() 967 cqp_init_info.sq_size = sqsize; in irdma_create_cqp() 1005 for (i = 0; i < sqsize; i++) { in irdma_create_cqp()
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | qp.c | 2119 unsigned int sqsize, rqsize = 0; in c4iw_create_qp() local 2149 sqsize = attrs->cap.max_send_wr + 1; in c4iw_create_qp() 2150 if (sqsize < 8) in c4iw_create_qp() 2151 sqsize = 8; in c4iw_create_qp() 2157 qhp->wq.sq.size = sqsize; in c4iw_create_qp() 2159 (sqsize + rhp->rdev.hw_queue.t4_eq_status_entries) * in c4iw_create_qp() 2183 attrs->cap.max_send_wr = sqsize - 1; in c4iw_create_qp()
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 1039 size_t sqsize; in rvt_create_qp() local 1065 sqsize = in rvt_create_qp() 1079 swq = vzalloc_node(array_size(sz, sqsize), rdi->dparms.node); in rvt_create_qp() 1153 qp->s_size = sqsize; in rvt_create_qp()
|