Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/efa/
Defa_com_cmd.c155 struct efa_admin_create_cq_cmd create_cmd = {}; in efa_com_create_cq() local
159 create_cmd.aq_common_desc.opcode = EFA_ADMIN_CREATE_CQ; in efa_com_create_cq()
160 EFA_SET(&create_cmd.cq_caps_2, in efa_com_create_cq()
163 create_cmd.cq_depth = params->cq_depth; in efa_com_create_cq()
164 create_cmd.num_sub_cqs = params->num_sub_cqs; in efa_com_create_cq()
165 create_cmd.uar = params->uarn; in efa_com_create_cq()
167 EFA_SET(&create_cmd.cq_caps_1, in efa_com_create_cq()
169 create_cmd.eqn = params->eqn; in efa_com_create_cq()
172 EFA_SET(&create_cmd.cq_caps_2, in efa_com_create_cq()
176 &create_cmd.cq_ba.mem_addr_high, in efa_com_create_cq()
[all …]
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_com.c1225 struct ena_admin_aq_create_sq_cmd create_cmd; in ena_com_create_io_sq() local
1230 memset(&create_cmd, 0x0, sizeof(create_cmd)); in ena_com_create_io_sq()
1232 create_cmd.aq_common_descriptor.opcode = ENA_ADMIN_CREATE_SQ; in ena_com_create_io_sq()
1239 create_cmd.sq_identity |= (direction << in ena_com_create_io_sq()
1243 create_cmd.sq_caps_2 |= io_sq->mem_queue_type & in ena_com_create_io_sq()
1246 create_cmd.sq_caps_2 |= (ENA_ADMIN_COMPLETION_POLICY_DESC << in ena_com_create_io_sq()
1250 create_cmd.sq_caps_3 |= in ena_com_create_io_sq()
1253 create_cmd.cq_idx = cq_idx; in ena_com_create_io_sq()
1254 create_cmd.sq_depth = io_sq->q_depth; in ena_com_create_io_sq()
1258 &create_cmd.sq_ba, in ena_com_create_io_sq()
[all …]