Home
last modified time | relevance | path

Searched refs:rxqs (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c131 update_rx_stats(nic_dev, &nic_dev->rxqs[i]); in update_nic_stats()
247 if (nic_dev->rxqs) in create_rxqs()
250 rxq_size = num_rxqs * sizeof(*nic_dev->rxqs); in create_rxqs()
251 nic_dev->rxqs = devm_kzalloc(&netdev->dev, rxq_size, GFP_KERNEL); in create_rxqs()
252 if (!nic_dev->rxqs) in create_rxqs()
260 err = hinic_init_rxq(&nic_dev->rxqs[i], rq, netdev); in create_rxqs()
278 hinic_clean_rxq(&nic_dev->rxqs[i]); in create_rxqs()
281 hinic_rq_debug_rem(nic_dev->rxqs[j].rq); in create_rxqs()
282 hinic_clean_rxq(&nic_dev->rxqs[j]); in create_rxqs()
287 devm_kfree(&netdev->dev, nic_dev->rxqs); in create_rxqs()
[all …]
Dhinic_dev.h94 struct hinic_rxq *rxqs; member
Dhinic_debugfs.c234 rq = dev->rxqs[rq_id].rq; in hinic_rq_debug_add()
Dhinic_ethtool.c704 msix_idx = set_rx_coal ? nic_dev->rxqs[q_id].rq->msix_entry : in set_queue_coalesce()
1389 if (!nic_dev->rxqs) in get_drv_queue_stats()
1392 hinic_rxq_get_stats(&nic_dev->rxqs[qid], &rxq_stats); in get_drv_queue_stats()
/Linux-v5.10/net/
Ddevres.c22 unsigned int txqs, unsigned int rxqs) in devm_alloc_etherdev_mqs() argument
30 dr->ndev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); in devm_alloc_etherdev_mqs()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.h102 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs);
Dnfp_net_repr.c422 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs) in nfp_repr_alloc_mqs() argument
427 netdev = alloc_etherdev_mqs(sizeof(*repr), txqs, rxqs); in nfp_repr_alloc_mqs()
/Linux-v5.10/include/linux/
Detherdevice.h50 unsigned int rxqs);
56 unsigned int rxqs);
Dnetdevice.h3752 unsigned int rxqs) in netif_set_real_num_rx_queues() argument
3754 dev->real_num_rx_queues = rxqs; in netif_set_real_num_rx_queues()
4372 unsigned int txqs, unsigned int rxqs);
/Linux-v5.10/net/ethernet/
Deth.c396 unsigned int rxqs) in alloc_etherdev_mqs() argument
399 ether_setup, txqs, rxqs); in alloc_etherdev_mqs()
/Linux-v5.10/include/linux/can/
Ddev.h196 unsigned int txqs, unsigned int rxqs);
/Linux-v5.10/drivers/net/ethernet/marvell/
Dmvneta.c469 struct mvneta_rx_queue *rxqs; member
1229 struct mvneta_rx_queue *rxq = &pp->rxqs[queue]; in mvneta_port_up()
3168 &pp->rxqs[rx_queue]); in mvneta_poll()
3171 &pp->rxqs[rx_queue]); in mvneta_poll()
3510 mvneta_rxq_deinit(pp, &pp->rxqs[queue]); in mvneta_cleanup_rxqs()
3520 int err = mvneta_rxq_init(pp, &pp->rxqs[queue]); in mvneta_setup_rxqs()
4483 struct mvneta_rx_queue *rxq = &pp->rxqs[queue]; in mvneta_ethtool_set_coalesce()
4505 c->rx_coalesce_usecs = pp->rxqs[0].time_coal; in mvneta_ethtool_get_coalesce()
4506 c->rx_max_coalesced_frames = pp->rxqs[0].pkts_coal; in mvneta_ethtool_get_coalesce()
4963 pp->rxqs = devm_kcalloc(dev, rxq_number, sizeof(*pp->rxqs), GFP_KERNEL); in mvneta_init()
[all …]
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dipoib_main.c272 params->rxqs = dd->num_netdev_contexts; in hfi1_ipoib_rn_get_params()
/Linux-v5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c666 prxq = port->rxqs[lrxq]->id; in mvpp2_rxq_long_pool_set()
687 prxq = port->rxqs[lrxq]->id; in mvpp2_rxq_short_pool_set()
1950 queue = port->rxqs[lrxq]->id; in mvpp2_defaults_set()
1968 queue = port->rxqs[lrxq]->id; in mvpp2_ingress_enable()
1981 queue = port->rxqs[lrxq]->id; in mvpp2_ingress_disable()
2468 return port->rxqs[queue]; in mvpp2_get_rx_queue()
2921 mvpp2_rxq_deinit(port, port->rxqs[queue]); in mvpp2_cleanup_rxqs()
2930 err = mvpp2_rxq_init(port, port->rxqs[queue]); in mvpp2_setup_rxqs()
4977 struct mvpp2_rx_queue *rxq = port->rxqs[queue]; in mvpp2_ethtool_set_coalesce()
5008 c->rx_coalesce_usecs = port->rxqs[0]->time_coal; in mvpp2_ethtool_get_coalesce()
[all …]
Dmvpp2.h1090 struct mvpp2_rx_queue **rxqs; member
/Linux-v5.10/drivers/net/can/
Ddev.c748 unsigned int txqs, unsigned int rxqs) in alloc_candev_mqs() argument
774 txqs, rxqs); in alloc_candev_mqs()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c803 .rxqs = nch, in mlx5_rdma_rn_get_params()
/Linux-v5.10/net/core/
Ddev.c10434 unsigned int txqs, unsigned int rxqs) in alloc_netdev_mqs() argument
10447 if (rxqs < 1) { in alloc_netdev_mqs()
10514 dev->num_rx_queues = rxqs; in alloc_netdev_mqs()
10515 dev->real_num_rx_queues = rxqs; in alloc_netdev_mqs()
/Linux-v5.10/drivers/infiniband/core/
Dverbs.c2863 setup, params.txqs, params.rxqs); in rdma_alloc_netdev()
/Linux-v5.10/include/rdma/
Dib_verbs.h2220 unsigned int rxqs; member