Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c65 struct bnxt_coal *hw_coal; in bnxt_get_coalesce() local
72 hw_coal = &bp->rx_coal; in bnxt_get_coalesce()
78 if (hw_coal->flags & in bnxt_get_coalesce()
82 hw_coal = &bp->tx_coal; in bnxt_get_coalesce()
88 if (hw_coal->flags & in bnxt_get_coalesce()
122 hw_coal = &bp->rx_coal; in bnxt_set_coalesce()
128 hw_coal->flags &= in bnxt_set_coalesce()
131 hw_coal->flags |= in bnxt_set_coalesce()
134 hw_coal = &bp->tx_coal; in bnxt_set_coalesce()
140 hw_coal->flags &= in bnxt_set_coalesce()
[all …]
H A Dbnxt.c6683 struct bnxt_coal *hw_coal, in bnxt_hwrm_set_coal_params() argument
6687 u16 val, tmr, max, flags = hw_coal->flags; in bnxt_hwrm_set_coal_params()
6690 max = hw_coal->bufs_per_record * 128; in bnxt_hwrm_set_coal_params()
6691 if (hw_coal->budget) in bnxt_hwrm_set_coal_params()
6692 max = hw_coal->bufs_per_record * hw_coal->budget; in bnxt_hwrm_set_coal_params()
6701 val = clamp_t(u16, hw_coal->coal_bufs_irq, 1, in bnxt_hwrm_set_coal_params()
6732 hw_coal->idle_thresh && hw_coal->coal_ticks < hw_coal->idle_thresh) in bnxt_hwrm_set_coal_params()
6739 struct bnxt_coal *hw_coal) in __bnxt_hwrm_set_coal_nq() argument
6818 struct bnxt_coal *hw_coal; in bnxt_hwrm_set_coal() local
6846 hw_coal = &bp->rx_coal; in bnxt_hwrm_set_coal()
[all …]