Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/alibaba/eea/
H A Deea_adminq.c329 static void qcfg_fill(struct eea_aq_create *qcfg, struct eea_ring *ering, in qcfg_fill() argument
332 qcfg->flags = cpu_to_le32(flags); in qcfg_fill()
333 qcfg->qidx = cpu_to_le16(ering->index); in qcfg_fill()
334 qcfg->depth = cpu_to_le16(ering->num); in qcfg_fill()
336 qcfg->hdr_buf_size = flags & EEA_QUEUE_FLAGS_HW_SPLIT_HDR ? 1 : 0; in qcfg_fill()
337 qcfg->sq_desc_size = ering->sq.desc_size; in qcfg_fill()
338 qcfg->cq_desc_size = ering->cq.desc_size; in qcfg_fill()
339 qcfg->msix_vector = cpu_to_le16(ering->msix_vec); in qcfg_fill()
341 qcfg->sq_addr_low = cpu_to_le32(lower_32_bits(ering->sq.dma_addr)); in qcfg_fill()
342 qcfg->sq_addr_high = cpu_to_le32(upper_32_bits(ering->sq.dma_addr)); in qcfg_fill()
[all …]
/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/netdevsim/
H A Dnetdev.c752 struct netdev_queue_config *qcfg, in nsim_queue_mem_alloc() argument
802 nsim_queue_start(struct net_device *dev, struct netdev_queue_config *qcfg, in nsim_queue_start() argument
/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/broadcom/bnxt/
H A Dbnxt.c4453 struct netdev_queue_config qcfg; in bnxt_init_ring_struct()
4476 netdev_queue_config(bp->dev, i, &qcfg); in bnxt_init_ring_struct()
4477 rxr->rx_page_size = qcfg.rx_page_size; in bnxt_init_ring_struct()
16327 struct netdev_queue_config *qcfg) in bnxt_queue_default_qcfg()
16329 qcfg->rx_page_size = BNXT_RX_PAGE_SIZE; in bnxt_queue_default_qcfg()
16333 struct netdev_queue_config *qcfg, in bnxt_validate_qcfg()
16340 qcfg->rx_page_size != BNXT_RX_PAGE_SIZE) in bnxt_validate_qcfg()
16343 if (!is_power_of_2(qcfg->rx_page_size)) in bnxt_validate_qcfg()
16346 if (qcfg->rx_page_size < BNXT_RX_PAGE_SIZE || in bnxt_validate_qcfg()
16347 qcfg in bnxt_validate_qcfg()
4454 struct netdev_queue_config qcfg; bnxt_init_ring_struct() local
16328 bnxt_queue_default_qcfg(struct net_device * dev,struct netdev_queue_config * qcfg) bnxt_queue_default_qcfg() argument
16334 bnxt_validate_qcfg(struct net_device * dev,struct netdev_queue_config * qcfg,struct netlink_ext_ack * extack) bnxt_validate_qcfg() argument
16355 bnxt_queue_mem_alloc(struct net_device * dev,struct netdev_queue_config * qcfg,void * qmem,int idx) bnxt_queue_mem_alloc() argument
16536 bnxt_queue_start(struct net_device * dev,struct netdev_queue_config * qcfg,void * qmem,int idx) bnxt_queue_start() argument
[all...]
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.c2869 struct netdev_queue_config *qcfg, in fbnic_queue_mem_alloc() argument
2932 struct netdev_queue_config *qcfg, in fbnic_queue_start() argument