Searched refs:tx_cfg (Results 1 – 11 of 11) sorted by relevance
| /freebsd/sys/dev/gve/ |
| H A D | gve_main.c | 149 priv->tx_cfg.num_queues; in gve_tx_timeout_service_callback() 312 if (new_queue_cnt < priv->tx_cfg.num_queues) { in gve_adjust_tx_queues() 317 gve_free_tx_rings(priv, new_queue_cnt, priv->tx_cfg.num_queues); in gve_adjust_tx_queues() 319 err = gve_alloc_tx_rings(priv, priv->tx_cfg.num_queues, new_queue_cnt); in gve_adjust_tx_queues() 328 priv->tx_cfg.num_queues = new_queue_cnt; in gve_adjust_tx_queues() 359 gve_free_tx_rings(priv, 0, priv->tx_cfg.num_queues); in gve_adjust_ring_sizes() 362 err = gve_alloc_tx_rings(priv, 0, priv->tx_cfg.num_queues); in gve_adjust_ring_sizes() 367 err = gve_alloc_tx_rings(priv, 0, priv->tx_cfg.num_queues); in gve_adjust_ring_sizes() 697 gve_free_tx_rings(priv, 0, priv->tx_cfg.num_queues); in gve_free_rings() 717 priv->tx = malloc(sizeof(struct gve_tx_ring) * priv->tx_cfg.max_queues, in gve_alloc_rings() [all …]
|
| H A D | gve_sysctl.c | 209 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_setup_queue_stat_sysctl() 305 if (val > (is_rx ? priv->rx_cfg.max_queues : priv->tx_cfg.max_queues)) { in gve_check_num_queues() 321 val = priv->tx_cfg.num_queues; in gve_sysctl_num_tx_queues() 330 if (val != priv->tx_cfg.num_queues) { in gve_sysctl_num_tx_queues() 499 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_accum_stats()
|
| H A D | gve_tx.c | 280 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_create_tx_rings() 287 err = gve_adminq_create_tx_queues(priv, priv->tx_cfg.num_queues); in gve_create_tx_rings() 294 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_create_tx_rings() 337 for (i = 0; i < priv->tx_cfg.num_queues; i++) in gve_destroy_tx_rings() 341 err = gve_adminq_destroy_tx_queues(priv, priv->tx_cfg.num_queues); in gve_destroy_tx_rings() 902 i = mbuf->m_pkthdr.flowid % priv->tx_cfg.num_queues; in gve_xmit_ifp() 904 i = curcpu % priv->tx_cfg.num_queues; in gve_xmit_ifp() 948 for (i = 0; i < priv->tx_cfg.num_queues; ++i) { in gve_qflush()
|
| H A D | gve_utils.c | 237 num_irqs = priv->tx_cfg.max_queues + priv->rx_cfg.max_queues + 1; in gve_free_irqs() 271 int num_tx = priv->tx_cfg.max_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 D | gve_qpl.c | 172 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_register_qpls() 214 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_unregister_qpls()
|
| H A D | gve.h | 594 struct gve_queue_config tx_cfg; member
|
| H A D | gve_rx.c | 122 com->qpl = gve_alloc_qpl(priv, i + priv->tx_cfg.max_queues, in gve_rx_alloc_ring_gqi()
|
| H A D | gve_rx_dqo.c | 132 rx->com.qpl = gve_alloc_qpl(priv, i + priv->tx_cfg.max_queues, in gve_rx_alloc_ring_dqo()
|
| /freebsd/sys/dev/vr/ |
| H A D | if_vr.c | 201 int tx_cfg; member 2058 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 D | al_hal_eth_ec_regs.h | 411 uint32_t tx_cfg; member
|
| H A D | al_hal_eth_main.c | 685 …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()
|