Home
last modified time | relevance | path

Searched refs:max_queues (Results 1 – 14 of 14) sorted by relevance

/freebsd/usr.sbin/bhyve/
H A Dpci_nvme.c331 uint32_t max_queues; /* max number of IO SQ's or CQ's */ member
1363 if (ncq->intr_vec > (sc->max_queues + 1)) { in nvme_opc_create_io_cq()
1686 if (iv > (sc->max_queues + 1)) { in nvme_feature_iv_config()
1786 if (sc->num_squeues > sc->max_queues) { in nvme_feature_num_queues()
1788 sc->max_queues); in nvme_feature_num_queues()
1789 sc->num_squeues = sc->max_queues; in nvme_feature_num_queues()
1800 if (sc->num_cqueues > sc->max_queues) { in nvme_feature_num_queues()
1802 sc->max_queues); in nvme_feature_num_queues()
1803 sc->num_cqueues = sc->max_queues; in nvme_feature_num_queues()
2963 if (belloffset > ((sc->max_queues+1) * 8 - 4)) { in pci_nvme_write_bar_0()
[all …]
/freebsd/sys/dev/gve/
H A Dgve_qpl.c45 return (priv->tx_cfg.max_queues); in gve_num_tx_qpls()
54 return (priv->rx_cfg.max_queues); in gve_num_rx_qpls()
H A Dgve_main.c579 priv->tx_cfg.max_queues = gve_reg_bar_read_4(priv, MAX_TX_QUEUES); in gve_set_queue_cnts()
580 priv->rx_cfg.max_queues = gve_reg_bar_read_4(priv, MAX_RX_QUEUES); in gve_set_queue_cnts()
581 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_set_queue_cnts()
582 priv->rx_cfg.num_queues = priv->rx_cfg.max_queues; in gve_set_queue_cnts()
H A Dgve.h90 uint16_t max_queues; 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/ena/
H A Dena.c2644 struct ena_admin_queue_feature_desc *max_queues = in ena_calc_max_io_queue_num() local
2645 &get_feat_ctx->max_queues; in ena_calc_max_io_queue_num()
2646 io_tx_sq_num = max_queues->max_sq_num; in ena_calc_max_io_queue_num()
2647 io_tx_cq_num = max_queues->max_cq_num; in ena_calc_max_io_queue_num()
2814 struct ena_admin_queue_feature_desc *max_queues = in ena_calc_io_queue_size() local
2815 &ctx->get_feat_ctx->max_queues; in ena_calc_io_queue_size()
2816 max_rx_queue_size = min_t(uint32_t, max_queues->max_cq_depth, in ena_calc_io_queue_size()
2817 max_queues->max_sq_depth); in ena_calc_io_queue_size()
2818 max_tx_queue_size = max_queues->max_cq_depth; in ena_calc_io_queue_size()
2826 max_queues->max_sq_depth); in ena_calc_io_queue_size()
[all …]
/freebsd/sys/dev/mana/
H A Dmana_en.c2561 uint32_t max_txq, max_rxq, max_queues; in mana_init_port() local
2578 max_queues = min_t(uint32_t, max_txq, max_rxq); in mana_init_port()
2579 if (apc->max_queues > max_queues) in mana_init_port()
2580 apc->max_queues = max_queues; in mana_init_port()
2582 if (apc->num_queues > apc->max_queues) in mana_init_port()
2583 apc->num_queues = apc->max_queues; in mana_init_port()
2782 apc->max_queues = gc->max_num_queues; in mana_probe_port()
H A Dmana.h507 unsigned int max_queues; member
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c582 unsigned long num_queues, max_queues = 0; in talk_to_backend() local
592 "multi-queue-max-queues", NULL, "%lu", &max_queues); in talk_to_backend()
594 max_queues = 1; in talk_to_backend()
596 if (num_queues > max_queues) in talk_to_backend()
597 num_queues = max_queues; in talk_to_backend()
/freebsd/sys/dev/vnic/
H A Dnic.h309 uint8_t max_queues; member
H A Dnicvf_main.c208 nic->max_queues = qcount; in nicvf_attach()
/freebsd/sys/contrib/ena-com/
H A Dena_com.h436 struct ena_admin_queue_feature_desc max_queues; member
H A Dena_com.c2368 memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, in ena_com_get_dev_attr_feat()