Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c616 u32 tl2, tl3, tl4; in nic_tx_channel_cfg() local
637 tl4 = bgx * (hw->tl4_cnt / hw->bgx_cnt); in nic_tx_channel_cfg()
639 tl4 += (lmac * MAX_QUEUES_PER_QSET); in nic_tx_channel_cfg()
645 tl4 += (MAX_LMAC_PER_BGX * MAX_QUEUES_PER_QSET); in nic_tx_channel_cfg()
646 tl4 += (lmac * MAX_QUEUES_PER_QSET * MAX_SQS_PER_VF); in nic_tx_channel_cfg()
647 tl4 += (svf * MAX_QUEUES_PER_QSET); in nic_tx_channel_cfg()
650 tl4 = (vnic * MAX_QUEUES_PER_QSET); in nic_tx_channel_cfg()
652 tl4 += sq_idx; in nic_tx_channel_cfg()
654 tl3 = tl4 / (hw->tl4_cnt / hw->tl3_cnt); in nic_tx_channel_cfg()
657 ((u32)sq_idx << NIC_Q_NUM_SHIFT), tl4); in nic_tx_channel_cfg()
[all …]