/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.c | 403 int nq = txq_info->ntxq; in free_sge_txq_uld() 426 int nq = txq_info->ntxq; in alloc_sge_txq_uld() 481 txq_info->ntxq = rounddown(i, adap->params.nports); in setup_sge_txq_uld() 482 if (txq_info->ntxq <= 0) { in setup_sge_txq_uld() 489 i = min_t(int, uld_info->ntxq, num_online_cpus()); in setup_sge_txq_uld() 490 txq_info->ntxq = roundup(i, adap->params.nports); in setup_sge_txq_uld() 492 txq_info->uldtxq = kcalloc(txq_info->ntxq, sizeof(struct sge_uld_txq), in setup_sge_txq_uld() 521 lli->ntxq = txq_info->ntxq; in uld_queue_init()
|
H A D | cxgb4_uld.h | 432 unsigned short ntxq; /* # of Tx queues */ member 478 unsigned int ntxq; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.c | 403 int nq = txq_info->ntxq; in free_sge_txq_uld() 426 int nq = txq_info->ntxq; in alloc_sge_txq_uld() 481 txq_info->ntxq = rounddown(i, adap->params.nports); in setup_sge_txq_uld() 482 if (txq_info->ntxq <= 0) { in setup_sge_txq_uld() 489 i = min_t(int, uld_info->ntxq, num_online_cpus()); in setup_sge_txq_uld() 490 txq_info->ntxq = roundup(i, adap->params.nports); in setup_sge_txq_uld() 492 txq_info->uldtxq = kcalloc(txq_info->ntxq, sizeof(struct sge_uld_txq), in setup_sge_txq_uld() 521 lli->ntxq = txq_info->ntxq; in uld_queue_init()
|
H A D | cxgb4_uld.h | 432 unsigned short ntxq; /* # of Tx queues */ member 478 unsigned int ntxq; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | usb.h | 28 int ntxq, nrxq, rxsize; member
|
H A D | usb.c | 714 for (i = 0; i < devinfo->bus_pub.ntxq; i++) in brcmf_cancel_all_urbs() 1103 int nrxq, int ntxq) in brcmf_usb_attach() 1110 devinfo->bus_pub.ntxq = ntxq; in brcmf_usb_attach() 1114 devinfo->tx_low_watermark = ntxq / 4; in brcmf_usb_attach() 1137 devinfo->tx_reqs = brcmf_usbdev_qinit(&devinfo->tx_freeq, ntxq); in brcmf_usb_attach() 1140 devinfo->tx_freecount = ntxq; in brcmf_usb_attach() 1102 brcmf_usb_attach(struct brcmf_usbdev_info *devinfo, int nrxq, int ntxq) brcmf_usb_attach() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | usb.h | 28 int ntxq, nrxq, rxsize; member
|
H A D | usb.c | 714 for (i = 0; i < devinfo->bus_pub.ntxq; i++) in brcmf_cancel_all_urbs() 1103 int nrxq, int ntxq) in brcmf_usb_attach() 1110 devinfo->bus_pub.ntxq = ntxq; in brcmf_usb_attach() 1114 devinfo->tx_low_watermark = ntxq / 4; in brcmf_usb_attach() 1137 devinfo->tx_reqs = brcmf_usbdev_qinit(&devinfo->tx_freeq, ntxq); in brcmf_usb_attach() 1140 devinfo->tx_freecount = ntxq; in brcmf_usb_attach() 1102 brcmf_usb_attach(struct brcmf_usbdev_info *devinfo, int nrxq, int ntxq) brcmf_usb_attach() argument
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_crypto.h | 257 unsigned int ntxq; member
|
H A D | chcr_algo.c | 1381 reqctx->txqidx = cpu % ctx->ntxq; in chcr_aes_encrypt() 1426 reqctx->txqidx = cpu % ctx->ntxq; in chcr_aes_decrypt() 1450 int txq_perchan, ntxq; in chcr_device_init() local 1461 ntxq = u_ctx->lldi.ntxq; in chcr_device_init() 1463 txq_perchan = ntxq / u_ctx->lldi.nchan; in chcr_device_init() 1464 ctx->ntxq = ntxq; in chcr_device_init() 1677 req_ctx->txqidx = cpu % ctx->ntxq; in chcr_ahash_update() 1778 req_ctx->txqidx = cpu % ctx->ntxq; in chcr_ahash_final() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 328 int ntxq, struct net_device *dev,
|
H A D | sge.c | 3027 * @ntxq: number of Tx queues for the queue set 3038 int ntxq, struct net_device *dev, in t3_sge_alloc_qset() 3068 for (i = 0; i < ntxq; ++i) { in t3_sge_alloc_qset() 3148 if (ntxq > 1) { in t3_sge_alloc_qset() 3157 if (ntxq > 2) { in t3_sge_alloc_qset() 3036 t3_sge_alloc_qset(struct adapter *adapter, unsigned int id, int nports, int irq_vec_idx, const struct qset_params *p, int ntxq, struct net_device *dev, struct netdev_queue *netdevq) t3_sge_alloc_qset() argument
|
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_crypto.h | 261 unsigned int ntxq; member
|
H A D | chcr_algo.c | 1374 reqctx->txqidx = cpu % ctx->ntxq; in chcr_aes_encrypt() 1419 reqctx->txqidx = cpu % ctx->ntxq; in chcr_aes_decrypt() 1443 int txq_perchan, ntxq; in chcr_device_init() local 1454 ntxq = u_ctx->lldi.ntxq; in chcr_device_init() 1456 txq_perchan = ntxq / u_ctx->lldi.nchan; in chcr_device_init() 1457 ctx->ntxq = ntxq; in chcr_device_init() 1671 req_ctx->txqidx = cpu % ctx->ntxq; in chcr_ahash_update() 1772 req_ctx->txqidx = cpu % ctx->ntxq; in chcr_ahash_final() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 328 int ntxq, struct net_device *dev,
|
/kernel/linux/linux-5.10/net/core/ |
H A D | pktgen.c | 2026 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 in pktgen_setup_inject() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | pktgen.c | 2134 int ntxq; in pktgen_setup_inject() local 2144 ntxq = pkt_dev->odev->real_num_tx_queues; in pktgen_setup_inject() 2146 if (ntxq <= pkt_dev->queue_map_min) { in pktgen_setup_inject() 2148 pkt_dev->queue_map_min, (ntxq ?: 1) - 1, ntxq, in pktgen_setup_inject() 2150 pkt_dev->queue_map_min = (ntxq ?: 1) - 1; in pktgen_setup_inject() 2152 if (pkt_dev->queue_map_max >= ntxq) { in pktgen_setup_inject() 2154 pkt_dev->queue_map_max, (ntxq ?: 1) - 1, ntxq, in pktgen_setup_inject() 2156 pkt_dev->queue_map_max = (ntxq in pktgen_setup_inject() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/ |
H A D | gemini.c | 1128 struct netdev_queue *ntxq = netdev_get_tx_queue(netdev, txq_num); in gmac_tx_irq() local 1131 netif_tx_wake_queue(ntxq); in gmac_tx_irq() 1252 struct netdev_queue *ntxq; in gmac_start_xmit() local 1265 ntxq = netdev_get_tx_queue(netdev, txq_num); in gmac_start_xmit() 1281 netif_tx_stop_queue(ntxq); in gmac_start_xmit()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cortina/ |
H A D | gemini.c | 1127 struct netdev_queue *ntxq = netdev_get_tx_queue(netdev, txq_num); in gmac_tx_irq() local 1130 netif_tx_wake_queue(ntxq); in gmac_tx_irq() 1251 struct netdev_queue *ntxq; in gmac_start_xmit() local 1264 ntxq = netdev_get_tx_queue(netdev, txq_num); in gmac_start_xmit() 1280 netif_tx_stop_queue(ntxq); in gmac_start_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_main.c | 584 .ntxq = MAX_ULD_QSETS,
|
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_main.c | 687 .ntxq = MAX_ULD_QSETS,
|
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_main.c | 694 .ntxq = MAX_ULD_QSETS,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_main.c | 584 .ntxq = MAX_ULD_QSETS,
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 93 .ntxq = MAX_ULD_QSETS, 1862 step = lldi->ntxq / lldi->nchan; in init_act_open() 2228 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
|
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 93 .ntxq = MAX_ULD_QSETS, 1863 step = lldi->ntxq / lldi->nchan; in init_act_open() 2229 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
|