Home
last modified time | relevance | path

Searched refs:create_cmd (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/efa/
H A Defa_com_cmd.c158 struct efa_admin_create_cq_cmd create_cmd = {}; in efa_com_create_cq() local
162 create_cmd.aq_common_desc.opcode = EFA_ADMIN_CREATE_CQ; in efa_com_create_cq()
163 EFA_SET(&create_cmd.cq_caps_2, in efa_com_create_cq()
166 create_cmd.cq_depth = params->cq_depth; in efa_com_create_cq()
167 create_cmd.num_sub_cqs = params->num_sub_cqs; in efa_com_create_cq()
168 create_cmd.uar = params->uarn; in efa_com_create_cq()
170 EFA_SET(&create_cmd.cq_caps_1, in efa_com_create_cq()
172 create_cmd.eqn = params->eqn; in efa_com_create_cq()
175 EFA_SET(&create_cmd.cq_caps_2, in efa_com_create_cq()
179 &create_cmd.cq_ba.mem_addr_high, in efa_com_create_cq()
[all …]
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.c1180 struct ena_admin_aq_create_sq_cmd create_cmd; in ena_com_create_io_sq() local
1185 memset(&create_cmd, 0x0, sizeof(create_cmd)); in ena_com_create_io_sq()
1187 create_cmd.aq_common_descriptor.opcode = ENA_ADMIN_CREATE_SQ; in ena_com_create_io_sq()
1194 create_cmd.sq_identity |= (direction << in ena_com_create_io_sq()
1198 create_cmd.sq_caps_2 |= io_sq->mem_queue_type & in ena_com_create_io_sq()
1201 create_cmd.sq_caps_2 |= (ENA_ADMIN_COMPLETION_POLICY_DESC << in ena_com_create_io_sq()
1205 create_cmd.sq_caps_3 |= in ena_com_create_io_sq()
1208 create_cmd.cq_idx = cq_idx; in ena_com_create_io_sq()
1209 create_cmd.sq_depth = io_sq->q_depth; in ena_com_create_io_sq()
1213 &create_cmd.sq_ba, in ena_com_create_io_sq()
[all …]