Searched refs:txq (Results 1 - 25 of 69) sorted by last modified time

123

/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_freebsd.c480 nm_os_generic_find_num_queues(struct ifnet *ifp, u_int *txq, u_int *rxq) argument
484 *txq = num_rings;
H A Dnetmap_kern.h2048 void nm_os_generic_find_num_queues(struct ifnet *ifp, u_int *txq, u_int *rxq);
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c581 uint16_t ntxq; /* # of NIC txq's for each port */
583 uint16_t nofldtxq; /* # of TOE txq's for each port */
587 uint16_t ntxq_vi; /* # of NIC txq's */
589 uint16_t nofldtxq_vi; /* # of TOE txq's */
591 uint16_t nnmtxq_vi; /* # of netmap txq's */
1212 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE,
1537 free(sc->sge.txq, M_CXGBE);
1650 sbuf_printf(sb, "%d txq, %d rxq (NIC)", vi->ntxq, vi->nrxq);
1653 sbuf_printf(sb, "; %d txq, %d rxq (TOE)",
1658 sbuf_printf(sb, "; %d txq,
2006 struct sge_txq *txq; local
2043 struct sge_txq *txq; local
2099 struct sge_txq *txq; local
2164 struct sge_txq *txq; local
4962 struct sge_txq *txq; local
5046 struct sge_txq *txq; local
5523 struct sge_txq *txq; local
5569 quiesce_txq(struct adapter *sc, struct sge_txq *txq) argument
10046 struct sge_txq *txq; local
[all...]
H A Dt4_vf.c65 uint16_t ntxq; /* # of NIC txq's for each port */
349 * list and interrupts and an egress queue. Every txq
681 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE,
851 struct sge_txq *txq; local
862 for_each_txq(vi, i, txq) {
863 txq->txcsum = 0;
864 txq->tso_wrs = 0;
865 txq->vlan_insertion = 0;
866 txq->imm_wrs = 0;
867 txq
[all...]
H A Dt4_sge.c1096 struct sge_txq *txq; local
1201 oid = SYSCTL_ADD_NODE(&vi->ctx, children, OID_AUTO, "txq", CTLFLAG_RD,
1203 for_each_txq(vi, i, txq) {
1205 snprintf(name, sizeof(name), "%s txq%d",
1207 init_eq(sc, &txq->eq, EQ_ETH, vi->qsize_txq, pi->tx_chan,
1210 rc = alloc_txq(vi, txq, i, oid);
1250 struct sge_txq *txq; local
1287 for_each_txq(vi, i, txq) {
1288 free_txq(vi, txq);
2558 struct sge_txq *txq local
3749 alloc_txq(struct vi_info *vi, struct sge_txq *txq, int idx, struct sysctl_oid *oid) argument
3873 free_txq(struct vi_info *vi, struct sge_txq *txq) argument
4224 write_txpkt_vm_wr(struct adapter *sc, struct sge_txq *txq, struct fw_eth_tx_pkt_vm_wr *wr, struct mbuf *m0, u_int available) argument
4403 write_txpkt_wr(struct sge_txq *txq, struct fw_eth_tx_pkt_wr *wr, struct mbuf *m0, u_int available) argument
4596 write_txpkts_wr(struct sge_txq *txq, struct fw_eth_tx_pkts_wr *wr, struct mbuf *m0, const struct txpkts *txp, u_int available) argument
4712 write_gl_to_txd(struct sge_txq *txq, struct mbuf *m, caddr_t *to, int checkwrap) argument
4896 reclaim_tx_descs(struct sge_txq *txq, u_int n) argument
4938 struct sge_txq *txq = arg; local
5176 struct sge_txq *txq = (void *)eq; local
[all...]
H A Dt4_sched.c292 bind_txq_to_traffic_class(struct adapter *sc, struct sge_txq *txq, int idx) argument
298 if (!(txq->eq.flags & EQ_ALLOCATED))
302 if (txq->tc_idx == -2) {
306 if (idx == txq->tc_idx) {
311 tc0 = &sc->port[txq->eq.tx_chan]->sched_params->cl_rl[0];
330 old_idx = txq->tc_idx;
331 txq->tc_idx = -2;
339 V_FW_PARAMS_PARAM_YZ(txq->eq.cntxt_id));
345 MPASS(txq->tc_idx == -2);
356 txq
380 struct sge_txq *txq; local
569 struct sge_txq *txq; local
[all...]
H A Dt4_ioctl.h385 int16_t txq; member in struct:offload_settings
H A Dadapter.h557 /* txq: SGE egress queue + what's needed for Ethernet NIC */
561 struct ifnet *ifp; /* the interface this txq belongs to */
743 struct sge_txq *txq; /* NIC tx queues */ member in struct:sge
928 #define TXQ_LOCK(txq) EQ_LOCK(&(txq)->eq)
929 #define TXQ_TRYLOCK(txq) EQ_TRYLOCK(&(txq)->eq)
930 #define TXQ_UNLOCK(txq) EQ_UNLOCK(&(txq)->eq)
931 #define TXQ_LOCK_ASSERT_OWNED(txq) EQ_LOCK_ASSERT_OWNE
[all...]
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_main.c1101 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local
1103 callout_drain(&txq->txq_watchdog);
1104 callout_drain(&txq->txq_timer);
1728 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local
1730 callout_reset_on(&txq->txq_watchdog, hz, cxgb_tx_watchdog, qs,
1731 txq->txq_watchdog.c_cpu);
2249 drops += sc->sge.qs[i].txq[TXQ_ETH].txq_mr->br_drops;
/freebsd-11-stable/sys/net/
H A Diflib.c440 #define TXQ_AVAIL(txq) (txq->ift_size - get_inuse(txq->ift_size, txq->ift_cidx, txq->ift_pidx, txq->ift_gen))
561 #define CALLOUT_LOCK(txq) mtx_lock(&txq->ift_mtx)
562 #define CALLOUT_UNLOCK(txq) mtx_unlock(&txq
926 iflib_txq_t txq = &ctx->ifc_txqs[kring->ring_id]; local
1160 iflib_netmap_txq_init(if_ctx_t ctx, iflib_txq_t txq) argument
1501 iflib_txsd_alloc(iflib_txq_t txq) argument
1594 iflib_txsd_destroy(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1607 iflib_txq_destroy(iflib_txq_t txq) argument
1647 iflib_txsd_free(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1668 iflib_txq_setup(iflib_txq_t txq) argument
2124 iflib_txq_t txq = arg; local
2193 iflib_txq_t txq; local
2283 iflib_txq_t txq = ctx->ifc_txqs; local
2727 txq_max_db_deferred(iflib_txq_t txq, qidx_t in_use) argument
2741 txq_max_rs_deferred(iflib_txq_t txq) argument
2773 iflib_txd_db_check(if_ctx_t ctx, iflib_txq_t txq, int ring, qidx_t in_use) argument
2808 iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, struct mbuf **mp) argument
3008 iflib_remove_mbuf(iflib_txq_t txq) argument
3035 iflib_busdma_load_mbuf_sg(iflib_txq_t txq, bus_dma_tag_t tag, bus_dmamap_t map, struct mbuf **m0, bus_dma_segment_t *segs, int *nsegs, int max_segs, int flags) argument
3153 calc_next_txd(iflib_txq_t txq, int cidx, uint8_t qid) argument
3214 iflib_encap(iflib_txq_t txq, struct mbuf **m_headp) argument
3418 iflib_tx_desc_free(iflib_txq_t txq, int n) argument
3482 iflib_completed_tx_reclaim(iflib_txq_t txq, int thresh) argument
3535 iflib_txq_check_drain(iflib_txq_t txq, int budget) argument
3544 iflib_txq_t txq = r->cookie; local
3554 iflib_txq_t txq = r->cookie; local
3662 iflib_txq_t txq; local
3683 iflib_ifmp_purge(iflib_txq_t txq) argument
3700 iflib_txq_t txq = context; local
3781 iflib_txq_t txq; local
3885 iflib_txq_t txq; local
3957 iflib_txq_t txq = ctx->ifc_txqs; local
4538 iflib_txq_t txq; local
4668 iflib_txq_t txq = ctx->ifc_txqs; local
4861 iflib_txq_t txq; local
5069 iflib_txq_t txq = ctx->ifc_txqs; local
5081 iflib_txq_t txq = ctx->ifc_txqs; local
5475 iflib_txq_t txq = ctx->ifc_txqs; local
5578 iflib_txq_t txq = ctx->ifc_txqs; local
5596 iflib_tx_credits_update(if_ctx_t ctx, iflib_txq_t txq) argument
5948 iflib_txq_t txq; local
[all...]
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_tom.c942 .txq = -1,
H A Dt4_listen.c969 if (s->txq >= 0 && s->txq < vi->nofldtxq)
970 txqid = s->txq;
H A Dt4_connect.c351 if (settings.txq >= 0 && settings.txq < vi->nofldtxq)
352 txqid = settings.txq;
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_hw.c7764 * @txq: the max number of egress queues
7780 unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl,
7796 V_FW_PFVF_CMD_NEQ(txq));
7779 t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl, unsigned int rxqi, unsigned int rxq, unsigned int tc, unsigned int vi, unsigned int cmask, unsigned int pmask, unsigned int nexact, unsigned int rcaps, unsigned int wxcaps) argument
H A Dcommon.h751 unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl,
/freebsd-11-stable/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c180 struct sge_wrq *txq; member in struct:ccr_softc
478 wr = alloc_wrqe(wr_len, sc->txq);
623 wr = alloc_wrqe(wr_len, sc->txq);
953 wr = alloc_wrqe(wr_len, sc->txq);
1281 wr = alloc_wrqe(wr_len, sc->txq);
1645 sc->txq = &sc->adapter->sge.ctrlq[0];
1998 if (sc->rxq->iq.adapter == NULL || sc->txq->adapter == NULL)
/freebsd-11-stable/sys/dev/ixl/
H A Dvirtchnl.h357 struct virtchnl_txq_info txq; member in struct:virtchnl_queue_pair_info
H A Dixlvc.c415 vqpi->txq.vsi_id = vqci->vsi_id;
416 vqpi->txq.queue_id = i;
417 vqpi->txq.ring_len = que->num_tx_desc;
418 vqpi->txq.dma_ring_addr = txr->dma.pa;
421 vqpi->txq.headwb_enabled = 1;
422 vqpi->txq.dma_headwb_addr = txr->dma.pa +
H A Dixl_pf_iov.c555 struct i40e_hmc_obj_txq txq; local
563 bzero(&txq, sizeof(txq));
572 txq.base = info->dma_ring_addr / IXL_TX_CTX_BASE_UNITS;
574 txq.head_wb_ena = info->headwb_enabled;
575 txq.head_wb_addr = info->dma_headwb_addr;
576 txq.qlen = info->ring_len;
577 txq.rdylist = le16_to_cpu(vf->vsi.info.qs_handle[0]);
578 txq.rdylist_act = 0;
580 status = i40e_set_lan_tx_queue_context(hw, global_queue_num, &txq);
[all...]
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwnvar.h295 struct iwn_tx_ring txq[IWN5000_NTXQUEUES]; member in struct:iwn_softc
H A Dif_iwn.c540 if ((error = iwn_alloc_tx_ring(sc, &sc->txq[i], i)) != 0) {
1422 iwn_free_tx_ring(sc, &sc->txq[qid]);
3160 struct iwn_tx_ring *txq; local
3175 txq = &sc->txq[ba->qid];
3187 for (lastidx = le16toh(ba->ssn) & 0xff; txq->read != lastidx;) {
3188 txdata = &txq->data[txq->read];
3191 bus_dmamap_sync(txq->data_dmat, txdata->map,
3193 bus_dmamap_unload(txq
8564 struct iwn_tx_ring *txq = &sc->txq[qid]; local
[all...]
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwmvar.h459 struct iwm_tx_ring txq[IWM_MVM_MAX_QUEUES]; member in struct:iwm_softc
H A Dif_iwm.c936 nitems(sc->txq) * sizeof(struct iwm_agn_scd_bc_tbl), 1024);
1322 for (qid = 0; qid < nitems(sc->txq); qid++)
1323 iwm_reset_tx_ring(sc, &sc->txq[qid]);
1480 for (qid = 0; qid < nitems(sc->txq); qid++) {
1481 struct iwm_tx_ring *txq = &sc->txq[qid]; local
1485 txq->desc_dma.paddr >> 8);
1489 qid, txq->desc,
1490 (unsigned long) (txq->desc_dma.paddr >> 8));
1532 "%s: cannot enable txq
[all...]
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwivar.h151 struct iwi_tx_ring txq[WME_NUM_AC]; member in struct:iwi_softc
H A Dif_iwi.c340 error = iwi_alloc_tx_ring(sc, &sc->txq[i], IWI_TX_RING_COUNT,
462 iwi_free_tx_ring(sc, &sc->txq[0]);
463 iwi_free_tx_ring(sc, &sc->txq[1]);
464 iwi_free_tx_ring(sc, &sc->txq[2]);
465 iwi_free_tx_ring(sc, &sc->txq[3]);
1606 iwi_tx_intr(struct iwi_softc *sc, struct iwi_tx_ring *txq) argument
1611 hw = CSR_READ_4(sc, txq->csr_ridx);
1613 while (txq->next != hw) {
1614 data = &txq->data[txq
1775 struct iwi_tx_ring *txq = &sc->txq[ac]; local
[all...]

Completed in 350 milliseconds

123