/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A 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 …]
|
H A 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 …]
|
H A D | sxgbe_main.c | 562 int queue_num, ret; in init_dma_desc_rings() local 568 SXGBE_FOR_EACH_QUEUE(SXGBE_TX_QUEUES, queue_num) { in init_dma_desc_rings() 569 ret = init_tx_ring(priv->device, queue_num, in init_dma_desc_rings() 570 priv->txq[queue_num], tx_rsize); in init_dma_desc_rings() 579 priv->txq[queue_num]->priv_ptr = priv; in init_dma_desc_rings() 583 SXGBE_FOR_EACH_QUEUE(SXGBE_RX_QUEUES, queue_num) { in init_dma_desc_rings() 584 ret = init_rx_ring(netd, queue_num, in init_dma_desc_rings() 585 priv->rxq[queue_num], rx_rsize); in init_dma_desc_rings() 594 priv->rxq[queue_num]->priv_ptr = priv; in init_dma_desc_rings() 602 while (queue_num--) in init_dma_desc_rings() [all …]
|
H A 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);
|
H A D | sxgbe_core.c | 166 static void sxgbe_core_enable_rxqueue(void __iomem *ioaddr, int queue_num) in sxgbe_core_enable_rxqueue() argument 171 reg_val &= ~(SXGBE_CORE_RXQ_ENABLE_MASK << queue_num); in sxgbe_core_enable_rxqueue() 176 static void sxgbe_core_disable_rxqueue(void __iomem *ioaddr, int queue_num) in sxgbe_core_disable_rxqueue() argument 181 reg_val &= ~(SXGBE_CORE_RXQ_ENABLE_MASK << queue_num); in sxgbe_core_disable_rxqueue()
|
/linux/tools/testing/selftests/net/netfilter/ |
H A 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/samples/pktgen/ |
H A D | pktgen_sample06_numa_awared_queue_irq_affinity.sh | 68 queue_num=$i 69 info "queue number is $queue_num" 70 pg_set $dev "queue_map_min $queue_num" 71 pg_set $dev "queue_map_max $queue_num"
|
/linux/net/netfilter/ |
H A D | nfnetlink_queue.c | 70 u_int16_t queue_num; /* number of this queue */ member 98 static inline u_int8_t instance_hashfn(u_int16_t queue_num) in instance_hashfn() argument 100 return ((queue_num >> 8) ^ queue_num) % INSTANCE_BUCKETS; in instance_hashfn() 104 instance_lookup(struct nfnl_queue_net *q, u_int16_t queue_num) in instance_lookup() argument 109 head = &q->instance_table[instance_hashfn(queue_num)]; in instance_lookup() 111 if (inst->queue_num == queue_num) in instance_lookup() 118 instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid) in instance_create() argument 125 if (instance_lookup(q, queue_num)) { in instance_create() 136 inst->queue_num = queue_num; in instance_create() 149 h = instance_hashfn(queue_num); in instance_create() [all …]
|
H A D | nfnetlink_cthelper.c | 63 return NF_QUEUE_NR(helper->queue_num) | NF_VERDICT_FLAG_QUEUE_BYPASS; in nfnl_userspace_cthelper() 259 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_create() 402 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_update() 547 if (nla_put_be32(skb, NFCTH_QUEUE_NUM, htonl(helper->queue_num))) in nfnl_cthelper_fill_info()
|
/linux/drivers/net/dsa/ |
H A 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 903 queue_num = ring_cookie % SF2_NUM_EGRESS_QUEUES; in bcm_sf2_cfp_rule_insert() 911 queue_num, fs); in bcm_sf2_cfp_rule_insert() [all …]
|
/linux/drivers/soc/ti/ |
H A 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()
|
H A D | knav_qmss.h | 91 u32 queue_num; member
|
/linux/drivers/dma/ |
H A D | fsl-qdma.c | 487 int queue_num, block_number; in fsl_qdma_alloc_queue_resources() local 491 queue_num = fsl_qdma->n_queues; in fsl_qdma_alloc_queue_resources() 494 if (queue_num > FSL_QDMA_QUEUE_MAX) in fsl_qdma_alloc_queue_resources() 495 queue_num = FSL_QDMA_QUEUE_MAX; in fsl_qdma_alloc_queue_resources() 496 len = sizeof(*queue_head) * queue_num * block_number; in fsl_qdma_alloc_queue_resources() 502 queue_size, queue_num); in fsl_qdma_alloc_queue_resources() 508 for (i = 0; i < queue_num; i++) { in fsl_qdma_alloc_queue_resources() 515 queue_temp = queue_head + i + (j * queue_num); in fsl_qdma_alloc_queue_resources()
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A 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() 2918 int queue_num; in b43legacy_wireless_core_stop() local 2942 for (queue_num = 0; queue_num < B43legacy_QOS_QUEUE_NUM; queue_num++) { in b43legacy_wireless_core_stop() [all …]
|
/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-pri.h | 299 struct rtrs_iu *rtrs_iu_alloc(u32 queue_num, size_t size, gfp_t t, 302 void rtrs_iu_free(struct rtrs_iu *iu, struct ib_device *dev, u32 queue_num);
|
H A D | rtrs-clt.h | 74 u32 queue_num; member
|
H A D | rtrs.c | 55 void rtrs_iu_free(struct rtrs_iu *ius, struct ib_device *ibdev, u32 queue_num) in rtrs_iu_free() argument 63 for (i = 0; i < queue_num; i++) { in rtrs_iu_free()
|
/linux/drivers/bluetooth/ |
H A D | btintel_pcie.c | 52 u16 queue_num) in ipc_print_ia_ring() argument 55 queue_num == BTINTEL_PCIE_TXQ_NUM ? "TXQ" : "RXQ", in ipc_print_ia_ring() 56 ia->tr_hia[queue_num], ia->tr_tia[queue_num], in ipc_print_ia_ring() 57 ia->cr_hia[queue_num], ia->cr_tia[queue_num]); in ipc_print_ia_ring()
|
/linux/block/ |
H A D | blk-mq-tag.c | 636 new = blk_mq_alloc_map_and_rqs(set, hctx->queue_num, tdepth); in blk_mq_tag_update_depth() 640 blk_mq_free_map_and_rqs(set, *tagsptr, hctx->queue_num); in blk_mq_tag_update_depth() 681 return (rq->mq_hctx->queue_num << BLK_MQ_UNIQUE_TAG_BITS) | in blk_mq_unique_tag()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_ioctl.h | 70 uint32_t queue_num; member
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | main.c | 3588 int queue_num; in b43_tx_work() local 3598 for (queue_num = 0; queue_num < B43_QOS_QUEUE_NUM; queue_num++) { in b43_tx_work() 3599 while (skb_queue_len(&wl->tx_queue[queue_num])) { in b43_tx_work() 3600 skb = skb_dequeue(&wl->tx_queue[queue_num]); in b43_tx_work() 3606 wl->tx_queue_stopped[queue_num] = true; in b43_tx_work() 3607 b43_stop_queue(dev, queue_num); in b43_tx_work() 3608 skb_queue_head(&wl->tx_queue[queue_num], skb); in b43_tx_work() 3617 wl->tx_queue_stopped[queue_num] = false; in b43_tx_work() 4329 int queue_num; in b43_wireless_core_stop() local 4382 for (queue_num = 0; queue_num < B43_QOS_QUEUE_NUM; queue_num++) { in b43_wireless_core_stop() [all …]
|
/linux/include/net/netfilter/ |
H A D | nf_conntrack_helper.h | 59 unsigned int queue_num; member
|
/linux/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 2286 int queue_num; in ibmvnic_tx_scrq_clean_buffer() local 2293 queue_num = tx_scrq->pool_index; in ibmvnic_tx_scrq_clean_buffer() 2301 tx_pool = &adapter->tso_pool[queue_num]; in ibmvnic_tx_scrq_clean_buffer() 2304 tx_pool = &adapter->tx_pool[queue_num]; in ibmvnic_tx_scrq_clean_buffer() 2313 adapter->tx_stats_buffers[queue_num].packets--; in ibmvnic_tx_scrq_clean_buffer() 2314 adapter->tx_stats_buffers[queue_num].bytes -= in ibmvnic_tx_scrq_clean_buffer() 2325 __netif_subqueue_stopped(adapter->netdev, queue_num)) { in ibmvnic_tx_scrq_clean_buffer() 2329 netif_wake_subqueue(adapter->netdev, queue_num); in ibmvnic_tx_scrq_clean_buffer() 2331 queue_num); in ibmvnic_tx_scrq_clean_buffer() 2392 int queue_num = skb_get_queue_mapping(skb); in ibmvnic_xmit() local [all …]
|
/linux/drivers/net/usb/ |
H A 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/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 1170 u16 queue_num = h->kinfo.num_tqps; in hns3_is_ringparam_changed() local 1177 old_ringparam->rx_desc_num = priv->ring[queue_num].desc_num; in hns3_is_ringparam_changed() 1178 old_ringparam->rx_buf_len = priv->ring[queue_num].buf_size; in hns3_is_ringparam_changed() 1541 int queue_num = h->kinfo.num_tqps; in hns3_set_coalesce_per_queue() local 1544 rx_vector = priv->ring[queue_num + queue].tqp_vector; in hns3_set_coalesce_per_queue() 1582 u16 queue_num = h->kinfo.num_tqps; in hns3_set_coalesce() local 1607 for (i = 0; i < queue_num; i++) in hns3_set_coalesce()
|