Home
last modified time | relevance | path

Searched refs:qcount (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/include/net/
A Dred.h146 int qcount; /* Number of packets since last random member
167 v->qcount = -1; in red_set_vars()
286 v->qcount = -1; in red_restart()
389 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
420 v->qcount = -1; in red_action()
424 if (++v->qcount) { in red_action()
426 v->qcount = 0; in red_action()
436 v->qcount = -1; in red_action()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_mqprio.c14 u32 speed, qcount = 0, qoffset = 0; in cxgb4_mqprio_validate() local
49 qcount += mqprio->qopt.count[i]; in cxgb4_mqprio_validate()
446 qcount = mqprio->qopt.count[i]; in cxgb4_mqprio_enable_offload()
447 for (j = 0; j < qcount; j++) { in cxgb4_mqprio_enable_offload()
486 qcount = mqprio->qopt.count[i]; in cxgb4_mqprio_enable_offload()
487 if (qcount) { in cxgb4_mqprio_enable_offload()
490 qcount = pi->nqsets; in cxgb4_mqprio_enable_offload()
515 qcount = mqprio->qopt.count[i]; in cxgb4_mqprio_enable_offload()
516 for (j = 0; j < qcount; j++) { in cxgb4_mqprio_enable_offload()
537 u32 qoffset, qcount; in cxgb4_mqprio_disable_offload() local
[all …]
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_vf.c530 int err, qcount; in otx2vf_probe() local
552 qcount = num_online_cpus(); in otx2vf_probe()
553 netdev = alloc_etherdev_mqs(sizeof(*vf), qcount, qcount); in otx2vf_probe()
570 hw->rx_queues = qcount; in otx2vf_probe()
571 hw->tx_queues = qcount; in otx2vf_probe()
572 hw->max_queues = qcount; in otx2vf_probe()
573 hw->tot_tx_queues = qcount; in otx2vf_probe()
626 err = otx2_set_real_num_queues(netdev, qcount, qcount); in otx2vf_probe()
A Dotx2_pf.c2709 int err, qcount; in otx2_probe() local
2733 qcount = min_t(int, num_online_cpus(), OTX2_MAX_CQ_CNT); in otx2_probe()
2735 netdev = alloc_etherdev_mqs(sizeof(*pf), qcount, qcount); in otx2_probe()
2752 hw->rx_queues = qcount; in otx2_probe()
2753 hw->tx_queues = qcount; in otx2_probe()
2754 hw->tot_tx_queues = qcount; in otx2_probe()
2755 hw->max_queues = qcount; in otx2_probe()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_dcb_lib.c219 u16 qoffset, qcount; in ice_vsi_cfg_dcb_rings() local
240 qcount = vsi->tc_cfg.tc_info[n].qcount_tx; in ice_vsi_cfg_dcb_rings()
241 for (i = qoffset; i < (qoffset + qcount); i++) in ice_vsi_cfg_dcb_rings()
244 qcount = vsi->tc_cfg.tc_info[n].qcount_rx; in ice_vsi_cfg_dcb_rings()
245 for (i = qoffset; i < (qoffset + qcount); i++) in ice_vsi_cfg_dcb_rings()
262 qcount = vsi->mqprio_qopt.qopt.count[n]; in ice_vsi_cfg_dcb_rings()
263 for (i = qoffset; i < (qoffset + qcount); i++) { in ice_vsi_cfg_dcb_rings()
A Dice_main.c8119 if (!qcount) in ice_validate_mqprio_qopt()
8122 if (is_power_of_2(qcount)) { in ice_validate_mqprio_qopt()
8124 qcount > non_power_of_2_qcount) { in ice_validate_mqprio_qopt()
8126 qcount, non_power_of_2_qcount); in ice_validate_mqprio_qopt()
8129 if (qcount > max_rss_q_cnt) in ice_validate_mqprio_qopt()
8130 max_rss_q_cnt = qcount; in ice_validate_mqprio_qopt()
8135 qcount, non_power_of_2_qcount); in ice_validate_mqprio_qopt()
8138 if (qcount < max_rss_q_cnt) { in ice_validate_mqprio_qopt()
8140 qcount, max_rss_q_cnt); in ice_validate_mqprio_qopt()
8143 max_rss_q_cnt = qcount; in ice_validate_mqprio_qopt()
[all …]
A Dice_lib.c1225 u16 qcount, qmap; in ice_chnl_vsi_setup_q_map() local
1229 qcount = min_t(int, vsi->num_rxq, pf->num_lan_msix); in ice_chnl_vsi_setup_q_map()
1231 pow = order_base_2(qcount); in ice_chnl_vsi_setup_q_map()
1240 ctxt->info.q_mapping[1] = cpu_to_le16(qcount); in ice_chnl_vsi_setup_q_map()
A Dice_tc_lib.c760 int qcount = vsi->mqprio_qopt.qopt.count[tc]; in ice_locate_vsi_using_queue() local
763 if (queue >= offset && queue < offset + qcount) { in ice_locate_vsi_using_queue()
A Dice_ethtool.c3352 u16 qcount, offset; in ice_get_rxfh_context() local
3366 qcount = vsi->mqprio_qopt.qopt.count[rss_context]; in ice_get_rxfh_context()
3400 indir[i] = offset + lut[i] % qcount; in ice_get_rxfh_context()
/linux-6.3-rc2/net/sched/
A Dsch_choke.c226 q->vars.qcount = -1; in choke_enqueue()
239 q->vars.qcount = -1; in choke_enqueue()
249 } else if (++q->vars.qcount) { in choke_enqueue()
251 q->vars.qcount = 0; in choke_enqueue()
/linux-6.3-rc2/fs/gfs2/
A Dtrace_gfs2.h275 __field( u64, qcount )
292 __entry->qcount = gl->gl_stats.stats[GFS2_LKS_QCOUNT];
307 (long long)__entry->qcount)
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_main.c1957 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map_mqprio()
2022 u16 qcount; in i40e_vsi_setup_queue_map() local
2105 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map()
2108 num_qps = qcount; in i40e_vsi_setup_queue_map()
2120 offset += qcount; in i40e_vsi_setup_queue_map()
3748 u16 qoffset, qcount; in i40e_vsi_config_dcb_rings() local
3767 qcount = vsi->tc_config.tc_info[n].qcount; in i40e_vsi_config_dcb_rings()
7629 u16 qcount; in i40e_vsi_set_default_tc_config() local
7643 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_set_default_tc_config()
12419 u16 qcount; in i40e_pf_config_rss() local
[all …]
A Di40e_txrx.c3697 u16 qcount; in i40e_lan_select_queue() local
3715 qcount = vsi->tc_config.tc_info[tclass].qcount; in i40e_lan_select_queue()
3716 hash = i40e_swdcb_skb_tx_hash(netdev, skb, qcount); in i40e_lan_select_queue()
A Di40e.h308 u16 qcount; /* Total Queues */ member
A Di40e_debugfs.c474 vsi->tc_config.tc_info[i].qcount, in i40e_dbg_dump_vsi_seid()
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/
A Dnicvf_queues.c384 int tail, qcount; in nicvf_refill_rbdr() local
401 qcount = nicvf_queue_reg_read(nic, NIC_QSET_RBDR_0_1_STATUS0, rbdr_idx); in nicvf_refill_rbdr()
402 qcount &= 0x7FFFF; in nicvf_refill_rbdr()
404 if (qcount >= (qs->rbdr_len - 1)) in nicvf_refill_rbdr()
407 refill_rb_cnt = qs->rbdr_len - qcount - 1; in nicvf_refill_rbdr()
A Dnicvf_main.c2099 int err, qcount; in nicvf_probe() local
2128 qcount = netif_get_num_default_rss_queues(); in nicvf_probe()
2133 qcount = min_t(int, num_online_cpus(), in nicvf_probe()
2137 netdev = alloc_etherdev_mqs(sizeof(struct nicvf), qcount, qcount); in nicvf_probe()
2151 nic->max_queues = qcount; in nicvf_probe()
/linux-6.3-rc2/drivers/infiniband/hw/bnxt_re/
A Dqplib_res.h228 u8 qcount[MAX_TQM_ALLOC_REQ]; member
A Dqplib_res.c417 if (!tqmctx->qcount[i]) in bnxt_qplib_alloc_tqm_rings()
419 hwq_attr.depth = ctx->qpc_count * tqmctx->qcount[i]; in bnxt_qplib_alloc_tqm_rings()
A Dmain.c171 rdev->qplib_ctx.tqm_ctx.qcount[i] = in bnxt_re_limit_pf_res()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_sriov.c2449 int vf_idx, sb_idx, vfq_idx, qcount, first_vf; in bnx2x_enable_sriov() local
2493 qcount = 0; in bnx2x_enable_sriov()
2498 vf->vfqs = &bp->vfdb->vfqs[qcount]; in bnx2x_enable_sriov()
2499 qcount += vf_sb_count(vf); in bnx2x_enable_sriov()
/linux-6.3-rc2/net/core/
A Ddev.c3186 u16 qcount = dev->real_num_tx_queues; in skb_tx_hash() local
3192 qcount = sb_dev->tc_to_txq[tc].count; in skb_tx_hash()
3193 if (unlikely(!qcount)) { in skb_tx_hash()
3197 qcount = dev->real_num_tx_queues; in skb_tx_hash()
3205 while (unlikely(hash >= qcount)) in skb_tx_hash()
3206 hash -= qcount; in skb_tx_hash()
3210 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset; in skb_tx_hash()
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dsdio.c536 static int qcount[NUMPRIO]; variable
2844 if (pktq_plen(&bus->txq, prec) > qcount[prec]) in brcmf_sdio_bus_txdata()
2845 qcount[prec] = pktq_plen(&bus->txq, prec); in brcmf_sdio_bus_txdata()
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_main.c3670 u16 qcount = mqprio_qopt->qopt.count[i]; in __iavf_setup_tc() local
3674 netdev_set_tc_queue(netdev, netdev_tc++, qcount, in __iavf_setup_tc()

Completed in 141 milliseconds