Home
last modified time | relevance | path

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

/linux/net/core/
H A Dnetdev_rx_queue.c180 struct netdev_queue_config qcfg; in netdev_rx_queue_restart() local
182 netdev_queue_config(dev, rxq_idx, &qcfg); in netdev_rx_queue_restart()
183 return netdev_rx_queue_reconfig(dev, rxq_idx, &qcfg, &qcfg); in netdev_rx_queue_restart()
192 struct netdev_queue_config qcfg[2]; in __netif_mp_open_rxq() local
228 netdev_queue_config(dev, rxq_idx, &qcfg[0]); in __netif_mp_open_rxq()
230 ret = netdev_queue_config_validate(dev, rxq_idx, &qcfg[1], extack); in __netif_mp_open_rxq()
234 ret = netdev_rx_queue_reconfig(dev, rxq_idx, &qcfg[0], &qcfg[1]); in __netif_mp_open_rxq()
281 struct netdev_queue_config qcfg[ in __netif_mp_close_rxq() local
[all...]
H A Ddev.h106 struct netdev_queue_config *qcfg,
/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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2828 struct netdev_queue_config *qcfg, in mlx5e_open_channel() argument
2862 err = mlx5e_build_channel_param(mdev, params, qcfg, cparam); in mlx5e_open_channel()
5660 struct netdev_queue_config *qcfg) in mlx5e_queue_validate_page_size()
5662 qcfg->rx_page_size = PAGE_SIZE; in mlx5e_queue_mem_alloc()
5666 struct netdev_queue_config *qcfg, in mlx5e_queue_mem_alloc()
5673 if (!is_power_of_2(qcfg->rx_page_size)) { in mlx5e_queue_mem_alloc()
5675 qcfg->rx_page_size); in mlx5e_queue_mem_alloc()
5680 if (qcfg->rx_page_size < PAGE_SIZE || qcfg->rx_page_size > max) { in mlx5e_queue_mem_alloc()
5683 qcfg in mlx5e_queue_mem_alloc()
5619 mlx5e_queue_default_qcfg(struct net_device * dev,struct netdev_queue_config * qcfg) mlx5e_queue_default_qcfg() argument
5625 mlx5e_queue_validate_qcfg(struct net_device * dev,struct netdev_queue_config * qcfg,struct netlink_ext_ack * extack) mlx5e_queue_validate_qcfg() argument
5650 mlx5e_queue_validate_page_size(struct net_device * dev,struct netdev_queue_config * qcfg,int queue_index) mlx5e_queue_validate_page_size() argument
5663 mlx5e_queue_mem_alloc(struct net_device * dev,struct netdev_queue_config * qcfg,void * newq,int queue_index) mlx5e_queue_mem_alloc() argument
5727 mlx5e_queue_start(struct net_device * dev,struct netdev_queue_config * qcfg,void * newq,int queue_index) mlx5e_queue_start() argument
[all...]
/linux/drivers/net/netdevsim/
H A Dnetdev.c751 struct netdev_queue_config *qcfg, in nsim_queue_mem_alloc()
801 nsim_queue_start(struct net_device *dev, struct netdev_queue_config *qcfg, in nsim_queue_start()
750 nsim_queue_mem_alloc(struct net_device * dev,struct netdev_queue_config * qcfg,void * per_queue_mem,int idx) nsim_queue_mem_alloc() argument
800 nsim_queue_start(struct net_device * dev,struct netdev_queue_config * qcfg,void * per_queue_mem,int idx) 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.c4424 struct netdev_queue_config qcfg; in bnxt_init_ring_struct()
4447 netdev_queue_config(bp->dev, i, &qcfg); in bnxt_init_ring_struct()
4448 rxr->rx_page_size = qcfg.rx_page_size; in bnxt_init_ring_struct()
16170 struct netdev_queue_config *qcfg) in bnxt_queue_mem_alloc()
16172 qcfg->rx_page_size = BNXT_RX_PAGE_SIZE; in bnxt_queue_mem_alloc()
16176 struct netdev_queue_config *qcfg, in bnxt_queue_mem_alloc()
16183 qcfg->rx_page_size != BNXT_RX_PAGE_SIZE) in bnxt_queue_mem_alloc()
16186 if (!is_power_of_2(qcfg->rx_page_size)) in bnxt_queue_mem_alloc()
16189 if (qcfg->rx_page_size < BNXT_RX_PAGE_SIZE || in bnxt_queue_mem_alloc()
16190 qcfg in bnxt_queue_mem_alloc()
4418 struct netdev_queue_config qcfg; bnxt_init_ring_struct() local
16126 bnxt_queue_default_qcfg(struct net_device * dev,struct netdev_queue_config * qcfg) bnxt_queue_default_qcfg() argument
16132 bnxt_validate_qcfg(struct net_device * dev,struct netdev_queue_config * qcfg,struct netlink_ext_ack * extack) bnxt_validate_qcfg() argument
16153 bnxt_queue_mem_alloc(struct net_device * dev,struct netdev_queue_config * qcfg,void * qmem,int idx) bnxt_queue_mem_alloc() argument
16324 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.c2832 struct netdev_queue_config *qcfg, in fbnic_queue_mem_alloc() argument
2887 struct netdev_queue_config *qcfg, in fbnic_queue_start() argument