/linux-6.1.9/drivers/net/ethernet/atheros/alx/ |
D | alx.h | 122 int num_rxq; member
|
D | main.c | 832 int err, num_vec, num_txq, num_rxq; in alx_enable_msix() local 835 num_rxq = 1; in alx_enable_msix() 836 num_vec = max_t(int, num_txq, num_rxq) + 1; in alx_enable_msix() 848 alx->num_rxq = num_rxq; in alx_enable_msix() 912 alx->num_rxq = 1; in alx_init_intr() 1237 netif_set_real_num_rx_queues(alx->dev, alx->num_rxq); in __alx_open()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 200 vsi->num_rxq = vsi->req_rxq; in ice_vsi_set_num_qs() 533 vsi->num_rxq = ch->num_rxq; in ice_vsi_alloc() 822 vsi->rss_size = min_t(u16, vsi->num_rxq, in ice_vsi_set_rss_params() 1001 vsi->num_rxq = rx_count; in ice_vsi_setup_q_map() 1003 if (vsi->type == ICE_VSI_VF && vsi->num_txq != vsi->num_rxq) { in ice_vsi_setup_q_map() 1008 vsi->num_txq = vsi->num_rxq; in ice_vsi_setup_q_map() 1018 ctxt->info.q_mapping[1] = cpu_to_le16(vsi->num_rxq); in ice_vsi_setup_q_map() 1115 qcount = min_t(int, vsi->num_rxq, pf->num_lan_msix); in ice_chnl_vsi_setup_q_map() 1599 vsi->rss_size = min_t(u16, vsi->rss_size, vsi->num_rxq); in ice_vsi_cfg_rss_lut_key() 1608 vsi->orig_rss_size <= vsi->num_rxq) { in ice_vsi_cfg_rss_lut_key() [all …]
|
D | ice_sriov.c | 507 u16 num_msix_per_vf, num_txq, num_rxq, avail_qs; in ice_set_per_vf_res() local 547 num_rxq = min_t(u16, num_msix_per_vf - ICE_NONQ_VECS_VF, in ice_set_per_vf_res() 551 num_rxq = 0; in ice_set_per_vf_res() 552 else if (num_rxq > avail_qs) in ice_set_per_vf_res() 553 num_rxq = rounddown_pow_of_two(avail_qs); in ice_set_per_vf_res() 555 if (num_txq < ICE_MIN_QS_PER_VF || num_rxq < ICE_MIN_QS_PER_VF) { in ice_set_per_vf_res() 569 pf->vfs.num_qps_per = min_t(int, num_txq, num_rxq); in ice_set_per_vf_res()
|
D | ice_xsk.c | 161 if (q_idx >= vsi->num_rxq || q_idx >= vsi->num_txq) in ice_qp_dis() 220 if (q_idx >= vsi->num_rxq || q_idx >= vsi->num_txq) in ice_qp_ena() 389 if (qid >= vsi->num_rxq || qid >= vsi->num_txq) { in ice_xsk_pool_setup() 987 if (queue_id >= vsi->num_txq || queue_id >= vsi->num_rxq) in ice_xsk_wakeup()
|
D | ice.h | 152 for ((i) = 0; (i) < (vsi)->num_rxq; (i)++) 198 u16 num_rxq; member 382 u16 num_rxq; /* Used Rx queues */ member
|
D | ice_ethtool.c | 2883 rx_rings = kcalloc(vsi->num_rxq, sizeof(*rx_rings), GFP_KERNEL); in ice_set_ringparam() 3358 (u16)pf->hw.func_caps.common_cap.num_rxq); in ice_get_max_rxq() 3402 ch->rx_count = vsi->num_rxq - ch->combined_count; in ice_get_channels() 3503 if (ch->rx_count == vsi->num_rxq - curr_combined) in ice_set_channels() 3650 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_get_q_coalesce() 3657 } else if (q_num < vsi->num_rxq) { in ice_get_q_coalesce() 3818 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_set_q_coalesce() 3828 } else if (q_num < vsi->num_rxq) { in ice_set_q_coalesce() 3902 if (v_idx >= vsi->num_rxq && v_idx >= vsi->num_txq) in __ice_set_coalesce()
|
D | ice_base.c | 705 rx_rings_rem = vsi->num_rxq; in ice_vsi_map_rings_to_vectors() 735 q_base = vsi->num_rxq - rx_rings_rem; in ice_vsi_map_rings_to_vectors()
|
D | ice_ethtool_fdir.c | 1334 if (!vsi->num_rxq || q_index >= vsi->num_rxq) in ice_update_per_q_fltr() 1676 (*ring >= (ch->base_q + ch->num_rxq))) in ice_update_ring_dest_vsi() 1722 if (ring >= vsi->num_rxq) in ice_set_fdir_input_set()
|
D | ice_main.c | 3907 pf->max_pf_rxqs = func_caps->common_cap.num_rxq; in ice_set_pf_caps() 6669 if (!vsi->num_txq || !vsi->num_rxq) in ice_get_stats64() 6843 if (!vsi->num_rxq) { in ice_vsi_setup_rx_rings() 6962 err = netif_set_real_num_rx_queues(vsi->netdev, vsi->num_rxq); in ice_vsi_open() 7917 if (vsi->num_rxq < in ice_validate_mqprio_qopt() 8096 if (ch->num_txq || ch->num_rxq) in ice_chnl_cfg_res() 8150 vsi->next_base_q = vsi->next_base_q + ch->num_rxq; in ice_setup_hw_channel() 8152 ch->num_rxq); in ice_setup_hw_channel() 8227 if (!ch->num_txq || !ch->num_rxq) { in ice_create_q_channel() 8228 dev_err(dev, "Invalid num_queues requested: %d\n", ch->num_rxq); in ice_create_q_channel() [all …]
|
D | ice_type.h | 258 u16 num_rxq; /* Number/Total Rx queues */ member
|
D | ice_common.c | 2167 caps->num_rxq = number; in ice_parse_common_caps() 2170 caps->num_rxq); in ice_parse_common_caps() 2784 func_caps->common_cap.num_rxq = 1; in ice_set_safe_mode_caps() 2814 dev_caps->common_cap.num_rxq = num_funcs; in ice_set_safe_mode_caps()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac5.h | 156 void dwmac5_fpe_configure(void __iomem *ioaddr, u32 num_txq, u32 num_rxq,
|
D | dwmac5.c | 712 void dwmac5_fpe_configure(void __iomem *ioaddr, u32 num_txq, u32 num_rxq, in dwmac5_fpe_configure() argument 728 value |= (num_rxq - 1) << GMAC_RXQCTRL_FPRQ_SHIFT; in dwmac5_fpe_configure()
|
D | dwxgmac2_core.c | 526 struct stmmac_rss *cfg, u32 num_rxq) in dwxgmac2_rss_configure() argument 552 for (i = 0; i < num_rxq; i++) in dwxgmac2_rss_configure() 1433 u32 num_rxq, bool enable) in dwxgmac3_fpe_configure() argument 1448 value |= (num_rxq - 1) << XGMAC_RQ_SHIFT; in dwxgmac3_fpe_configure()
|
D | hwif.h | 366 struct stmmac_rss *cfg, u32 num_rxq); 395 void (*fpe_configure)(void __iomem *ioaddr, u32 num_txq, u32 num_rxq,
|