Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/net/
H A Dred.h147 int qcount; /* Number of packets since last random member
168 v->qcount = -1; in red_set_vars()
287 v->qcount = -1; in red_restart()
390 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
421 v->qcount = -1; in red_action()
425 if (++v->qcount) { in red_action()
427 v->qcount = 0; in red_action()
437 v->qcount = -1; in red_action()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H 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()
81 if (qoffset >= adap->tids.neotids || qcount > adap->tids.neotids) in cxgb4_mqprio_validate()
431 u32 qoffset, qcount, tot_qcount, qid, hwqid; in cxgb4_mqprio_enable_offload() local
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()
494 ret = netdev_set_tc_queue(dev, i, qcount, qoffset); in cxgb4_mqprio_enable_offload()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_vf.c456 int err, qcount; in otx2vf_probe() local
478 qcount = num_online_cpus(); in otx2vf_probe()
479 netdev = alloc_etherdev_mqs(sizeof(*vf), qcount, qcount); in otx2vf_probe()
496 hw->rx_queues = qcount; in otx2vf_probe()
497 hw->tx_queues = qcount; in otx2vf_probe()
498 hw->max_queues = qcount; in otx2vf_probe()
547 err = otx2_set_real_num_queues(netdev, qcount, qcount); in otx2vf_probe()
H A Dotx2_pf.c1992 int err, qcount; in otx2_probe() local
2016 qcount = min_t(int, num_online_cpus(), OTX2_MAX_CQ_CNT); in otx2_probe()
2018 netdev = alloc_etherdev_mqs(sizeof(*pf), qcount, qcount); in otx2_probe()
2035 hw->rx_queues = qcount; in otx2_probe()
2036 hw->tx_queues = qcount; in otx2_probe()
2037 hw->max_queues = qcount; in otx2_probe()
/OK3568_Linux_fs/kernel/net/sched/
H A Dsch_choke.c227 q->vars.qcount = -1; in choke_enqueue()
240 q->vars.qcount = -1; in choke_enqueue()
250 } else if (++q->vars.qcount) { in choke_enqueue()
252 q->vars.qcount = 0; in choke_enqueue()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_dcb_lib.c198 u16 qoffset, qcount; in ice_vsi_cfg_dcb_rings() local
219 qcount = vsi->tc_cfg.tc_info[n].qcount_tx; in ice_vsi_cfg_dcb_rings()
220 for (i = qoffset; i < (qoffset + qcount); i++) { in ice_vsi_cfg_dcb_rings()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dtrace_gfs2.h278 __field( u64, qcount )
295 __entry->qcount = gl->gl_stats.stats[GFS2_LKS_QCOUNT];
310 (long long)__entry->qcount)
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c1801 u16 qcount = 0, max_qcount, qmap, sections = 0; in i40e_vsi_setup_queue_map_mqprio() local
1826 qcount = vsi->mqprio_qopt.qopt.count[i]; in i40e_vsi_setup_queue_map_mqprio()
1827 if (qcount > max_qcount) in i40e_vsi_setup_queue_map_mqprio()
1828 max_qcount = qcount; in i40e_vsi_setup_queue_map_mqprio()
1830 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map_mqprio()
1838 vsi->tc_config.tc_info[i].qcount = 1; in i40e_vsi_setup_queue_map_mqprio()
1844 vsi->num_queue_pairs = offset + qcount; in i40e_vsi_setup_queue_map_mqprio()
1895 u16 qcount; in i40e_vsi_setup_queue_map() local
1964 qcount = min_t(int, pf->alloc_rss_size, in i40e_vsi_setup_queue_map()
1973 qcount = num_tc_qps; in i40e_vsi_setup_queue_map()
[all …]
H A Di40e_txrx.c3549 u16 qcount; in i40e_lan_select_queue() local
3566 qcount = vsi->tc_config.tc_info[tclass].qcount; in i40e_lan_select_queue()
3567 hash = i40e_swdcb_skb_tx_hash(netdev, skb, qcount); in i40e_lan_select_queue()
H A Di40e.h297 u16 qcount; /* Total Queues */ member
H A Di40e_debugfs.c474 vsi->tc_config.tc_info[i].qcount, in i40e_dbg_dump_vsi_seid()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c383 int tail, qcount; in nicvf_refill_rbdr() local
400 qcount = nicvf_queue_reg_read(nic, NIC_QSET_RBDR_0_1_STATUS0, rbdr_idx); in nicvf_refill_rbdr()
401 qcount &= 0x7FFFF; in nicvf_refill_rbdr()
403 if (qcount >= (qs->rbdr_len - 1)) in nicvf_refill_rbdr()
406 refill_rb_cnt = qs->rbdr_len - qcount - 1; in nicvf_refill_rbdr()
H A Dnicvf_main.c2110 int err, qcount; in nicvf_probe() local
2147 qcount = netif_get_num_default_rss_queues(); in nicvf_probe()
2152 qcount = min_t(int, num_online_cpus(), in nicvf_probe()
2156 netdev = alloc_etherdev_mqs(sizeof(struct nicvf), qcount, qcount); in nicvf_probe()
2170 nic->max_queues = qcount; in nicvf_probe()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.h240 u8 qcount[MAX_TQM_ALLOC_REQ]; member
H A Dqplib_res.c416 if (!tqmctx->qcount[i]) in bnxt_qplib_alloc_tqm_rings()
418 hwq_attr.depth = ctx->qpc_count * tqmctx->qcount[i]; in bnxt_qplib_alloc_tqm_rings()
H A Dmain.c169 rdev->qplib_ctx.tqm_ctx.qcount[i] = in bnxt_re_limit_pf_res()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c2456 int vf_idx, sb_idx, vfq_idx, qcount, first_vf; in bnx2x_enable_sriov() local
2500 qcount = 0; in bnx2x_enable_sriov()
2505 vf->vfqs = &bp->vfdb->vfqs[qcount]; in bnx2x_enable_sriov()
2506 qcount += vf_sb_count(vf); in bnx2x_enable_sriov()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev.c3174 u16 qcount = dev->real_num_tx_queues; in skb_tx_hash() local
3180 qcount = sb_dev->tc_to_txq[tc].count; in skb_tx_hash()
3181 if (unlikely(!qcount)) { in skb_tx_hash()
3185 qcount = dev->real_num_tx_queues; in skb_tx_hash()
3193 while (unlikely(hash >= qcount)) in skb_tx_hash()
3194 hash -= qcount; in skb_tx_hash()
3198 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset; in skb_tx_hash()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c538 static int qcount[NUMPRIO]; variable
2833 if (pktq_plen(&bus->txq, prec) > qcount[prec]) in brcmf_sdio_bus_txdata()
2834 qcount[prec] = pktq_plen(&bus->txq, prec); in brcmf_sdio_bus_txdata()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c2737 u16 qcount = mqprio_qopt->qopt.count[i]; in __iavf_setup_tc() local
2741 netdev_set_tc_queue(netdev, netdev_tc++, qcount, in __iavf_setup_tc()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_sdio.c527 static int qcount[NUMPRIO]; variable
2389 if (pktqprec_n_pkts(&bus->txq, prec) > qcount[prec]) in dhd_bus_txdata()
2390 qcount[prec] = pktqprec_n_pkts(&bus->txq, prec); in dhd_bus_txdata()
3710 bcm_bprintf(strbuf, " %d , ", qcount[i]); in dhd_bus_dump()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_sdio.c526 static int qcount[NUMPRIO]; variable
2378 if (pktqprec_n_pkts(&bus->txq, prec) > qcount[prec]) in dhd_bus_txdata()
2379 qcount[prec] = pktqprec_n_pkts(&bus->txq, prec); in dhd_bus_txdata()
3699 bcm_bprintf(strbuf, " %d , ", qcount[i]); in dhd_bus_dump()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_sdio.c491 static int qcount[NUMPRIO]; variable
2349 if (pktq_plen(&bus->txq, prec) > qcount[prec]) in dhd_bus_txdata()
2350 qcount[prec] = pktq_plen(&bus->txq, prec); in dhd_bus_txdata()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_sdio.c490 static int qcount[NUMPRIO]; variable
2159 if (pktqprec_n_pkts(&bus->txq, prec) > qcount[prec]) in dhd_bus_txdata()
2160 qcount[prec] = pktqprec_n_pkts(&bus->txq, prec); in dhd_bus_txdata()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_sdio.c508 static int qcount[NUMPRIO]; variable
2216 if (pktqprec_n_pkts(&bus->txq, prec) > qcount[prec]) in dhd_bus_txdata()
2217 qcount[prec] = pktqprec_n_pkts(&bus->txq, prec); in dhd_bus_txdata()

12