Home
last modified time | relevance | path

Searched refs:cq_ecount_wait (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c360 cmd->rx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
362 cmd->tx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
407 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce()
408 hw->cq_ecount_wait = ec->tx_max_coalesced_frames; in otx2_set_coalesce()
409 else if (hw->cq_ecount_wait == ec->tx_max_coalesced_frames) in otx2_set_coalesce()
410 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce()
412 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
H A Dotx2_common.h177 u16 cq_ecount_wait; member
300 pfvf->hw.cq_ecount_wait = CQ_CQE_THRESH_DEFAULT; in otx2_setup_dev_hw_settings()
H A Dotx2_common.c461 * HW triggers an irq when ECOUNT > cq_ecount_wait, hence in otx2_config_irq_coalescing()
462 * set 1 less than cq_ecount_wait. And cq_time_wait is in in otx2_config_irq_coalescing()
468 (pfvf->hw.cq_ecount_wait - 1)); in otx2_config_irq_coalescing()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c469 cmd->rx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
471 cmd->tx_max_coalesced_frames = hw->cq_ecount_wait; in otx2_get_coalesce()
545 if (hw->cq_ecount_wait == ec->rx_max_coalesced_frames) in otx2_set_coalesce()
546 hw->cq_ecount_wait = ec->tx_max_coalesced_frames; in otx2_set_coalesce()
547 else if (hw->cq_ecount_wait == ec->tx_max_coalesced_frames) in otx2_set_coalesce()
548 hw->cq_ecount_wait = ec->rx_max_coalesced_frames; in otx2_set_coalesce()
550 hw->cq_ecount_wait = min_t(u16, ec->rx_max_coalesced_frames, in otx2_set_coalesce()
553 /* Reset 'cq_time_wait' and 'cq_ecount_wait' to in otx2_set_coalesce()
561 hw->cq_ecount_wait = CQ_CQE_THRESH_DEFAULT; in otx2_set_coalesce()
H A Dotx2_common.h237 u16 cq_ecount_wait; member
584 pfvf->hw.cq_ecount_wait = CQ_CQE_THRESH_DEFAULT; in otx2_setup_dev_hw_settings()
H A Dotx2_common.c513 * HW triggers an irq when ECOUNT > cq_ecount_wait, hence in otx2_config_irq_coalescing()
514 * set 1 less than cq_ecount_wait. And cq_time_wait is in in otx2_config_irq_coalescing()
520 (pfvf->hw.cq_ecount_wait - 1)); in otx2_config_irq_coalescing()
H A Dotx2_pf.c1754 pfvf->hw.cq_ecount_wait = (cur_moder.pkts > NAPI_POLL_WEIGHT) ? in otx2_dim_work()

Completed in 15 milliseconds