Home
last modified time | relevance | path

Searched refs:tx_cfg (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/gve/
H A Dgve_tx.c181 priv->tx = malloc(sizeof(struct gve_tx_ring) * priv->tx_cfg.num_queues, in gve_alloc_tx_rings()
184 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_alloc_tx_rings()
205 for (i = 0; i < priv->tx_cfg.num_queues; i++) in gve_free_tx_rings()
276 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_create_tx_rings()
283 err = gve_adminq_create_tx_queues(priv, priv->tx_cfg.num_queues); in gve_create_tx_rings()
290 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_create_tx_rings()
333 for (i = 0; i < priv->tx_cfg.num_queues; i++) in gve_destroy_tx_rings()
337 err = gve_adminq_destroy_tx_queues(priv, priv->tx_cfg.num_queues); in gve_destroy_tx_rings()
869 i = mbuf->m_pkthdr.flowid % priv->tx_cfg.num_queues; in gve_xmit_ifp()
871 i = curcpu % priv->tx_cfg.num_queues; in gve_xmit_ifp()
[all …]
H A Dgve_utils.c237 num_irqs = priv->tx_cfg.num_queues + priv->rx_cfg.num_queues + 1; in gve_free_irqs()
271 int num_tx = priv->tx_cfg.num_queues; in gve_alloc_irqs()
411 for (idx = 0; idx < priv->tx_cfg.num_queues; idx++) { in gve_unmask_all_queue_irqs()
433 for (int idx = 0; idx < priv->tx_cfg.num_queues; idx++) { in gve_mask_all_queue_irqs()
H A Dgve_main.c594 priv->tx_cfg.max_queues = gve_reg_bar_read_4(priv, MAX_TX_QUEUES); in gve_set_queue_cnts()
596 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_set_queue_cnts()
600 priv->tx_cfg.num_queues = MIN(priv->default_num_queues, in gve_set_queue_cnts()
601 priv->tx_cfg.num_queues); in gve_set_queue_cnts()
606 priv->num_queues = priv->tx_cfg.num_queues + priv->rx_cfg.num_queues; in gve_set_queue_cnts()
H A Dgve_sysctl.c201 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_setup_queue_stat_sysctl()
321 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_accum_stats()
H A Dgve_qpl.c45 return (priv->tx_cfg.max_queues); in gve_num_tx_qpls()
H A Dgve.h546 struct gve_queue_config tx_cfg; member
H A Dgve_rx.c116 com->qpl = &priv->qpls[priv->tx_cfg.max_queues + i]; in gve_rx_alloc_ring_gqi()
H A Dgve_rx_dqo.c126 rx->com.qpl = &priv->qpls[priv->tx_cfg.max_queues + i]; in gve_rx_alloc_ring_dqo()
/freebsd/sys/dev/vr/
H A Dif_vr.c201 int tx_cfg; member
2059 VR_SETBIT(sc, VR_TXCFG, vr_tx_threshold_tables[sc->vr_txthresh].tx_cfg); in vr_init_locked()
/freebsd/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_ec_regs.h411 uint32_t tx_cfg; member
H A Dal_hal_eth_main.c685 …al_reg_write32(&adapter->ec_regs_base->tmi.tx_cfg, EC_TMI_TX_CFG_EN_FWD_TO_RX|EC_TMI_TX_CFG_SWAP_B… in al_eth_adapter_init()