Home
last modified time | relevance | path

Searched refs:qcfg (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c28 struct netdev_queue_config *qcfg = rqo ? rqo->qcfg : NULL; in mlx5e_mpwrq_page_shift() local
35 else if (qcfg && qcfg->rx_page_size) in mlx5e_mpwrq_page_shift()
36 req_page_shift = order_base_2(qcfg->rx_page_size); in mlx5e_mpwrq_page_shift()
1298 struct netdev_queue_config *qcfg, in mlx5e_build_channel_param() argument
1304 cparam->rq_opt.qcfg = qcfg; in mlx5e_build_channel_param()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c361 if (idx >= cfg->qcfg->num_queues && cfg->num_xdp_rings) { in gve_tx_alloc_ring_dqo()
419 total_queues = cfg->qcfg->num_queues + cfg->num_xdp_rings; in gve_tx_alloc_rings_dqo()
420 if (total_queues > cfg->qcfg->max_queues) { in gve_tx_alloc_rings_dqo()
426 tx = kvzalloc_objs(struct gve_tx_ring, cfg->qcfg->max_queues); in gve_tx_alloc_rings_dqo()
459 for (i = 0; i < cfg->qcfg->num_queues + cfg->qcfg->num_xdp_queues; i++) in gve_tx_free_rings_dqo()
H A Dgve_main.c967 cfg->qcfg = &priv->tx_cfg; in gve_tx_get_curr_alloc_cfg()
971 cfg->num_xdp_rings = cfg->qcfg->num_xdp_queues; in gve_tx_get_curr_alloc_cfg()
1020 tx_num_queues = tx_alloc_cfg->qcfg->num_queues; in gve_update_num_qpl_pages()
1409 priv->tx_cfg = *tx_alloc_cfg->qcfg; in gve_queues_start()
1903 tx_alloc_cfg.qcfg = &new_tx_config; in gve_adjust_queues()
2692 struct netdev_queue_config *qcfg, in gve_rx_queue_mem_alloc() argument
2715 struct netdev_queue_config *qcfg, in gve_rx_queue_start() argument
H A Dgve.h714 struct gve_tx_queue_config *qcfg; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2830 struct netdev_queue_config *qcfg, in mlx5e_open_channel() argument
2864 err = mlx5e_build_channel_param(mdev, params, qcfg, cparam); in mlx5e_open_channel()
5664 struct netdev_queue_config *qcfg) in mlx5e_queue_default_qcfg() argument
5666 qcfg->rx_page_size = PAGE_SIZE; in mlx5e_queue_default_qcfg()
5670 struct netdev_queue_config *qcfg, in mlx5e_queue_validate_qcfg() argument
5677 if (!is_power_of_2(qcfg->rx_page_size)) { in mlx5e_queue_validate_qcfg()
5679 qcfg->rx_page_size); in mlx5e_queue_validate_qcfg()
5684 if (qcfg->rx_page_size < PAGE_SIZE || qcfg->rx_page_size > max) { in mlx5e_queue_validate_qcfg()
5687 qcfg->rx_page_size, PAGE_SIZE, max); in mlx5e_queue_validate_qcfg()
5695 struct netdev_queue_config *qcfg, in mlx5e_queue_validate_page_size() argument
[all …]
/linux/net/core/
H A Ddev.h106 struct netdev_queue_config *qcfg,
/linux/drivers/net/ethernet/brocade/bna/
H A Dbna_tx_rx.c1264 #define BNA_GET_RXQS(qcfg) (((qcfg)->rxp_type == BNA_RXP_SINGLE) ? \ argument
1265 (qcfg)->num_paths : ((qcfg)->num_paths * 2))
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.c2833 struct netdev_queue_config *qcfg, in fbnic_queue_mem_alloc() argument
2888 struct netdev_queue_config *qcfg, in fbnic_queue_start() argument