Home
last modified time | relevance | path

Searched full:iq (Results 1 – 25 of 180) sorted by relevance

12345678

/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_iq.c27 * The internal queue, IQ, code is more or less a stripped down copy
42 mlx5e_iq_poll(struct mlx5e_iq *iq, int budget) in mlx5e_iq_poll() argument
49 * iq->cc must be updated only after mlx5_cqwq_update_db_record(), in mlx5e_iq_poll()
52 iqcc = iq->cc; in mlx5e_iq_poll()
56 cqe = mlx5e_get_cqe(&iq->cq); in mlx5e_iq_poll()
60 mlx5_cqwq_pop(&iq->cq.wq); in mlx5e_iq_poll()
62 ci = iqcc & iq->wq.sz_m1; in mlx5e_iq_poll()
64 if (likely(iq->data[ci].dma_sync != 0)) { in mlx5e_iq_poll()
66 bus_dmamap_sync(iq->dma_tag, iq->data[ci].dma_map, iq->data[ci].dma_sync); in mlx5e_iq_poll()
67 bus_dmamap_unload(iq->dma_tag, iq->data[ci].dma_map); in mlx5e_iq_poll()
[all …]
H A Dmlx5_en_hw_tls_rx.c97 * This function gets a pointer to an internal queue, IQ, based on the
98 * provided "flowid" and "flowtype". The IQ returned may in some rare
102 * The idea behind this function is to spread the IQ traffic as much
103 * as possible and to avoid congestion on the same IQ when processing
115 return (&priv->channel[mlx5e_tls_rx_get_ch(priv, flowid, flowtype)].iq); in mlx5e_tls_rx_get_iq()
138 mlx5e_tls_rx_send_static_parameters(struct mlx5e_iq *iq, struct mlx5e_tls_rx_tag *ptag) in mlx5e_tls_rx_send_static_parameters()
145 mtx_lock(&iq->lock); in mlx5e_tls_rx_send_static_parameters()
146 pi = mlx5e_iq_get_producer_index(iq); in mlx5e_tls_rx_send_static_parameters()
148 mtx_unlock(&iq->lock); in mlx5e_tls_rx_send_static_parameters()
151 wqe = mlx5_wq_cyc_get_wqe(&iq in mlx5e_tls_rx_send_static_parameters()
137 mlx5e_tls_rx_send_static_parameters(struct mlx5e_iq * iq,struct mlx5e_tls_rx_tag * ptag) mlx5e_tls_rx_send_static_parameters() argument
208 mlx5e_tls_rx_send_progress_parameters_sync(struct mlx5e_iq * iq,struct mlx5e_tls_rx_tag * ptag) mlx5e_tls_rx_send_progress_parameters_sync() argument
275 struct mlx5e_iq *iq; mlx5e_tls_rx_receive_progress_parameters_cb() local
333 mlx5e_tls_rx_receive_progress_parameters(struct mlx5e_iq * iq,struct mlx5e_tls_rx_tag * ptag) mlx5e_tls_rx_receive_progress_parameters() argument
659 struct mlx5e_iq *iq; mlx5e_tls_rx_snd_tag_alloc() local
950 struct mlx5e_iq *iq; mlx5e_tls_rx_snd_tag_modify() local
[all...]
/freebsd/contrib/unbound/iterator/
H A Diterator.c82 static void target_count_increase_nx(struct iter_qstate* iq, int num);
141 struct iter_qstate* iq = (struct iter_qstate*)regional_alloc( in iter_new() local
143 qstate->minfo[id] = iq; in iter_new()
144 if(!iq) in iter_new()
146 memset(iq, 0, sizeof(*iq)); in iter_new()
147 iq->state = INIT_REQUEST_STATE; in iter_new()
148 iq->final_state = FINISHED_STATE; in iter_new()
149 iq->an_prepend_list = NULL; in iter_new()
150 iq->an_prepend_last = NULL; in iter_new()
151 iq->ns_prepend_list = NULL; in iter_new()
[all …]
/freebsd/sys/dev/liquidio/base/
H A Dlio_request_manager.c59 struct lio_instr_queue *iq; in lio_init_instr_queue() local
76 iq = oct->instr_queue[iq_no]; in lio_init_instr_queue()
77 iq->oct_dev = oct; in lio_init_instr_queue()
92 &iq->txtag); in lio_init_instr_queue()
99 iq->base_addr = lio_dma_alloc(q_size, (vm_paddr_t *)&iq->base_addr_dma); in lio_init_instr_queue()
100 if (!iq->base_addr) { in lio_init_instr_queue()
106 iq->max_count = num_descs; in lio_init_instr_queue()
112 iq->request_list = malloc(sizeof(*iq->request_list) * num_descs, in lio_init_instr_queue()
114 if (iq->request_list == NULL) { in lio_init_instr_queue()
115 lio_dev_err(oct, "Alloc failed for IQ[%d] nr free list\n", in lio_init_instr_queue()
[all …]
H A Dcn23xx_pf_device.c187 /* set RST bit to 1. This bit applies to both IQ and OQ */ in lio_cn23xx_pf_reset_io_queues()
235 struct lio_instr_queue *iq; in lio_cn23xx_pf_setup_global_input_regs() local
271 iq = oct->instr_queue[q_no]; in lio_cn23xx_pf_setup_global_input_regs()
272 if (iq != NULL) in lio_cn23xx_pf_setup_global_input_regs()
273 inst_cnt_reg = iq->inst_cnt_reg; in lio_cn23xx_pf_setup_global_input_regs()
409 struct lio_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn23xx_pf_setup_iq_regs() local
416 iq->base_addr_dma); in lio_cn23xx_pf_setup_iq_regs()
417 lio_write_csr32(oct, LIO_CN23XX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn23xx_pf_setup_iq_regs()
423 iq->doorbell_reg = LIO_CN23XX_SLI_IQ_DOORBELL(iq_no); in lio_cn23xx_pf_setup_iq_regs()
424 iq->inst_cnt_reg = LIO_CN23XX_SLI_IQ_INSTR_COUNT64(iq_no); in lio_cn23xx_pf_setup_iq_regs()
[all …]
H A Dcn23xx_pf_regs.h142 #define LIO_CN23XX_SLI_IQ_PKT_CONTROL64(iq) \ argument
144 ((iq) * LIO_CN23XX_IQ_OFFSET))
146 #define LIO_CN23XX_SLI_IQ_BASE_ADDR64(iq) \ argument
148 ((iq) * LIO_CN23XX_IQ_OFFSET))
150 #define LIO_CN23XX_SLI_IQ_SIZE(iq) \ argument
152 ((iq) * LIO_CN23XX_IQ_OFFSET))
154 #define LIO_CN23XX_SLI_IQ_DOORBELL(iq) \ argument
156 ((iq) * LIO_CN23XX_IQ_OFFSET))
158 #define LIO_CN23XX_SLI_IQ_INSTR_COUNT64(iq) \ argument
160 ((iq) * LIO_CN23XX_IQ_OFFSET))
H A Dlio_config.h57 /* CN23xx IQ configuration macros */
102 #define LIO_GET_IQ_CFG(cfg) ((cfg)->iq)
103 #define LIO_GET_IQ_MAX_Q_CFG(cfg) ((cfg)->iq.max_iqs)
104 #define LIO_GET_IQ_INSTR_TYPE_CFG(cfg) ((cfg)->iq.instr_type)
106 #define LIO_GET_IQ_INTR_PKT_CFG(cfg) ((cfg)->iq.iq_intr_pkt)
366 /* Control IQ Group */
371 /* Control IQ Group */
389 struct lio_iq_config iq; member
417 * NoResponse Lists are now maintained with each IQ. (Dec' 2007).
/freebsd/sys/dev/liquidio/
H A Dlio_rxtx.c46 lio_xmit(struct lio *lio, struct lio_instr_queue *iq, in lio_xmit() argument
52 struct octeon_device *oct = iq->oct_dev; in lio_xmit()
66 iq_no = iq->txpciq.s.q_no; in lio_xmit()
69 tx_buf = iq->request_list + iq->host_write_index; in lio_xmit()
85 lio_dev_dbg(oct, "Transmit failed iq:%d full\n", iq_no); in lio_xmit()
91 status = bus_dmamap_load_mbuf_sg(iq->txtag, map, *m_headp, segs, &nsegs, in lio_xmit()
103 status = bus_dmamap_load_mbuf_sg(iq->txtag, map, in lio_xmit()
112 lio_dev_dbg(oct, "bus_dmamap_load_mbuf_sg failed with error %d. iq:%d", in lio_xmit()
220 lio_dev_err(oct, "IQ%d Transmit dropped: %llu\n", iq_no, in lio_xmit()
230 lio_mq_start_locked(if_t ifp, struct lio_instr_queue *iq) in lio_mq_start_locked() argument
[all …]
/freebsd/contrib/unbound/ipsecmod/
H A Dipsecmod.c104 struct ipsecmod_qstate* iq = (struct ipsecmod_qstate*)regional_alloc( in ipsecmod_new() local
106 qstate->minfo[id] = iq; in ipsecmod_new()
107 if(!iq) in ipsecmod_new()
110 memset(iq, 0, sizeof(*iq)); in ipsecmod_new()
111 iq->enabled = qstate->env->cfg->ipsecmod_enabled; in ipsecmod_new()
112 iq->is_whitelisted = ipsecmod_domain_is_whitelisted( in ipsecmod_new()
244 * @param iq: ipsecmod qstate.
249 call_hook(struct module_qstate* qstate, struct ipsecmod_qstate* iq, in call_hook() argument
291 rrset_data = (struct packed_rrset_data*)iq->ipseckey_rrset->entry.data; in call_hook()
339 rrset_data = (struct packed_rrset_data*)iq->ipseckey_rrset->entry.data; in call_hook()
[all …]
/freebsd/contrib/unbound/contrib/
H A Daaaa-filter-iterator.patch119 @@ -2155,6 +2155,53 @@ processDSNSFind(struct module_qstate* qstate, struct iter_qstate* iq, int id)
130 + * @param iq: iterator query state.
138 +asn_processQueryAAAA(struct module_qstate* qstate, struct iter_qstate* iq,
143 + log_assert(iq->fetch_a_for_aaaa == 0);
146 + iq->fetch_a_for_aaaa = 1;
149 + if(!generate_sub_request(iq->qchase.qname,
150 + iq->qchase.qname_len, LDNS_RR_TYPE_A,
151 + iq->qchase.qclass, qstate, id, iq,
155 + iq->qchase.qname, LDNS_RR_TYPE_A,
156 + iq->qchase.qclass);
[all …]
H A Dfastrpz.patch2445 + struct module_qstate* qstate, struct iter_qstate* iq)
2458 + iq->rpz_rewritten = 1; /* RPZ has nothing to say. */
2467 + if(!ck_qname(iq->qchase.qname, iq->qchase.qname_len,
2486 + ck_reply((*msg)->rep, iq->qchase.qname, true, rpz, qstate->env);
2490 + get_result_msg(&dnsmsg, &iq->qchase, 1, qstate->query_flags, true,
2495 + iq->rpz_rewritten = 1; /* RPZ has nothing to say. */
2530 + iq->rpz_security = dnsmsg->rep->security;
2539 + * Save the SOA RR in iq->rpz_soa. */
2540 + iq->rpz_soa = dnsmsg->rep->rrsets[1];
2541 + iq->rpz_rewritten = 1;
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c395 set_tcb_rpl_handler(struct sge_iq *iq, const struct rss_header *rss, in set_tcb_rpl_handler() argument
405 if (is_hpftid(iq->adapter, tid) || is_ftid(iq->adapter, tid)) { in set_tcb_rpl_handler()
418 return (set_tcb_rpl_handlers[cookie](iq, rss, m)); in set_tcb_rpl_handler()
422 l2t_write_rpl_handler(struct sge_iq *iq, const struct rss_header *rss, in l2t_write_rpl_handler() argument
431 return (l2t_write_rpl_handlers[cookie](iq, rss, m)); in l2t_write_rpl_handler()
435 act_open_rpl_handler(struct sge_iq *iq, const struct rss_header *rss, in act_open_rpl_handler() argument
444 return (act_open_rpl_handlers[cookie](iq, rss, m)); in act_open_rpl_handler()
448 abort_rpl_rss_handler(struct sge_iq *iq, const struct rss_header *rss, in abort_rpl_rss_handler() argument
451 struct adapter *sc = iq->adapter; in abort_rpl_rss_handler()
460 return (abort_rpl_rss_handlers[cookie](iq, rss, m)); in abort_rpl_rss_handler()
[all …]
H A Dadapter.h94 * queue and any iq expecting CPL_RX_PKT in the descriptor needs this to
375 /* iq type */
380 /* iq flags */
382 IQ_HAS_FL = (1 << 1), /* iq associated with a freelist */
384 IQ_LRO_ENABLED = (1 << 3), /* iq is an eth rxq with LRO enabled */
385 IQ_ADJ_CREDIT = (1 << 4), /* hw is off by 1 credit for this iq */
388 /* iq state */
435 uint16_t cntxt_id; /* SGE context id for the iq */
436 uint16_t abs_id; /* absolute SGE id for the iq */
486 uint16_t iqid; /* cached iq->cntxt_id (see iq below) */
[all …]
/freebsd/contrib/unbound/ipset/
H A Dipset.c392 struct ipset_qstate *iq = (struct ipset_qstate *)regional_alloc( in ipset_new() local
394 qstate->minfo[id] = iq; in ipset_new()
395 if (!iq) { in ipset_new()
399 memset(iq, 0, sizeof(*iq)); in ipset_new()
409 struct ipset_qstate *iq = (struct ipset_qstate *)qstate->minfo[id]; in ipset_operate() local
412 if (iq) { in ipset_operate()
417 if ((event == module_event_new || event == module_event_pass) && !iq) { in ipset_operate()
422 iq = (struct ipset_qstate*)qstate->minfo[id]; in ipset_operate()
425 if (iq && (event == module_event_pass || event == module_event_new)) { in ipset_operate()
430 if (iq && (event == module_event_moddone)) { in ipset_operate()
[all …]
/freebsd/sys/dev/rtwn/rtl8188e/
H A Dr88e_calib.c48 /* Registers to save and restore during IQ calibration. */
70 /* Set Rx IQ calibration mode table. */ in r88e_iq_calib_chain()
78 /* IQ calibration settings. */ in r88e_iq_calib_chain()
82 /* IQ calibration settings for chain 0. */ in r88e_iq_calib_chain()
91 /* We're doing LO and IQ calibration in one shot. */ in r88e_iq_calib_chain()
95 /* Give LO and IQ calibrations the time to complete. */ in r88e_iq_calib_chain()
98 /* Read IQ calibration status. */ in r88e_iq_calib_chain()
103 /* Read Tx IQ calibration results. */ in r88e_iq_calib_chain()
113 /* Set Rx IQ calibration mode table. */ in r88e_iq_calib_chain()
121 /* IQ calibration settings. */ in r88e_iq_calib_chain()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_cal_iq.c29 /* IQ Cal aliases */
35 * Collect data from HW to later perform IQ Mismatch Calibration
44 * Accumulate IQ cal measures for active chains in ar5416IQCalCollect()
61 * Use HW data to do IQ Mismatch Calibration
77 "Start IQ Cal and Correction for Chain %d\n", i); in ar5416IQCalibration()
99 /* IQ corr_meas is already negated if iqcorr_neg == 1 */ in ar5416IQCalibration()
127 "IQ Cal and Correction done for Chain %d\n", i); in ar5416IQCalibration()
/freebsd/lib/msun/src/
H A Dk_rem_pio2.c110 * iq[] integer array by breaking up q[] in 24-bits chunk.
292 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2() local
315 /* distill q[] into iq[] reversingly */ in __kernel_rem_pio2()
318 iq[i] = (int32_t)(z-two24*fw); in __kernel_rem_pio2()
328 if(q0>0) { /* need iq[jz-1] to determine n */ in __kernel_rem_pio2()
329 i = (iq[jz-1]>>(24-q0)); n += i; in __kernel_rem_pio2()
330 iq[jz-1] -= i<<(24-q0); in __kernel_rem_pio2()
331 ih = iq[jz-1]>>(23-q0); in __kernel_rem_pio2()
333 else if(q0==0) ih = iq[jz-1]>>23; in __kernel_rem_pio2()
339 j = iq[i]; in __kernel_rem_pio2()
[all …]
/freebsd/contrib/netbsd-tests/net/arp/
H A Dt_dad.sh90 atf_check -s not-exit:0 -x "cat ./out |grep 10.0.0.1 |grep -iq tentative"
93 #atf_check -s exit:0 -x "cat ./out |grep 10.0.0.2 |grep -iq tentative"
117 atf_check -s not-exit:0 -x "rump.ifconfig shmif0 |grep 10.0.0.2 |grep -iq tentative"
126 #atf_check -s exit:0 -x "rump.ifconfig shmif0 |grep 10.0.0.3 |grep -iq tentative"
146 atf_check -s not-exit:0 -x "rump.ifconfig shmif0 |grep 10.0.0.3 |grep -iq tentative"
166 atf_check -s not-exit:0 -x "rump.ifconfig shmif0 |grep $localip1 |grep -iq duplicated"
175 atf_check -s exit:0 -x "rump.ifconfig shmif0 |grep $peerip |grep -iq duplicated"
180 atf_check -s not-exit:0 -x "rump.ifconfig shmif0 |grep $localip2 |grep -iq duplicated"
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211phy.h57 #define AR_PHY_TIMING_CTRL4_IQCORR_ENABLE 0x00000800 /* enable IQ correction */
60 #define AR_PHY_TIMING_CTRL4_DO_IQCAL 0x00010000 /* perform IQ calibration */
82 #define AR_PHY_IQCAL_RES_PWR_MEAS_I 0x9c10 /*PHY IQ calibration results - power measurement for I */
83 #define AR_PHY_IQCAL_RES_PWR_MEAS_Q 0x9c14 /*PHY IQ calibration results - power measurement for Q */
84 #define AR_PHY_IQCAL_RES_IQ_CORR_MEAS 0x9c18 /*PHY IQ calibration results - IQ correlation measurem…
/freebsd/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_calib.c58 /* Registers to save and restore during IQ calibration. */
76 if (chain == 0) { /* IQ calibration for chain 0. */ in r92ce_iq_calib_chain()
77 /* IQ calibration settings for chain 0. */ in r92ce_iq_calib_chain()
84 /* IQ calibration settings for chain 1. */ in r92ce_iq_calib_chain()
94 /* We're doing LO and IQ calibration in one shot. */ in r92ce_iq_calib_chain()
98 } else { /* IQ calibration for chain 1. */ in r92ce_iq_calib_chain()
99 /* We're doing LO and IQ calibration in one shot. */ in r92ce_iq_calib_chain()
104 /* Give LO and IQ calibrations the time to complete. */ in r92ce_iq_calib_chain()
107 /* Read IQ calibration status. */ in r92ce_iq_calib_chain()
112 /* Read Tx IQ calibration results. */ in r92ce_iq_calib_chain()
[all …]
/freebsd/lib/libpmc/pmu-events/arch/arm64/arm/cortex-a53/
H A Dpipeline.json10 …"BriefDescription": "Cycles that the DPU IQ is empty and that is not because of a recent micro-TLB…
15 …"BriefDescription": "Cycles the DPU IQ is empty and there is an instruction cache miss being proce…
20 …"BriefDescription": "Cycles the DPU IQ is empty and there is an instruction micro-TLB miss being p…
25 "BriefDescription": "Cycles the DPU IQ is empty and there is a pre-decode error being processed"
/freebsd/lib/libpmc/pmu-events/arch/arm64/arm/cortex-a55/
H A Dpipeline.json9 …sued due to the frontend, cache miss.This event counts every cycle the DPU IQ is empty and there i…
12 …sued due to the frontend, cache miss.This event counts every cycle the DPU IQ is empty and there i…
15 …issued due to the frontend, TLB miss.This event counts every cycle the DPU IQ is empty and there i…
18 …issued due to the frontend, TLB miss.This event counts every cycle the DPU IQ is empty and there i…
21 …ue to the frontend, pre-decode error.This event counts every cycle the DPU IQ is empty and there i…
24 …ue to the frontend, pre-decode error.This event counts every cycle the DPU IQ is empty and there i…
/freebsd/sys/dev/rtwn/rtl8192c/
H A Dr92c_calib.c52 /* Registers to save and restore during IQ calibration. */
76 if (chain == 0) { /* IQ calibration for chain 0. */ in r92c_iq_calib_chain()
77 /* IQ calibration settings for chain 0. */ in r92c_iq_calib_chain()
84 /* IQ calibration settings for chain 1. */ in r92c_iq_calib_chain()
94 /* We're doing LO and IQ calibration in one shot. */ in r92c_iq_calib_chain()
98 } else { /* IQ calibration for chain 1. */ in r92c_iq_calib_chain()
99 /* We're doing LO and IQ calibration in one shot. */ in r92c_iq_calib_chain()
104 /* Give LO and IQ calibrations the time to complete. */ in r92c_iq_calib_chain()
107 /* Read IQ calibration status. */ in r92c_iq_calib_chain()
112 /* Read Tx IQ calibration results. */ in r92c_iq_calib_chain()
[all …]
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c291 struct cachedb_qstate* iq = (struct cachedb_qstate*)regional_alloc( in cachedb_new() local
293 qstate->minfo[id] = iq; in cachedb_new()
294 if(!iq) in cachedb_new()
296 memset(iq, 0, sizeof(*iq)); in cachedb_new()
780 * @param iq: query state specific for this module. per-query.
786 struct cachedb_qstate* ATTR_UNUSED(iq), in cachedb_handle_query() argument
873 * @param iq: query state specific for this module. per-query.
879 struct cachedb_qstate* ATTR_UNUSED(iq), struct cachedb_env* ie, int id) in cachedb_handle_response() argument
906 struct cachedb_qstate* iq = (struct cachedb_qstate*)qstate->minfo[id]; in cachedb_operate() local
909 if(iq) log_query_info(VERB_QUERY, "cachedb operate: query", in cachedb_operate()
[all …]
/freebsd/contrib/unbound/dns64/
H A Ddns64.c575 struct dns64_qstate* iq = (struct dns64_qstate*)qstate->minfo[id]; in handle_event_pass() local
579 if(iq && iq->state == DNS64_NEW_QUERY in handle_event_pass()
587 if(iq && iq->state == DNS64_NEW_QUERY && in handle_event_pass()
598 if(iq && iq->state == DNS64_SUBQUERY_FINISHED) in handle_event_pass()
619 struct dns64_qstate* iq = (struct dns64_qstate*)qstate->minfo[id]; in handle_event_moddone() local
638 (!iq || iq->state != DNS64_INTERNAL_QUERY) && in handle_event_moddone()
655 if( (!iq || !iq->started_no_cache_store) && in handle_event_moddone()
684 struct dns64_qstate* iq; in dns64_operate() local
694 if (!(iq = (struct dns64_qstate*)regional_alloc( in dns64_operate()
695 qstate->region, sizeof(*iq)))) { in dns64_operate()
[all …]

12345678