Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c762 int chan_cnt = pfvf->hw.tx_chan_cnt; in otx2_txsch_alloc() local
776 if (is_otx2_sdp_rep(pfvf->pdev) && chan_cnt > 1) { in otx2_txsch_alloc()
777 req->schq[NIX_TXSCH_LVL_SMQ] = chan_cnt; in otx2_txsch_alloc()
778 req->schq[NIX_TXSCH_LVL_TL4] = chan_cnt; in otx2_txsch_alloc()
1828 req->chan_cnt = IEEE_8021QAZ_MAX_TCS; in otx2_nix_config_bp()
1831 req->chan_cnt = pfvf->hw.rx_chan_cnt; in otx2_nix_config_bp()
1853 req->chan_cnt = IEEE_8021QAZ_MAX_TCS; in otx2_nix_cpt_config_bp()
1856 req->chan_cnt = pfvf->hw.rx_chan_cnt; in otx2_nix_cpt_config_bp()
1920 for (chan = 0; chan < rsp->chan_cnt; chan++) { in mbox_handler_nix_bp_enable()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c658 int nixlf, u64 chan, u8 chan_cnt) in rvu_npc_install_promisc_entry() argument
721 if (chan_cnt > 1) { in rvu_npc_install_promisc_entry()
722 if (!is_power_of_2(chan_cnt)) { in rvu_npc_install_promisc_entry()
728 ilog2(chan_cnt)); in rvu_npc_install_promisc_entry()