Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_resc.c189 struct bnge_hw_rings *hwr) in bnge_rss_ctxs_in_use() argument
191 return bnge_cal_nr_rss_ctxs(hwr->grp); in bnge_rss_ctxs_in_use()
224 struct bnge_hw_rings *hwr) in bnge_copy_reserved_rings() argument
228 hwr->tx = hw_resc->resv_tx_rings; in bnge_copy_reserved_rings()
229 hwr->rx = hw_resc->resv_rx_rings; in bnge_copy_reserved_rings()
230 hwr->nq = hw_resc->resv_irqs; in bnge_copy_reserved_rings()
231 hwr->cmpl = hw_resc->resv_cp_rings; in bnge_copy_reserved_rings()
232 hwr->grp = hw_resc->resv_hw_ring_grps; in bnge_copy_reserved_rings()
233 hwr->vnic = hw_resc->resv_vnics; in bnge_copy_reserved_rings()
234 hwr->stat = hw_resc->resv_stat_ctxs; in bnge_copy_reserved_rings()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c7839 __bnxt_hwrm_reserve_pf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) in __bnxt_hwrm_reserve_pf_rings() argument
7848 enables |= hwr->tx ? FUNC_CFG_REQ_ENABLES_NUM_TX_RINGS : 0; in __bnxt_hwrm_reserve_pf_rings()
7849 req->num_tx_rings = cpu_to_le16(hwr->tx); in __bnxt_hwrm_reserve_pf_rings()
7851 enables |= hwr->rx ? FUNC_CFG_REQ_ENABLES_NUM_RX_RINGS : 0; in __bnxt_hwrm_reserve_pf_rings()
7852 enables |= hwr->stat ? FUNC_CFG_REQ_ENABLES_NUM_STAT_CTXS : 0; in __bnxt_hwrm_reserve_pf_rings()
7854 enables |= hwr->cp ? FUNC_CFG_REQ_ENABLES_NUM_MSIX : 0; in __bnxt_hwrm_reserve_pf_rings()
7855 enables |= hwr->cp_p5 ? in __bnxt_hwrm_reserve_pf_rings()
7858 enables |= hwr->cp ? in __bnxt_hwrm_reserve_pf_rings()
7860 enables |= hwr->grp ? in __bnxt_hwrm_reserve_pf_rings()
7863 enables |= hwr->vnic ? FUNC_CFG_REQ_ENABLES_NUM_VNICS : 0; in __bnxt_hwrm_reserve_pf_rings()
[all …]
/linux/tools/power/pm-graph/
H A Dsleepgraph.py1878 hwr = self.hwend - timedelta(microseconds=rtime)
1879 self.tLow.append('%.0f'%((hwr - hws).total_seconds() * 1000))