Home
last modified time | relevance | path

Searched refs:req_id (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/dev/ena/
H A Dena_datapath.c50 struct ena_com_io_cq *io_cq, uint16_t *req_id);
209 uint16_t *req_id) in ena_get_tx_req_id() argument
212 int rc = ena_com_tx_comp_req_id_get(io_cq, req_id); in ena_get_tx_req_id()
217 rc = validate_tx_req_id(tx_ring, *req_id, rc); in ena_get_tx_req_id()
219 if (unlikely(tx_ring->tx_buffer_info[*req_id].mbuf == NULL)) { in ena_get_tx_req_id()
222 *req_id, tx_ring->qid); in ena_get_tx_req_id()
247 uint16_t req_id; in ena_tx_cleanup() local
270 rc = ena_get_tx_req_id(tx_ring, io_cq, &req_id); in ena_tx_cleanup()
274 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_tx_cleanup()
292 tx_ring->free_tx_ids[next_to_clean] = req_id; in ena_tx_cleanup()
[all …]
H A Dena_netmap.c391 uint16_t req_id; in ena_netmap_tx_frame() local
406 req_id = tx_ring->free_tx_ids[ctx->nt]; in ena_netmap_tx_frame()
407 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_netmap_tx_frame()
422 ena_tx_ctx.req_id = req_id; in ena_netmap_tx_frame()
799 uint16_t req_id; in ena_netmap_tx_cleanup() local
807 rc = ena_com_tx_comp_req_id_get(ctx->io_cq, &req_id); in ena_netmap_tx_cleanup()
811 rc = validate_tx_req_id(tx_ring, req_id, rc); in ena_netmap_tx_cleanup()
815 total_tx_descs += ena_netmap_tx_clean_one(ctx, req_id); in ena_netmap_tx_cleanup()
828 ena_netmap_tx_clean_one(struct ena_netmap_ctx *ctx, uint16_t req_id) in ena_netmap_tx_clean_one() argument
834 tx_info = &ctx->ring->tx_buffer_info[req_id]; in ena_netmap_tx_clean_one()
[all …]
H A Dena.c569 validate_tx_req_id(struct ena_ring *tx_ring, uint16_t req_id, int tx_req_id_rc) in validate_tx_req_id() argument
579 req_id, tx_ring->qid); in validate_tx_req_id()
583 req_id, tx_ring->qid); in validate_tx_req_id()
1112 uint16_t next_to_use, req_id; in ena_refill_rx_bufs() local
1126 req_id = rx_ring->free_rx_ids[next_to_use]; in ena_refill_rx_bufs()
1127 rx_info = &rx_ring->rx_buffer_info[req_id]; in ena_refill_rx_bufs()
1142 &rx_info->ena_buf, req_id); in ena_refill_rx_bufs()
3159 u16 req_id; in check_cdesc_in_tx_cq() local
3161 rc = ena_com_tx_comp_req_id_get(tx_ring->ena_com_io_cq, &req_id); in check_cdesc_in_tx_cq()
H A Dena.h588 int validate_tx_req_id(struct ena_ring *tx_ring, uint16_t req_id, int tx_req_id_rc);
/freebsd/sys/contrib/ena-com/
H A Dena_eth_com.h56 u16 req_id; member
95 u16 req_id);
233 u16 *req_id) in ena_com_tx_comp_req_id_get() argument
262 io_cq->qid, cdesc->req_id); in ena_com_tx_comp_req_id_get()
268 *req_id = READ_ONCE16(cdesc->req_id); in ena_com_tx_comp_req_id_get()
269 if (unlikely(*req_id >= io_cq->q_depth)) { in ena_com_tx_comp_req_id_get()
271 "Invalid req id %d\n", cdesc->req_id); in ena_com_tx_comp_req_id_get()
H A Dena_eth_com.c291 count, io_cq->qid, cdesc->req_id); in ena_com_cdesc_rx_pkt_get()
300 count, io_cq->qid, cdesc->req_id); in ena_com_cdesc_rx_pkt_get()
516 desc->meta_ctrl |= ((u32)ena_tx_ctx->req_id << in ena_com_prepare_tx()
525 desc->len_ctrl |= ((ena_tx_ctx->req_id >> 10) << in ena_com_prepare_tx()
638 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()
639 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()
666 u16 req_id) in ena_com_add_single_rx_desc() argument
688 desc->req_id = req_id; in ena_com_add_single_rx_desc()
692 __func__, io_sq->qid, req_id); in ena_com_add_single_rx_desc()
H A Dena_com.c907 read_resp->req_id = mmio_read->seq_num + 0xDEAD; in ena_com_reg_bar_read32()
917 if (READ_ONCE16(read_resp->req_id) == mmio_read->seq_num) in ena_com_reg_bar_read32()
927 read_resp->req_id, in ena_com_reg_bar_read32()
1821 phc->virt_addr->req_id = 0; in ena_com_phc_init()
1952 if ((READ_ONCE16(read_resp->req_id) != phc->req_id) || in ena_com_phc_get_timestamp()
1970 phc->req_id++; in ena_com_phc_get_timestamp()
1975 read_resp->req_id = phc->req_id + ENA_PHC_REQ_ID_OFFSET; in ena_com_phc_get_timestamp()
1978 ENA_REG_WRITE32(ena_dev->bus, phc->req_id, ena_dev->reg_bar + phc->doorbell_offset); in ena_com_phc_get_timestamp()
1993 if (READ_ONCE16(read_resp->req_id) != phc->req_id) { in ena_com_phc_get_timestamp()
2065 mmio_read->read_resp->req_id = 0x0; in ena_com_mmio_reg_read_request_init()
H A Dena_com.h98 u16 req_id; member
339 u16 req_id; member
/freebsd/sys/dev/tws/
H A Dtws_hdm.c64 boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id,
355 tws_get_response(struct tws_softc *sc, u_int16_t *req_id, u_int64_t *mfa) in tws_get_response() argument
360 *req_id = TWS_INVALID_REQID; in tws_get_response()
376 *req_id = out_res.request_id; in tws_get_response()
385 u_int16_t req_id; in tws_poll4_response() local
390 if(tws_get_response(sc, &req_id, mfa)) { in tws_poll4_response()
391 if ( req_id == TWS_INVALID_REQID ) { in tws_poll4_response()
392 TWS_TRACE_DEBUG(sc, "invalid req_id", 0, req_id); in tws_poll4_response()
395 return(req_id); in tws_poll4_response()
H A Dtws_cam.c91 u_int16_t *req_id, u_int64_t *mfa);
447 u_int16_t req_id; in tws_err_complete() local
462 req_id = hdr->header_desc.request_id; in tws_err_complete()
463 req = &sc->reqs[req_id]; in tws_err_complete()
464 TWS_TRACE_DEBUG(sc, "req, id", req, req_id); in tws_err_complete()
630 u_int16_t req_id; in tws_drain_response_queue() local
632 while ( tws_get_response(sc, &req_id, &mfa) ); in tws_drain_response_queue()
1091 u_int16_t req_id; in tws_intr_resp() local
1094 while ( tws_get_response(sc, &req_id, &mfa) ) { in tws_intr_resp()
1096 if ( req_id == TWS_INVALID_REQID ) { in tws_intr_resp()
[all …]
H A Dtws.c63 extern boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id);
/freebsd/sys/dev/hyperv/utilities/
H A Dhv_snapshot.c366 hv_vss_drain_req_queue_locked(hv_vss_sc *sc, uint64_t req_id) in hv_vss_drain_req_queue_locked() argument
370 slink, tmp, req_id); in hv_vss_drain_req_queue_locked()
373 slink, tmp, req_id); in hv_vss_drain_req_queue_locked()
376 slink, tmp, req_id); in hv_vss_drain_req_queue_locked()
379 tmp, req_id); in hv_vss_drain_req_queue_locked()
425 uint64_t req_id; in hv_vss_daemon_acked() local
430 req_id = userdata->msgid; in hv_vss_daemon_acked()
436 SEARCH_REMOVE_REQ_LOCKED(reqp, &dev_sc->to_ack_queue, slink, tmp, req_id); in hv_vss_daemon_acked()
446 status, vss_opt_name[opt], (uintmax_t)req_id); in hv_vss_daemon_acked()
479 uint64_t req_id; in hv_vss_app_acked() local
[all …]
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_queue.c53 req->req_id = pqisrc_get_tag(&softs->taglist); in pqisrc_submit_admin_req()
54 if (INVALID_ELEM == req->req_id) { in pqisrc_submit_admin_req()
55 DBG_ERR("Tag not available0x%x\n",(uint16_t)req->req_id); in pqisrc_submit_admin_req()
59 softs->rcb[req->req_id].tag = req->req_id; in pqisrc_submit_admin_req()
94 os_reset_rcb(&softs->rcb[req->req_id]); in pqisrc_submit_admin_req()
95 pqisrc_put_tag(&softs->taglist,req->req_id); in pqisrc_submit_admin_req()
99 os_reset_rcb(&softs->rcb[req->req_id]); in pqisrc_submit_admin_req()
100 pqisrc_put_tag(&softs->taglist,req->req_id); in pqisrc_submit_admin_req()
H A Dsmartpqi_structures.h276 uint16_t req_id; /* !< Bytes 8-9. request identifier */ member
339 uint16_t req_id; member
407 uint16_t req_id; member
685 uint16_t req_id; member
707 uint16_t req_id; member
731 uint16_t req_id; member
800 uint16_t req_id; member
818 uint16_t req_id; member
833 uint16_t req_id; member
H A Dsmartpqi_request.c298 aio_req->req_id);
345 aio_req->req_id = rcb->tag; in pqisrc_build_aio_common()
357 aio_req->err_idx = aio_req->req_id; in pqisrc_build_aio_common()
416 DBG_INFO("%15s: 0x%x\n", "req_id", aio_req->req_id); in pqisrc_show_aio_common()
469 aio_req->req_id = rcb->tag; in pqisrc_build_aio_R1_write()
485 aio_req->err_idx = aio_req->req_id; in pqisrc_build_aio_R1_write()
535 DBG_INFO("%15s: 0x%x\n", "req_id", aio_req->req_id); in pqisrc_show_aio_R1_write()
605 aio_req->req_id = rcb->tag; in pqisrc_build_aio_R5or6_write()
631 aio_req->err_idx = aio_req->req_id; in pqisrc_build_aio_R5or6_write()
686 DBG_INFO("%15s: 0x%x\n", "req_id", aio_req->req_id); in pqisrc_show_aio_R5or6_write()
[all …]
H A Dsmartpqi_response.c369 uint32_t tag = (uint32_t)tmf_resp->req_id; in pqisrc_process_task_management_response()
/freebsd/sys/contrib/xen/io/
H A Dpvcalls.h63 uint32_t req_id; /* private to guest, echoed in response */ member
115 uint32_t req_id; member
H A Dxs_wire.h100 uint32_t req_id;/* Request identifier, echoed in daemon's response. */ member
/freebsd/sys/dev/xen/xenstore/
H A Dxenstore_dev.c121 xs_dev_return_error(struct xs_dev_data *u, int error, int req_id, int tx_id) in xs_dev_return_error() argument
127 msg.req_id = req_id; in xs_dev_return_error()
202 msg.req_id = msg.tx_id = 0; in xs_dev_watch_cb()
383 xs_dev_return_error(u, error, u->u.msg.req_id, u->u.msg.tx_id); in xs_dev_write()
/freebsd/sys/contrib/ena-com/ena_defs/
H A Dena_eth_io_defs.h178 uint16_t req_id; member
212 uint16_t req_id; member
264 uint16_t req_id; member
H A Dena_admin_defs.h1292 uint16_t req_id; member
1302 uint16_t req_id; member
/freebsd/sys/dev/ice/
H A Dvirtchnl_inline_ipsec.h
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dwmi.c2201 u32 req_id; in ath10k_wmi_event_scan() local
2215 req_id = __le32_to_cpu(arg.scan_req_id); in ath10k_wmi_event_scan()
2224 event_type, reason, freq, req_id, scan_id, vdev_id, in ath10k_wmi_event_scan()
3441 arg->req_id = ev->req_id; in ath10k_wmi_op_pull_vdev_start_ev()
5400 static int ath10k_wmi_alloc_chunk(struct ath10k *ar, u32 req_id, in ath10k_wmi_alloc_chunk() argument
5417 ar->wmi.mem_chunks[idx].req_id = req_id; in ath10k_wmi_alloc_chunk()
5423 static int ath10k_wmi_alloc_host_mem(struct ath10k *ar, u32 req_id, in ath10k_wmi_alloc_host_mem() argument
5429 ret = ath10k_wmi_alloc_chunk(ar, req_id, num_units, unit_len); in ath10k_wmi_alloc_host_mem()
5444 u32 req_id, num_units, unit_size, num_unit_info; in ath10k_wmi_is_host_mem_allocated() local
5453 req_id = __le32_to_cpu(mem_reqs[i]->req_id); in ath10k_wmi_is_host_mem_allocated()
[all …]
H A Dwmi-tlv.c1070 arg->req_id = ev->req_id; in ath10k_wmi_tlv_op_pull_vdev_start_ev()
1885 chunk->req_id = __cpu_to_le32(ar->wmi.mem_chunks[i].req_id); in ath10k_wmi_tlv_put_host_mem_chunks()
1898 ar->wmi.mem_chunks[i].req_id); in ath10k_wmi_tlv_put_host_mem_chunks()
2177 u32 req_id; in ath10k_wmi_tlv_op_gen_stop_scan() local
2179 if (arg->req_id > 0xFFF) in ath10k_wmi_tlv_op_gen_stop_scan()
2191 req_id = arg->req_id; in ath10k_wmi_tlv_op_gen_stop_scan()
2192 req_id |= WMI_HOST_SCAN_REQUESTOR_ID_PREFIX; in ath10k_wmi_tlv_op_gen_stop_scan()
2201 cmd->scan_req_id = __cpu_to_le32(req_id); in ath10k_wmi_tlv_op_gen_stop_scan()
H A Dwmi.h2252 __le32 req_id; member
3059 __le32 req_id; member
3320 u32 req_id; member
5583 __le32 req_id; member
6863 __le32 req_id; member

12