Home
last modified time | relevance | path

Searched refs:q_msg (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_controlq.c268 u16 num_q_msg, struct idpf_ctlq_msg q_msg[]) in idpf_ctlq_send() argument
285 struct idpf_ctlq_msg *msg = &q_msg[i]; in idpf_ctlq_send()
544 struct idpf_ctlq_msg *q_msg) in idpf_ctlq_recv() argument
566 q_msg[i].vmvf_type = (flags & in idpf_ctlq_recv()
574 q_msg[i].cookie.mbx.chnl_opcode = in idpf_ctlq_recv()
576 q_msg[i].cookie.mbx.chnl_retval = in idpf_ctlq_recv()
579 q_msg[i].opcode = le16_to_cpu(desc->opcode); in idpf_ctlq_recv()
580 q_msg[i].data_len = le16_to_cpu(desc->datalen); in idpf_ctlq_recv()
581 q_msg[i].status = le16_to_cpu(desc->ret_val); in idpf_ctlq_recv()
584 memcpy(q_msg[i].ctx.indirect.context, in idpf_ctlq_recv()
[all …]
Didpf_controlq_api.h153 struct idpf_ctlq_msg q_msg[]);
159 struct idpf_ctlq_msg *q_msg);
Didpf_virtchnl.c209 struct idpf_ctlq_msg **q_msg; in idpf_mb_clean() local
213 q_msg = kcalloc(num_q_msg, sizeof(struct idpf_ctlq_msg *), GFP_ATOMIC); in idpf_mb_clean()
214 if (!q_msg) in idpf_mb_clean()
217 err = idpf_ctlq_clean_sq(adapter->hw.asq, &num_q_msg, q_msg); in idpf_mb_clean()
222 if (!q_msg[i]) in idpf_mb_clean()
224 dma_mem = q_msg[i]->ctx.indirect.payload; in idpf_mb_clean()
228 kfree(q_msg[i]); in idpf_mb_clean()
233 kfree(q_msg); in idpf_mb_clean()