Searched refs:alloc_txq (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 76 vsi->tx_rings = devm_kcalloc(dev, vsi->alloc_txq, in ice_vsi_alloc_arrays() 92 vsi->txq_map = devm_kcalloc(dev, (vsi->alloc_txq + num_possible_cpus()), in ice_vsi_alloc_arrays() 113 vsi->af_xdp_zc_qps = bitmap_zalloc(max_t(int, vsi->alloc_txq, vsi->alloc_rxq), GFP_KERNEL); in ice_vsi_alloc_arrays() 178 vsi->alloc_txq = vsi->req_txq; in ice_vsi_set_num_qs() 181 vsi->alloc_txq = min3(pf->num_lan_msix, in ice_vsi_set_num_qs() 186 pf->num_lan_tx = vsi->alloc_txq; in ice_vsi_set_num_qs() 206 vsi->alloc_txq)); in ice_vsi_set_num_qs() 212 vsi->alloc_txq = vf->num_vf_qs; in ice_vsi_set_num_qs() 222 vsi->alloc_txq = 1; in ice_vsi_set_num_qs() 227 vsi->alloc_txq = 1; in ice_vsi_set_num_qs() [all …]
|
D | ice.h | 134 for ((i) = 0; (i) < (vsi)->alloc_txq; (i)++) 329 u16 alloc_txq; /* Allocated Tx queues */ member
|
D | ice_virtchnl_pf.c | 1087 ice_ena_vf_q_mappings(vf, vsi->alloc_txq, vsi->alloc_rxq); in ice_ena_vf_mappings() 2471 return (vsi && (qid < vsi->alloc_txq)); in ice_vc_isvalid_q_id() 3568 qci->num_queue_pairs > min_t(u16, vsi->alloc_txq, vsi->alloc_rxq)) { in ice_vc_cfg_qs_msg() 3570 vf->vf_id, min_t(u16, vsi->alloc_txq, vsi->alloc_rxq)); in ice_vc_cfg_qs_msg() 3593 if (q_idx >= vsi->alloc_txq || q_idx >= vsi->alloc_rxq) { in ice_vc_cfg_qs_msg()
|
D | ice_main.c | 2409 u16 xdp_q_idx = vsi->alloc_txq + i; in ice_xdp_alloc_setup_rings() 2477 .vsi_map_offset = vsi->alloc_txq, in ice_prepare_xdp_rings() 2560 clear_bit(vsi->txq_map[i + vsi->alloc_txq], pf->avail_txqs); in ice_prepare_xdp_rings() 2561 vsi->txq_map[i + vsi->alloc_txq] = ICE_INVAL_Q_INDEX; in ice_prepare_xdp_rings() 2605 clear_bit(vsi->txq_map[i + vsi->alloc_txq], pf->avail_txqs); in ice_destroy_xdp_rings() 2606 vsi->txq_map[i + vsi->alloc_txq] = ICE_INVAL_Q_INDEX; in ice_destroy_xdp_rings() 3171 netdev = alloc_etherdev_mqs(sizeof(*np), vsi->alloc_txq, in ice_cfg_netdev()
|
D | ice_ethtool.c | 34 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * in ice_q_stats_len() 2759 for (i = 0; i < vsi->alloc_txq; i++) in ice_set_ringparam()
|