Home
last modified time | relevance | path

Searched refs:chan_cnt (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c769 int chan_cnt = pfvf->hw.tx_chan_cnt; in otx2_txsch_alloc() local
783 if (is_otx2_sdp_rep(pfvf->pdev) && chan_cnt > 1) { in otx2_txsch_alloc()
784 req->schq[NIX_TXSCH_LVL_SMQ] = chan_cnt; in otx2_txsch_alloc()
785 req->schq[NIX_TXSCH_LVL_TL4] = chan_cnt; in otx2_txsch_alloc()
1822 req->chan_cnt = IEEE_8021QAZ_MAX_TCS; in otx2_nix_config_bp()
1825 req->chan_cnt = 1; in otx2_nix_config_bp()
1847 req->chan_cnt = IEEE_8021QAZ_MAX_TCS; in otx2_nix_cpt_config_bp()
1850 req->chan_cnt = 1; in otx2_nix_cpt_config_bp()
1914 for (chan = 0; chan < rsp->chan_cnt; chan++) { in mbox_handler_nix_bp_enable()
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c656 int nixlf, u64 chan, u8 chan_cnt) in rvu_npc_install_promisc_entry() argument
719 if (chan_cnt > 1) { in rvu_npc_install_promisc_entry()
720 if (!is_power_of_2(chan_cnt)) { in rvu_npc_install_promisc_entry()
726 ilog2(chan_cnt)); in rvu_npc_install_promisc_entry()
H A Drvu_nix.c611 for (chan = chan_base; chan < (chan_base + req->chan_cnt); chan++) { in nix_bp_disable()
677 if ((req->chan_base + req->chan_cnt) > NIX_BPIDS_PER_LMAC) in rvu_nix_get_bpid()
704 if ((req->chan_base + req->chan_cnt) > bp->sdp_bpid_cnt) in rvu_nix_get_bpid()
759 for (chan = chan_base; chan < (chan_base + req->chan_cnt); chan++) { in nix_bp_enable()
775 for (chan = 0; chan < req->chan_cnt; chan++) { in nix_bp_enable()
782 rsp->chan_cnt = req->chan_cnt; in nix_bp_enable()
H A Dmbox.h1224 u8 chan_cnt; /* Number of channels */ member
1235 u8 chan_cnt; /* Number of channel for which bpids are assigned */ member
H A Drvu.h967 int nixlf, u64 chan, u8 chan_cnt);