/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_ethtool.c | 24 cmd->data = vport->num_rxq; 189 u16 num_txq, num_rxq; local 195 num_rxq = vport_config->user_config.num_req_rx_qs; 197 combined = min(num_txq, num_rxq); 209 ch->rx_count = num_rxq - combined; 225 u16 combined, num_txq, num_rxq; local 240 num_rxq = vport_config->user_config.num_req_rx_qs; 242 combined = min(num_txq, num_rxq); 251 if (ch->combined_count && ch->rx_count == num_rxq - combined) 277 if (num_req_tx_q == num_txq && num_req_rx_q == num_rxq) 794 u16 num_rxq; local 930 u16 num_rxq; local [all...] |
H A D | idpf_txrx.c | 427 u16 num_rxq; local 437 for (j = 0; j < rx_qgrp->singleq.num_rxq; j++) 443 num_rxq = rx_qgrp->splitq.num_rxq_sets; 444 for (j = 0; j < num_rxq; j++) 682 int num_rxq = rx_qgrp->singleq.num_rxq; local 684 for (j = 0; j < num_rxq; j++) { 755 u16 num_rxq; local 760 num_rxq = rx_qgrp->splitq.num_rxq_sets; 762 num_rxq 857 u16 num_rxq; local 1120 idpf_vport_calc_numq_per_grp(struct idpf_vport *vport, u16 *num_txq, u16 *num_rxq) argument 1239 idpf_rxq_group_alloc(struct idpf_vport *vport, u16 num_rxq) argument 1388 u16 num_txq, num_rxq; local 3876 u16 num_rxq = q_vec->num_rxq; local 3964 u16 num_rxq; local [all...] |
H A D | idpf_virtchnl.c | 1111 u16 num_rxq = rx_qgrp->singleq.num_rxq; local 1113 for (j = 0; j < num_rxq && k < num_regs; j++, k++) { 1207 if (num_regs < vport->num_rxq) { 1214 if (num_regs < vport->num_rxq) { 1555 totqs = vport->num_rxq + vport->num_bufq; 1563 u16 num_rxq; local 1589 num_rxq = rx_qgrp->splitq.num_rxq_sets; 1591 num_rxq = rx_qgrp->singleq.num_rxq; 1690 u32 num_msgs, num_chunks, num_txq, num_rxq, num_q; local 1874 u16 num_rxq; local 3263 u16 num_rxq; local [all...] |
H A D | idpf_singleq_txrx.c | 1121 u16 num_rxq = q_vec->num_rxq; local 1128 budget_per_q = num_rxq ? max(budget / num_rxq, 1) : 0; 1129 for (i = 0; i < num_rxq; i++) {
|
H A D | idpf_lib.c | 1281 err = netif_set_real_num_rx_queues(vport->netdev, vport->num_rxq); 1327 for (j = 0; j < grp->singleq.num_rxq; j++) { 1921 new_vport->num_rxq, 1950 u16 num_rxq; local 1958 num_rxq = rx_qgrp->splitq.num_rxq_sets; 1960 num_rxq = rx_qgrp->singleq.num_rxq; 1962 for (j = 0; j < num_rxq; j++) {
|
H A D | idpf_txrx.h | 520 * @num_rxq: Number of RX queues 545 u16 num_rxq; member in struct:idpf_q_vector 815 * @singleq.num_rxq: Number of RX queues associated 831 u16 num_rxq; member in struct:idpf_rxq_group::__anon394::__anon395
|
H A D | idpf.h | 262 * @num_rxq: Number of allocated RX queues 308 u16 num_rxq; member in struct:idpf_vport
|
/linux-master/drivers/net/ethernet/atheros/alx/ |
H A D | alx.h | 122 int num_rxq; member in struct:alx_priv
|
H A D | main.c | 831 int err, num_vec, num_txq, num_rxq; local 834 num_rxq = 1; 835 num_vec = max_t(int, num_txq, num_rxq) + 1; 847 alx->num_rxq = num_rxq; 911 alx->num_rxq = 1; 1236 netif_set_real_num_rx_queues(alx->dev, alx->num_rxq);
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac5.h | 106 u32 num_txq, u32 num_rxq,
|
H A D | dwmac5.c | 577 u32 num_txq, u32 num_rxq, 586 value |= (num_rxq - 1) << GMAC_RXQCTRL_FPRQ_SHIFT; 576 dwmac5_fpe_configure(void __iomem *ioaddr, struct stmmac_fpe_cfg *cfg, u32 num_txq, u32 num_rxq, bool enable) argument
|
H A D | dwxgmac2_core.c | 583 struct stmmac_rss *cfg, u32 num_rxq) 609 for (i = 0; i < num_rxq; i++) 1510 u32 num_rxq, bool enable) 1525 value |= (num_rxq - 1) << XGMAC_RQ_SHIFT; 582 dwxgmac2_rss_configure(struct mac_device_info *hw, struct stmmac_rss *cfg, u32 num_rxq) argument 1508 dwxgmac3_fpe_configure(void __iomem *ioaddr, struct stmmac_fpe_cfg *cfg, u32 num_txq, u32 num_rxq, bool enable) argument
|
H A D | hwif.h | 394 struct stmmac_rss *cfg, u32 num_rxq); 423 u32 num_txq, u32 num_rxq,
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_sriov.c | 433 u16 num_msix_per_vf, num_txq, num_rxq, avail_qs; local 470 num_rxq = min_t(u16, num_msix_per_vf - ICE_NONQ_VECS_VF, 474 num_rxq = 0; 475 else if (num_rxq > avail_qs) 476 num_rxq = rounddown_pow_of_two(avail_qs); 478 if (num_txq < ICE_MIN_QS_PER_VF || num_rxq < ICE_MIN_QS_PER_VF) { 492 pf->vfs.num_qps_per = min_t(int, num_txq, num_rxq);
|
H A D | ice_lib.c | 200 vsi->num_rxq = vsi->req_rxq; 619 vsi->num_rxq = ch->num_rxq; 930 vsi->rss_size = min_t(u16, vsi->num_rxq, max_rss_size); 1103 vsi->num_rxq = rx_count; 1105 if (vsi->type == ICE_VSI_VF && vsi->num_txq != vsi->num_rxq) { 1107 /* since there is a chance that num_rxq could have been changed 1108 * in the above for loop, make num_txq equal to num_rxq. 1110 vsi->num_txq = vsi->num_rxq; 1120 ctxt->info.q_mapping[1] = cpu_to_le16(vsi->num_rxq); [all...] |
H A D | ice.h | 168 for ((i) = 0; (i) < (vsi)->num_rxq; (i)++) 219 u16 num_rxq; member in struct:ice_channel 406 u16 num_rxq; /* Used Rx queues */ member in struct:ice_vsi
|
H A D | ice_xsk.c | 169 if (q_idx >= vsi->num_rxq || q_idx >= vsi->num_txq) 377 if (qid >= vsi->num_rxq || qid >= vsi->num_txq) { 1102 if (queue_id >= vsi->num_txq || queue_id >= vsi->num_rxq)
|
H A D | ice_base.c | 636 if (q_idx >= vsi->num_rxq) 822 rx_rings_rem = vsi->num_rxq; 852 q_base = vsi->num_rxq - rx_rings_rem;
|
H A D | ice_ethtool_fdir.c | 1336 if (!vsi->num_rxq || q_index >= vsi->num_rxq) 1678 (*ring >= (ch->base_q + ch->num_rxq))) 1724 if (ring >= vsi->num_rxq)
|
H A D | ice_ethtool.c | 2997 rx_rings = kcalloc(vsi->num_rxq, sizeof(*rx_rings), GFP_KERNEL); 3478 (u16)pf->hw.func_caps.common_cap.num_rxq); 3522 ch->rx_count = vsi->num_rxq - ch->combined_count; 3625 if (ch->rx_count == vsi->num_rxq - curr_combined) 3790 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { 3797 } else if (q_num < vsi->num_rxq) { 3958 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { 3968 } else if (q_num < vsi->num_rxq) { 4042 if (v_idx >= vsi->num_rxq && v_idx >= vsi->num_txq)
|
H A D | ice_main.c | 4001 pf->max_pf_rxqs = func_caps->common_cap.num_rxq; 6952 if (!vsi->num_txq || !vsi->num_rxq) 7173 if (!vsi->num_rxq) { 7292 err = netif_set_real_num_rx_queues(vsi->netdev, vsi->num_rxq); 8293 if (vsi->num_rxq < 8465 if (ch->num_txq || ch->num_rxq) 8519 vsi->next_base_q = vsi->next_base_q + ch->num_rxq; 8520 dev_dbg(dev, "added channel: vsi_num %u, num_rxq %u\n", ch->vsi_num, 8521 ch->num_rxq); 8596 if (!ch->num_txq || !ch->num_rxq) { [all...] |
H A D | ice_tc_lib.c | 898 return queue < vsi->num_rxq ? vsi->rx_rings[queue] : NULL; 1813 if (queue >= vsi->num_rxq) {
|
H A D | ice_type.h | 262 u16 num_rxq; /* Number/Total Rx queues */ member in struct:ice_hw_common_caps
|
H A D | ice_common.c | 2103 caps->num_rxq = number; 2105 ice_debug(hw, ICE_DBG_INIT, "%s: num_rxq = %d\n", prefix, 2106 caps->num_rxq); 2869 func_caps->common_cap.num_rxq = 1; 2899 dev_caps->common_cap.num_rxq = num_funcs;
|