Home
last modified time | relevance | path

Searched refs:num_rxq (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dalx.h122 int num_rxq; member
Dmain.c832 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()
1229 netif_set_real_num_rx_queues(alx->dev, alx->num_rxq); in __alx_open()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice.h101 for ((i) = 0; (i) < (vsi)->num_rxq; (i)++)
273 u16 num_rxq; /* Used Rx queues */ member
Dice_virtchnl_pf.c853 u16 num_msix, num_txq, num_rxq, num_avail_msix; in ice_check_avail_res() local
905 num_rxq = ice_determine_res(pf, ice_get_avail_rxq_count(pf), in ice_check_avail_res()
908 if (!num_txq || !num_rxq) in ice_check_avail_res()
918 pf->num_vf_qps = min_t(int, num_txq, num_rxq); in ice_check_avail_res()
2232 u16 num_rxq = 0, num_txq = 0; in ice_vc_cfg_qs_msg() local
2283 num_rxq++; in ice_vc_cfg_qs_msg()
2309 vsi->num_rxq = num_rxq; in ice_vc_cfg_qs_msg()
2312 vsi->tc_cfg.tc_info[0].qcount_rx = num_rxq; in ice_vc_cfg_qs_msg()
Dice_lib.c242 for (i = 0; i < vsi->num_rxq; i++) { in ice_vsi_ctrl_rx_rings()
961 vsi->num_rxq = offset; in ice_vsi_setup_q_map()
963 vsi->num_rxq = qcount_rx; in ice_vsi_setup_q_map()
967 if (vsi->type == ICE_VSI_VF && vsi->num_txq != vsi->num_rxq) { in ice_vsi_setup_q_map()
972 vsi->num_txq = vsi->num_rxq; in ice_vsi_setup_q_map()
982 ctxt->info.q_mapping[1] = cpu_to_le16(vsi->num_rxq); in ice_vsi_setup_q_map()
1363 rx_rings_rem = vsi->num_rxq; in ice_vsi_map_rings_to_vectors()
1390 q_base = vsi->num_rxq - rx_rings_rem; in ice_vsi_map_rings_to_vectors()
1447 vsi->rss_size = min_t(int, vsi->rss_size, vsi->num_rxq); in ice_vsi_cfg_rss_lut_key()
1699 for (i = 0; i < vsi->num_rxq; i++) { in ice_vsi_cfg_rxqs()
Dice_type.h157 u16 num_rxq; /* Number/Total Rx queues */ member
Dice_common.c1722 caps->num_rxq = number; in ice_parse_caps()
1726 caps->num_rxq); in ice_parse_caps()
1880 func_caps->common_cap.num_rxq = 1; in ice_set_safe_mode_caps()
1911 dev_caps->common_cap.num_rxq = num_func; in ice_set_safe_mode_caps()
Dice_ethtool.c3154 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_get_q_coalesce()
3161 } else if (q_num < vsi->num_rxq) { in ice_get_q_coalesce()
3327 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_set_q_coalesce()
3337 } else if (q_num < vsi->num_rxq) { in ice_set_q_coalesce()
Dice_dcb_lib.c118 for (i = 0; i < vsi->num_rxq; i++) { in ice_vsi_cfg_dcb_rings()
Dice_main.c2340 pf->max_pf_rxqs = func_caps->common_cap.num_rxq; in ice_set_pf_caps()
3853 if (!vsi->num_txq || !vsi->num_rxq) in ice_get_stats64()
3992 if (!vsi->num_rxq) { in ice_vsi_setup_rx_rings()
4046 err = netif_set_real_num_rx_queues(vsi->netdev, vsi->num_rxq); in ice_vsi_open()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_core.c524 struct stmmac_rss *cfg, u32 num_rxq) in dwxgmac2_rss_configure() argument
550 for (i = 0; i < num_rxq; i++) in dwxgmac2_rss_configure()
Dhwif.h357 struct stmmac_rss *cfg, u32 num_rxq);