/Linux-v5.10/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_mtl.c | 61 static void sxgbe_mtl_set_txfifosize(void __iomem *ioaddr, int queue_num, in sxgbe_mtl_set_txfifosize() argument 68 reg_val = readl(ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); in sxgbe_mtl_set_txfifosize() 70 writel(reg_val, ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); in sxgbe_mtl_set_txfifosize() 73 static void sxgbe_mtl_set_rxfifosize(void __iomem *ioaddr, int queue_num, in sxgbe_mtl_set_rxfifosize() argument 80 reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); in sxgbe_mtl_set_rxfifosize() 82 writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); in sxgbe_mtl_set_rxfifosize() 85 static void sxgbe_mtl_enable_txqueue(void __iomem *ioaddr, int queue_num) in sxgbe_mtl_enable_txqueue() argument 89 reg_val = readl(ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); in sxgbe_mtl_enable_txqueue() 91 writel(reg_val, ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); in sxgbe_mtl_enable_txqueue() 94 static void sxgbe_mtl_disable_txqueue(void __iomem *ioaddr, int queue_num) in sxgbe_mtl_disable_txqueue() argument [all …]
|
D | sxgbe_mtl.h | 64 void (*mtl_set_txfifosize)(void __iomem *ioaddr, int queue_num, 67 void (*mtl_set_rxfifosize)(void __iomem *ioaddr, int queue_num, 70 void (*mtl_enable_txqueue)(void __iomem *ioaddr, int queue_num); 72 void (*mtl_disable_txqueue)(void __iomem *ioaddr, int queue_num); 74 void (*set_tx_mtl_mode)(void __iomem *ioaddr, int queue_num, 77 void (*set_rx_mtl_mode)(void __iomem *ioaddr, int queue_num, 82 void (*mtl_fc_active)(void __iomem *ioaddr, int queue_num, 85 void (*mtl_fc_deactive)(void __iomem *ioaddr, int queue_num, 88 void (*mtl_fc_enable)(void __iomem *ioaddr, int queue_num); 90 void (*mtl_fep_enable)(void __iomem *ioaddr, int queue_num); [all …]
|
D | sxgbe_main.c | 563 int queue_num, ret; in init_dma_desc_rings() local 569 SXGBE_FOR_EACH_QUEUE(SXGBE_TX_QUEUES, queue_num) { in init_dma_desc_rings() 570 ret = init_tx_ring(priv->device, queue_num, in init_dma_desc_rings() 571 priv->txq[queue_num], tx_rsize); in init_dma_desc_rings() 580 priv->txq[queue_num]->priv_ptr = priv; in init_dma_desc_rings() 584 SXGBE_FOR_EACH_QUEUE(SXGBE_RX_QUEUES, queue_num) { in init_dma_desc_rings() 585 ret = init_rx_ring(netd, queue_num, in init_dma_desc_rings() 586 priv->rxq[queue_num], rx_rsize); in init_dma_desc_rings() 595 priv->rxq[queue_num]->priv_ptr = priv; in init_dma_desc_rings() 603 while (queue_num--) in init_dma_desc_rings() [all …]
|
D | sxgbe_common.h | 194 #define SXGBE_FOR_EACH_QUEUE(max_queues, queue_num) \ argument 195 for (queue_num = 0; queue_num < max_queues; queue_num++) 358 void (*enable_rxqueue)(void __iomem *ioaddr, int queue_num); 359 void (*disable_rxqueue)(void __iomem *ioaddr, int queue_num);
|
D | sxgbe_core.c | 165 static void sxgbe_core_enable_rxqueue(void __iomem *ioaddr, int queue_num) in sxgbe_core_enable_rxqueue() argument 170 reg_val &= ~(SXGBE_CORE_RXQ_ENABLE_MASK << queue_num); in sxgbe_core_enable_rxqueue() 175 static void sxgbe_core_disable_rxqueue(void __iomem *ioaddr, int queue_num) in sxgbe_core_disable_rxqueue() argument 180 reg_val &= ~(SXGBE_CORE_RXQ_ENABLE_MASK << queue_num); in sxgbe_core_disable_rxqueue()
|
/Linux-v5.10/tools/testing/selftests/netfilter/ |
D | nf-queue.c | 22 unsigned int queue_num; member 121 nfq_build_cfg_request(char *buf, uint8_t command, int queue_num) in nfq_build_cfg_request() argument 137 nfg->res_id = htons(queue_num); in nfq_build_cfg_request() 145 nfq_build_cfg_params(char *buf, uint8_t mode, int range, int queue_num) in nfq_build_cfg_params() argument 160 nfg->res_id = htons(queue_num); in nfq_build_cfg_params() 168 nfq_build_verdict(char *buf, int id, int queue_num, uint32_t verd) in nfq_build_verdict() argument 183 nfg->res_id = htons(queue_num); in nfq_build_verdict() 210 unsigned int queue_num; in open_queue() local 227 queue_num = opts.queue_num; in open_queue() 228 nlh = nfq_build_cfg_request(buf, NFQNL_CFG_CMD_BIND, queue_num); in open_queue() [all …]
|
/Linux-v5.10/samples/pktgen/ |
D | pktgen_sample06_numa_awared_queue_irq_affinity.sh | 66 queue_num=$i 67 info "queue number is $queue_num" 68 pg_set $dev "queue_map_min $queue_num" 69 pg_set $dev "queue_map_max $queue_num"
|
/Linux-v5.10/net/netfilter/ |
D | nfnetlink_queue.c | 68 u_int16_t queue_num; /* number of this queue */ member 96 static inline u_int8_t instance_hashfn(u_int16_t queue_num) in instance_hashfn() argument 98 return ((queue_num >> 8) ^ queue_num) % INSTANCE_BUCKETS; in instance_hashfn() 102 instance_lookup(struct nfnl_queue_net *q, u_int16_t queue_num) in instance_lookup() argument 107 head = &q->instance_table[instance_hashfn(queue_num)]; in instance_lookup() 109 if (inst->queue_num == queue_num) in instance_lookup() 116 instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid) in instance_create() argument 123 if (instance_lookup(q, queue_num)) { in instance_create() 134 inst->queue_num = queue_num; in instance_create() 147 h = instance_hashfn(queue_num); in instance_create() [all …]
|
D | nfnetlink_cthelper.c | 63 return NF_QUEUE_NR(helper->queue_num) | NF_VERDICT_FLAG_QUEUE_BYPASS; in nfnl_userspace_cthelper() 255 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_create() 394 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_update() 546 if (nla_put_be32(skb, NFCTH_QUEUE_NUM, htonl(helper->queue_num))) in nfnl_cthelper_fill_info()
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_debugfs.c | 22 u32 queue_num, queue_max; in hns3_dbg_queue_info() local 32 cnt = kstrtouint(&cmd_buf[11], 0, &queue_num); in hns3_dbg_queue_info() 34 queue_num = 0; in hns3_dbg_queue_info() 36 queue_max = queue_num + 1; in hns3_dbg_queue_info() 40 if (queue_num >= h->kinfo.num_tqps) { in hns3_dbg_queue_info() 42 "Queue number(%u) is out of range(0-%u)\n", queue_num, in hns3_dbg_queue_info() 47 for (i = queue_num; i < queue_max; i++) { in hns3_dbg_queue_info()
|
D | hns3_ethtool.c | 591 int queue_num = h->kinfo.num_tqps; in hns3_get_ringparam() local 602 param->rx_pending = priv->ring[queue_num].desc_num; in hns3_get_ringparam() 966 u16 queue_num = h->kinfo.num_tqps; in hns3_set_ringparam() local 977 old_rx_desc_num = priv->ring[queue_num].desc_num; in hns3_set_ringparam() 1092 u16 queue_num = h->kinfo.num_tqps; in hns3_get_coalesce_per_queue() local 1097 if (queue >= queue_num) { in hns3_get_coalesce_per_queue() 1100 queue, queue_num - 1); in hns3_get_coalesce_per_queue() 1105 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_get_coalesce_per_queue() 1228 int queue_num = h->kinfo.num_tqps; in hns3_set_coalesce_per_queue() local 1231 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_set_coalesce_per_queue() [all …]
|
/Linux-v5.10/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 216 unsigned int queue_num, in bcm_sf2_cfp_act_pol_set() argument 228 CHANGE_TC | queue_num << NEW_TC_SHIFT; in bcm_sf2_cfp_act_pol_set() 348 unsigned int queue_num, in bcm_sf2_cfp_ipv4_rule_set() argument 461 queue_num, true); in bcm_sf2_cfp_ipv4_rule_set() 629 unsigned int queue_num, in bcm_sf2_cfp_ipv6_rule_set() argument 763 queue_num, false); in bcm_sf2_cfp_ipv6_rule_set() 821 queue_num, true); in bcm_sf2_cfp_ipv6_rule_set() 853 unsigned int queue_num, port_num; in bcm_sf2_cfp_rule_insert() local 906 queue_num = ring_cookie % SF2_NUM_EGRESS_QUEUES; in bcm_sf2_cfp_rule_insert() 914 queue_num, fs); in bcm_sf2_cfp_rule_insert() [all …]
|
/Linux-v5.10/include/linux/ |
D | blk-mq.h | 135 unsigned int queue_num; member 584 return rq->tag | (hctx->queue_num << BLK_QC_T_SHIFT); in request_to_qc_t() 586 return rq->internal_tag | (hctx->queue_num << BLK_QC_T_SHIFT) | in request_to_qc_t()
|
/Linux-v5.10/block/ |
D | blk-mq-tag.c | 569 new = blk_mq_alloc_rq_map(set, hctx->queue_num, tdepth, in blk_mq_tag_update_depth() 573 ret = blk_mq_alloc_rqs(set, new, hctx->queue_num, tdepth); in blk_mq_tag_update_depth() 579 blk_mq_free_rqs(set, *tagsptr, hctx->queue_num); in blk_mq_tag_update_depth() 613 return (rq->mq_hctx->queue_num << BLK_MQ_UNIQUE_TAG_BITS) | in blk_mq_unique_tag()
|
D | blk-mq-sysfs.c | 250 ret = kobject_add(&hctx->kobj, q->mq_kobj, "%u", hctx->queue_num); in blk_mq_register_hctx()
|
/Linux-v5.10/drivers/soc/ti/ |
D | knav_qmss_acc.c | 284 cmd->queue_num, cmd->timer_config); in knav_acc_write() 287 writel_relaxed(cmd->queue_num, &pdsp->acc_command->queue_num); in knav_acc_write() 324 cmd->queue_num = info->list_entries << 16; in knav_acc_setup_cmd() 325 cmd->queue_num |= queue_base; in knav_acc_setup_cmd()
|
D | knav_qmss.h | 91 u32 queue_num; member
|
/Linux-v5.10/drivers/dma/ |
D | fsl-qdma.c | 486 int queue_num, block_number; in fsl_qdma_alloc_queue_resources() local 490 queue_num = fsl_qdma->n_queues; in fsl_qdma_alloc_queue_resources() 493 if (queue_num > FSL_QDMA_QUEUE_MAX) in fsl_qdma_alloc_queue_resources() 494 queue_num = FSL_QDMA_QUEUE_MAX; in fsl_qdma_alloc_queue_resources() 495 len = sizeof(*queue_head) * queue_num * block_number; in fsl_qdma_alloc_queue_resources() 501 queue_size, queue_num); in fsl_qdma_alloc_queue_resources() 507 for (i = 0; i < queue_num; i++) { in fsl_qdma_alloc_queue_resources() 514 queue_temp = queue_head + i + (j * queue_num); in fsl_qdma_alloc_queue_resources()
|
/Linux-v5.10/drivers/net/wireless/broadcom/b43legacy/ |
D | main.c | 2452 int queue_num; in b43legacy_tx_work() local 2462 for (queue_num = 0; queue_num < B43legacy_QOS_QUEUE_NUM; queue_num++) { in b43legacy_tx_work() 2463 while (skb_queue_len(&wl->tx_queue[queue_num])) { in b43legacy_tx_work() 2464 skb = skb_dequeue(&wl->tx_queue[queue_num]); in b43legacy_tx_work() 2470 wl->tx_queue_stopped[queue_num] = 1; in b43legacy_tx_work() 2471 ieee80211_stop_queue(wl->hw, queue_num); in b43legacy_tx_work() 2472 skb_queue_head(&wl->tx_queue[queue_num], skb); in b43legacy_tx_work() 2481 wl->tx_queue_stopped[queue_num] = 0; in b43legacy_tx_work() 2917 int queue_num; in b43legacy_wireless_core_stop() local 2941 for (queue_num = 0; queue_num < B43legacy_QOS_QUEUE_NUM; queue_num++) { in b43legacy_wireless_core_stop() [all …]
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ioctl.h | 70 uint32_t queue_num; member
|
/Linux-v5.10/drivers/net/wireless/broadcom/b43/ |
D | main.c | 3587 int queue_num; in b43_tx_work() local 3597 for (queue_num = 0; queue_num < B43_QOS_QUEUE_NUM; queue_num++) { in b43_tx_work() 3598 while (skb_queue_len(&wl->tx_queue[queue_num])) { in b43_tx_work() 3599 skb = skb_dequeue(&wl->tx_queue[queue_num]); in b43_tx_work() 3605 wl->tx_queue_stopped[queue_num] = true; in b43_tx_work() 3606 ieee80211_stop_queue(wl->hw, queue_num); in b43_tx_work() 3607 skb_queue_head(&wl->tx_queue[queue_num], skb); in b43_tx_work() 3616 wl->tx_queue_stopped[queue_num] = false; in b43_tx_work() 4326 int queue_num; in b43_wireless_core_stop() local 4379 for (queue_num = 0; queue_num < B43_QOS_QUEUE_NUM; queue_num++) { in b43_wireless_core_stop() [all …]
|
/Linux-v5.10/include/net/netfilter/ |
D | nf_conntrack_helper.h | 59 unsigned int queue_num; member
|
/Linux-v5.10/drivers/net/usb/ |
D | aqc111.c | 806 u8 queue_num = 0; in aqc111_configure_rx() local 829 queue_num = 1; in aqc111_configure_rx() 851 queue_num = 0; in aqc111_configure_rx() 859 queue_num = 2; /* For Jumbo packet 16KB */ in aqc111_configure_rx() 861 memcpy(buf, &AQC111_BULKIN_SIZE[queue_num], 5); in aqc111_configure_rx()
|
/Linux-v5.10/drivers/net/wireless/st/cw1200/ |
D | wsm.c | 1664 int queue_num; in wsm_get_tx() local 1691 queue_num = queue - priv->tx_queue; in wsm_get_tx() 1728 if (priv->edca.params[queue_num].txop_limit) in wsm_get_tx() 1736 priv->tx_burst_idx = queue_num; in wsm_get_tx()
|
/Linux-v5.10/drivers/net/ethernet/ibm/ |
D | ibmvnic.c | 1510 int queue_num = skb_get_queue_mapping(skb); in ibmvnic_xmit() local 1535 netif_stop_subqueue(netdev, queue_num); in ibmvnic_xmit() 1551 tx_pool = &adapter->tso_pool[queue_num]; in ibmvnic_xmit() 1553 tx_pool = &adapter->tx_pool[queue_num]; in ibmvnic_xmit() 1555 tx_scrq = adapter->tx_scrq[queue_num]; in ibmvnic_xmit() 1604 tx_buff->pool_index = queue_num; in ibmvnic_xmit() 1703 netdev_dbg(netdev, "Stopping queue %d\n", queue_num); in ibmvnic_xmit() 1704 netif_stop_subqueue(netdev, queue_num); in ibmvnic_xmit() 1727 adapter->tx_stats_buffers[queue_num].packets += tx_packets; in ibmvnic_xmit() 1728 adapter->tx_stats_buffers[queue_num].bytes += tx_bytes; in ibmvnic_xmit() [all …]
|