Home
last modified time | relevance | path

Searched refs:ntxq (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.c460 int nq = txq_info->ntxq; in free_sge_txq_uld()
483 int nq = txq_info->ntxq; in alloc_sge_txq_uld()
538 txq_info->ntxq = rounddown(i, adap->params.nports); in setup_sge_txq_uld()
539 if (txq_info->ntxq <= 0) { in setup_sge_txq_uld()
546 i = min_t(int, uld_info->ntxq, num_online_cpus()); in setup_sge_txq_uld()
547 txq_info->ntxq = roundup(i, adap->params.nports); in setup_sge_txq_uld()
549 txq_info->uldtxq = kcalloc(txq_info->ntxq, sizeof(struct sge_uld_txq), in setup_sge_txq_uld()
578 lli->ntxq = txq_info->ntxq; in uld_queue_init()
Dcxgb4_uld.h327 unsigned short ntxq; /* # of Tx queues */ member
373 unsigned int ntxq; member
Dcxgb4_debugfs.c2634 return DIV_ROUND_UP(utxq_info->ntxq, 4); in sge_qinfo_uld_txq_entries()
2769 n = min(4, utxq_info->ntxq - 4 * r); in sge_qinfo_show()
2920 n = min(4, utxq_info->ntxq - 4 * r); in sge_qinfo_show()
Dcxgb4.h801 u16 ntxq; /* # of egress uld queues */ member
Dcudbg_lib.c3041 for (i = 0; i < utxq->ntxq; i++) in cudbg_collect_qdesc()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dusb.h28 int ntxq, nrxq, rxsize; member
Dusb.c676 for (i = 0; i < devinfo->bus_pub.ntxq; i++) in brcmf_cancel_all_urbs()
1053 int nrxq, int ntxq) in brcmf_usb_attach() argument
1060 devinfo->bus_pub.ntxq = ntxq; in brcmf_usb_attach()
1064 devinfo->tx_low_watermark = ntxq / 4; in brcmf_usb_attach()
1087 devinfo->tx_reqs = brcmf_usbdev_qinit(&devinfo->tx_freeq, ntxq); in brcmf_usb_attach()
1090 devinfo->tx_freecount = ntxq; in brcmf_usb_attach()
/Linux-v5.4/net/core/
Dpktgen.c2026 int ntxq; in pktgen_setup_inject() local
2036 ntxq = pkt_dev->odev->real_num_tx_queues; in pktgen_setup_inject()
2038 if (ntxq <= pkt_dev->queue_map_min) { in pktgen_setup_inject()
2040 pkt_dev->queue_map_min, (ntxq ?: 1) - 1, ntxq, in pktgen_setup_inject()
2042 pkt_dev->queue_map_min = (ntxq ?: 1) - 1; in pktgen_setup_inject()
2044 if (pkt_dev->queue_map_max >= ntxq) { in pktgen_setup_inject()
2046 pkt_dev->queue_map_max, (ntxq ?: 1) - 1, ntxq, in pktgen_setup_inject()
2048 pkt_dev->queue_map_max = (ntxq ?: 1) - 1; in pktgen_setup_inject()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h327 int ntxq, struct net_device *dev,
Dsge.c3037 int ntxq, struct net_device *dev, in t3_sge_alloc_qset() argument
3067 for (i = 0; i < ntxq; ++i) { in t3_sge_alloc_qset()
3149 if (ntxq > 1) { in t3_sge_alloc_qset()
3158 if (ntxq > 2) { in t3_sge_alloc_qset()
Dcxgb3_main.c658 unsigned int ntxq = SGE_TXQ_PER_SET; in setup_sge_qsets() local
672 &adap->params.sge.qset[qset_idx], ntxq, dev, in setup_sge_qsets()
/Linux-v5.4/drivers/net/ethernet/cortina/
Dgemini.c1129 struct netdev_queue *ntxq = netdev_get_tx_queue(netdev, txq_num); in gmac_tx_irq() local
1132 netif_tx_wake_queue(ntxq); in gmac_tx_irq()
1230 struct netdev_queue *ntxq; in gmac_start_xmit() local
1243 ntxq = netdev_get_tx_queue(netdev, txq_num); in gmac_start_xmit()
1259 netif_tx_stop_queue(ntxq); in gmac_start_xmit()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_main.c554 .ntxq = MAX_ULD_QSETS,
Dchtls_cm.c1080 csk->txq_idx = (rxq_idx < cdev->lldi->ntxq) ? rxq_idx : in chtls_recv_sock()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c687 .ntxq = MAX_ULD_QSETS,
Dcxgbit_cm.c939 step = cdev->lldi.ntxq / in cxgbit_offload_init()
975 step = cdev->lldi.ntxq / in cxgbit_offload_init()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c93 .ntxq = MAX_ULD_QSETS,
1782 step = lldi->ntxq / lldi->nchan; in init_act_open()
2130 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Ddevice.c1091 ctx->lldi.ntxq, ctx->lldi.nports); in c4iw_uld_add()
1501 .ntxq = MAX_ULD_QSETS,
Dcm.c2108 step = cdev->rdev.lldi.ntxq / in import_ep()
2127 step = cdev->rdev.lldi.ntxq / in import_ep()
/Linux-v5.4/drivers/tty/
Dn_gsm.c2062 struct gsm_msg *txq, *ntxq; in gsm_cleanup_mux() local
2090 list_for_each_entry_safe(txq, ntxq, &gsm->tx_list, list) in gsm_cleanup_mux()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c1365 int txq_perchan, txq_idx, ntxq; in chcr_device_init() local
1377 ntxq = u_ctx->lldi.ntxq; in chcr_device_init()
1379 txq_perchan = ntxq / u_ctx->lldi.nchan; in chcr_device_init()