Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c67 struct bnxt_coal *hw_coal; in bnxt_get_coalesce() local
74 hw_coal = &bp->rx_coal; in bnxt_get_coalesce()
80 if (hw_coal->flags & in bnxt_get_coalesce()
84 hw_coal = &bp->tx_coal; in bnxt_get_coalesce()
90 if (hw_coal->flags & in bnxt_get_coalesce()
124 hw_coal = &bp->rx_coal; in bnxt_set_coalesce()
130 hw_coal->flags &= in bnxt_set_coalesce()
133 hw_coal->flags |= in bnxt_set_coalesce()
136 hw_coal = &bp->tx_coal; in bnxt_set_coalesce()
142 hw_coal->flags &= in bnxt_set_coalesce()
[all …]
H A Dbnxt.c8119 struct bnxt_coal *hw_coal, in bnxt_hwrm_set_coal_params() argument
8123 u16 val, tmr, max, flags = hw_coal->flags; in bnxt_hwrm_set_coal_params()
8126 max = hw_coal->bufs_per_record * 128; in bnxt_hwrm_set_coal_params()
8127 if (hw_coal->budget) in bnxt_hwrm_set_coal_params()
8128 max = hw_coal->bufs_per_record * hw_coal->budget; in bnxt_hwrm_set_coal_params()
8137 val = clamp_t(u16, hw_coal->coal_bufs_irq, 1, in bnxt_hwrm_set_coal_params()
8168 hw_coal->idle_thresh && hw_coal->coal_ticks < hw_coal->idle_thresh) in bnxt_hwrm_set_coal_params()
8175 struct bnxt_coal *hw_coal) in __bnxt_hwrm_set_coal_nq() argument
8284 struct bnxt_coal *hw_coal; in bnxt_hwrm_set_coal() local
8302 hw_coal = &bp->rx_coal; in bnxt_hwrm_set_coal()
[all …]