Home
last modified time | relevance | path

Searched refs:q_idx (Results 1 – 17 of 17) sorted by relevance

/drivers/net/hyperv/
Dnetvsc.c622 u16 q_idx = 0; in netvsc_send_completion() local
635 q_idx = nvsc_packet->q_idx; in netvsc_send_completion()
644 queue_sends[q_idx]); in netvsc_send_completion()
649 if (netif_tx_queue_stopped(netdev_get_tx_queue(ndev, q_idx)) && in netvsc_send_completion()
654 ndev, q_idx)); in netvsc_send_completion()
720 u16 q_idx = packet->q_idx; in netvsc_send() local
761 out_channel = net_device->chn_table[packet->q_idx]; in netvsc_send()
783 atomic_inc(&net_device->queue_sends[q_idx]); in netvsc_send()
788 ndev, q_idx)); in netvsc_send()
791 queue_sends[q_idx]) < 1) in netvsc_send()
[all …]
Dnetvsc_drv.c216 u16 q_idx = 0; in netvsc_select_queue() local
222 q_idx = nvsc_dev->send_table[hash % VRSS_SEND_TAB_SIZE] % in netvsc_select_queue()
227 return q_idx; in netvsc_select_queue()
416 packet->q_idx = skb_get_queue_mapping(skb); in netvsc_start_xmit()
Dhyperv_net.h136 u16 q_idx; member
Drndis_filter.c97 request->pkt.q_idx = 0; in get_rndis_request()
/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c878 int q_idx; in i40evf_napi_enable_all() local
882 for (q_idx = 0; q_idx < q_vectors; q_idx++) { in i40evf_napi_enable_all()
884 q_vector = adapter->q_vector[q_idx]; in i40evf_napi_enable_all()
896 int q_idx; in i40evf_napi_disable_all() local
900 for (q_idx = 0; q_idx < q_vectors; q_idx++) { in i40evf_napi_disable_all()
901 q_vector = adapter->q_vector[q_idx]; in i40evf_napi_disable_all()
1169 int q_idx, num_q_vectors; in i40evf_alloc_q_vectors() local
1174 for (q_idx = 0; q_idx < num_q_vectors; q_idx++) { in i40evf_alloc_q_vectors()
1180 q_vector->v_idx = q_idx; in i40evf_alloc_q_vectors()
1183 adapter->q_vector[q_idx] = q_vector; in i40evf_alloc_q_vectors()
[all …]
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1516 int q_idx; in ixgbevf_napi_enable_all() local
1520 for (q_idx = 0; q_idx < q_vectors; q_idx++) { in ixgbevf_napi_enable_all()
1521 q_vector = adapter->q_vector[q_idx]; in ixgbevf_napi_enable_all()
1523 ixgbevf_qv_init_lock(adapter->q_vector[q_idx]); in ixgbevf_napi_enable_all()
1531 int q_idx; in ixgbevf_napi_disable_all() local
1535 for (q_idx = 0; q_idx < q_vectors; q_idx++) { in ixgbevf_napi_disable_all()
1536 q_vector = adapter->q_vector[q_idx]; in ixgbevf_napi_disable_all()
1539 while (!ixgbevf_qv_disable(adapter->q_vector[q_idx])) { in ixgbevf_napi_disable_all()
1540 pr_info("QV %d locked\n", q_idx); in ixgbevf_napi_disable_all()
2059 int q_idx, num_q_vectors; in ixgbevf_alloc_q_vectors() local
[all …]
/drivers/net/wireless/rtlwifi/rtl8192ee/
Dtrx.c710 u16 rtl92ee_get_available_desc(struct ieee80211_hw *hw, u8 q_idx) in rtl92ee_get_available_desc() argument
719 get_desc_addr_fr_q_idx(q_idx)); in rtl92ee_get_available_desc()
728 rtlpci->tx_ring[q_idx].avl_desc = point_diff; in rtl92ee_get_available_desc()
1081 u8 q_idx = *val; in rtl92ee_set_desc() local
1090 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[q_idx]; in rtl92ee_set_desc()
1093 if (q_idx == BEACON_QUEUE) { in rtl92ee_set_desc()
1110 get_desc_addr_fr_q_idx(q_idx), in rtl92ee_set_desc()
1113 if (q_idx == 1) in rtl92ee_set_desc()
1122 get_desc_addr_fr_q_idx(q_idx)); in rtl92ee_set_desc()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c519 u16 vsi, queue, pc, q_idx; in fm10k_configure_dglort_map_pf() local
536 q_idx = dglort->queue_b; in fm10k_configure_dglort_map_pf()
540 for (queue = 0; queue < queue_count; queue++, q_idx++) { in fm10k_configure_dglort_map_pf()
541 if (q_idx >= FM10K_MAX_QUEUES) in fm10k_configure_dglort_map_pf()
544 fm10k_write_reg(hw, FM10K_TX_SGLORT(q_idx), glort); in fm10k_configure_dglort_map_pf()
545 fm10k_write_reg(hw, FM10K_RX_SGLORT(q_idx), glort); in fm10k_configure_dglort_map_pf()
555 q_idx = pc + dglort->queue_b; in fm10k_configure_dglort_map_pf()
557 if (q_idx >= FM10K_MAX_QUEUES) in fm10k_configure_dglort_map_pf()
560 txqctl = fm10k_read_reg(hw, FM10K_TXQCTL(q_idx)); in fm10k_configure_dglort_map_pf()
563 fm10k_write_reg(hw, FM10K_TXQCTL(q_idx), txqctl); in fm10k_configure_dglort_map_pf()
[all …]
Dfm10k_pci.c803 int q_idx; in fm10k_napi_enable_all() local
805 for (q_idx = 0; q_idx < interface->num_q_vectors; q_idx++) { in fm10k_napi_enable_all()
806 q_vector = interface->q_vector[q_idx]; in fm10k_napi_enable_all()
1499 int q_idx; in fm10k_napi_disable_all() local
1501 for (q_idx = 0; q_idx < interface->num_q_vectors; q_idx++) { in fm10k_napi_disable_all()
1502 q_vector = interface->q_vector[q_idx]; in fm10k_napi_disable_all()
Dfm10k_main.c1838 int pc, offset, rss_i, i, q_idx; in fm10k_cache_ring_qos() local
1848 q_idx = pc; in fm10k_cache_ring_qos()
1850 interface->tx_ring[offset + i]->reg_idx = q_idx; in fm10k_cache_ring_qos()
1852 interface->rx_ring[offset + i]->reg_idx = q_idx; in fm10k_cache_ring_qos()
1854 q_idx += pc_stride; in fm10k_cache_ring_qos()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h419 u16 q_idx, u16 sb_idx);
424 u16 q_idx, u16 sb_idx);
Dbnx2x_sriov.c129 u16 q_idx, u16 sb_idx) in bnx2x_vfop_qctor_dump_tx() argument
134 q_idx, in bnx2x_vfop_qctor_dump_tx()
145 u16 q_idx, u16 sb_idx) in bnx2x_vfop_qctor_dump_rx() argument
152 q_idx, in bnx2x_vfop_qctor_dump_rx()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c4004 int q_idx; in ixgbe_napi_enable_all() local
4006 for (q_idx = 0; q_idx < adapter->num_q_vectors; q_idx++) { in ixgbe_napi_enable_all()
4007 ixgbe_qv_init_lock(adapter->q_vector[q_idx]); in ixgbe_napi_enable_all()
4008 napi_enable(&adapter->q_vector[q_idx]->napi); in ixgbe_napi_enable_all()
4014 int q_idx; in ixgbe_napi_disable_all() local
4016 for (q_idx = 0; q_idx < adapter->num_q_vectors; q_idx++) { in ixgbe_napi_disable_all()
4017 napi_disable(&adapter->q_vector[q_idx]->napi); in ixgbe_napi_disable_all()
4018 while (!ixgbe_qv_disable(adapter->q_vector[q_idx])) { in ixgbe_napi_disable_all()
4019 pr_info("QV %d locked\n", q_idx); in ixgbe_napi_disable_all()
/drivers/block/
Dnvme-core.c308 static struct nvme_queue *lock_nvmeq(struct nvme_dev *dev, int q_idx) in lock_nvmeq() argument
314 nvmeq = rcu_dereference(dev->queues[q_idx]); in lock_nvmeq()
898 static int nvme_submit_sync_cmd(struct nvme_dev *dev, int q_idx, in nvme_submit_sync_cmd() argument
906 nvmeq = lock_nvmeq(dev, q_idx); in nvme_submit_sync_cmd()
932 nvmeq = lock_nvmeq(dev, q_idx); in nvme_submit_sync_cmd()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c3812 int q_idx; in i40e_napi_enable_all() local
3817 for (q_idx = 0; q_idx < vsi->num_q_vectors; q_idx++) { in i40e_napi_enable_all()
3818 struct i40e_q_vector *q_vector = vsi->q_vectors[q_idx]; in i40e_napi_enable_all()
3831 int q_idx; in i40e_napi_disable_all() local
3836 for (q_idx = 0; q_idx < vsi->num_q_vectors; q_idx++) { in i40e_napi_disable_all()
3837 struct i40e_q_vector *q_vector = vsi->q_vectors[q_idx]; in i40e_napi_disable_all()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c2503 int i, j, cpu_idx = 0, q_idx = 0; in t3_config_rss() local
2520 (i << 16) | rspq[q_idx++]); in t3_config_rss()
2521 if (rspq[q_idx] == 0xffff) in t3_config_rss()
2522 q_idx = 0; in t3_config_rss()
/drivers/net/wireless/rtlwifi/
Dwifi.h2164 u16 (*get_available_desc)(struct ieee80211_hw *hw, u8 q_idx);