Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c490 u32 tx_coal, tx_dim; in ionic_set_coalesce() local
514 tx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->tx_coalesce_usecs); in ionic_set_coalesce()
515 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce()
516 tx_coal = 1; in ionic_set_coalesce()
519 tx_coal > IONIC_INTR_CTRL_COAL_MAX) in ionic_set_coalesce()
530 lif->tx_coalesce_hw = tx_coal; in ionic_set_coalesce()
542 tx_dim = tx_coal; in ionic_set_coalesce()
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1349 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; in hns3_get_coalesce() local
1356 cmd->use_adaptive_tx_coalesce = tx_coal->adapt_enable; in hns3_get_coalesce()
1359 cmd->tx_coalesce_usecs = tx_coal->int_gl; in hns3_get_coalesce()
1365 cmd->tx_max_coalesced_frames = tx_coal->int_ql; in hns3_get_coalesce()
1561 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; in hns3_set_coalesce() local
1579 tx_coal->adapt_enable = cmd->use_adaptive_tx_coalesce; in hns3_set_coalesce()
1582 tx_coal->int_gl = cmd->tx_coalesce_usecs; in hns3_set_coalesce()
1585 tx_coal->int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce()
H A Dhns3_enet.c559 tx_coal->int_gl = ptx_coal->int_gl; in hns3_vector_coalesce_init()
563 tx_coal->flow_level = ptx_coal->flow_level; in hns3_vector_coalesce_init()
569 tx_coal->unit_1us = 1; in hns3_vector_coalesce_init()
574 tx_coal->ql_enable = 1; in hns3_vector_coalesce_init()
578 tx_coal->int_ql = ptx_coal->int_ql; in hns3_vector_coalesce_init()
595 if (tx_coal->ql_enable) in hns3_vector_coalesce_init_hw()
4751 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; in hns3_nic_init_coal_cfg() local
4761 tx_coal->adapt_enable = 1; in hns3_nic_init_coal_cfg()
4764 tx_coal->int_gl = HNS3_INT_GL_50K; in hns3_nic_init_coal_cfg()
4768 tx_coal->flow_level = HNS3_FLOW_LOW; in hns3_nic_init_coal_cfg()
[all …]
H A Dhns3_enet.h595 struct hns3_enet_coalesce tx_coal; member
/linux-6.15/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev_api.h482 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
H A Dqed_vf.c1401 u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) in qed_vf_pf_set_coalesce() argument
1412 req->tx_coal = tx_coal; in qed_vf_pf_set_coalesce()
1418 rx_coal, tx_coal, req->qid); in qed_vf_pf_set_coalesce()
1435 if (tx_coal) in qed_vf_pf_set_coalesce()
1436 p_hwfn->cdev->tx_coalesce_usecs = tx_coal; in qed_vf_pf_set_coalesce()
H A Dqed_sriov.h196 u16 tx_coal; member
H A Dqed_vf.h481 u16 tx_coal; member
705 u16 tx_coal, struct qed_queue_cid *p_cid);
H A Dqed_sriov.c3492 u16 rx_coal, tx_coal; in qed_iov_vf_pf_set_coalesce() local
3499 tx_coal = req->tx_coal; in qed_iov_vf_pf_set_coalesce()
3511 QED_IOV_VALIDATE_Q_ENABLE) && tx_coal) { in qed_iov_vf_pf_set_coalesce()
3521 vf->abs_vf_id, rx_coal, tx_coal, qid); in qed_iov_vf_pf_set_coalesce()
3537 if (tx_coal) { in qed_iov_vf_pf_set_coalesce()
3547 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, in qed_iov_vf_pf_set_coalesce()
3558 vf->tx_coal = tx_coal; in qed_iov_vf_pf_set_coalesce()
H A Dqed_dev.c4911 int qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle) in qed_set_queue_coalesce() argument
4921 return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid); in qed_set_queue_coalesce()
4934 if (tx_coal) { in qed_set_queue_coalesce()
4935 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in qed_set_queue_coalesce()
4938 p_hwfn->cdev->tx_coalesce_usecs = tx_coal; in qed_set_queue_coalesce()
H A Dqed_main.c2775 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce() argument
2778 return qed_set_queue_coalesce(rx_coal, tx_coal, handle); in qed_set_coalesce()
/linux-6.15/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c759 u16 rx_coal, tx_coal, i, rc = 0; in qede_get_coalesce() local
763 tx_coal = QED_DEFAULT_TX_USECS; in qede_get_coalesce()
800 rc = edev->ops->get_coalesce(edev->cdev, &tx_coal, tx_handle); in qede_get_coalesce()
809 coal->tx_coalesce_usecs = tx_coal; in qede_get_coalesce()
2214 u16 rx_coal, tx_coal; in qede_get_per_coalesce() local
2218 tx_coal = QED_DEFAULT_TX_USECS; in qede_get_per_coalesce()
2250 rc = edev->ops->get_coalesce(edev->cdev, &tx_coal, in qede_get_per_coalesce()
2259 coal->tx_coalesce_usecs = tx_coal; in qede_get_per_coalesce()
/linux-6.15/drivers/net/ethernet/tehuti/
H A Dtehuti.c2188 int tx_coal; in bdx_set_coalesce() local
2194 tx_coal = ecoal->tx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
2206 if ((rx_coal > 0x7FFF) || (tx_coal > 0x7FFF) || in bdx_set_coalesce()
2212 tdintcm = INT_REG_VAL(tx_coal, GET_INT_COAL_RC(priv->tdintcm), 0, in bdx_set_coalesce()
/linux-6.15/include/linux/qed/
H A Dqed_if.h1032 u16 rx_coal, u16 tx_coal, void *handle);
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h2579 struct bnxt_coal tx_coal; member
H A Dbnxt_ethtool.c84 hw_coal = &bp->tx_coal; in bnxt_get_coalesce()
136 hw_coal = &bp->tx_coal; in bnxt_set_coalesce()
H A Dbnxt.c8278 bnxt_hwrm_set_coal_params(bp, &bp->tx_coal, req_tx); in bnxt_hwrm_set_coal()
8304 hw_coal = &bp->tx_coal; in bnxt_hwrm_set_coal()
14570 coal = &bp->tx_coal; in bnxt_init_dflt_coal()