Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c450 u32 tx_coal, tx_dim; in ionic_set_coalesce() local
474 tx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->tx_coalesce_usecs); in ionic_set_coalesce()
475 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce()
476 tx_coal = 1; in ionic_set_coalesce()
479 tx_coal > IONIC_INTR_CTRL_COAL_MAX) in ionic_set_coalesce()
490 lif->tx_coalesce_hw = tx_coal; in ionic_set_coalesce()
502 tx_dim = tx_coal; in ionic_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1216 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; in hns3_get_coalesce() local
1223 cmd->use_adaptive_tx_coalesce = tx_coal->adapt_enable; in hns3_get_coalesce()
1226 cmd->tx_coalesce_usecs = tx_coal->int_gl; in hns3_get_coalesce()
1232 cmd->tx_max_coalesced_frames = tx_coal->int_ql; in hns3_get_coalesce()
1406 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; in hns3_set_coalesce() local
1424 tx_coal->adapt_enable = cmd->use_adaptive_tx_coalesce; in hns3_set_coalesce()
1427 tx_coal->int_gl = cmd->tx_coalesce_usecs; in hns3_set_coalesce()
1430 tx_coal->int_ql = cmd->tx_max_coalesced_frames; in hns3_set_coalesce()
Dhns3_enet.c557 struct hns3_enet_coalesce *tx_coal = &tqp_vector->tx_group.coal; in hns3_vector_coalesce_init() local
559 struct hns3_enet_coalesce *ptx_coal = &priv->tx_coal; in hns3_vector_coalesce_init()
562 tx_coal->adapt_enable = ptx_coal->adapt_enable; in hns3_vector_coalesce_init()
565 tx_coal->int_gl = ptx_coal->int_gl; in hns3_vector_coalesce_init()
569 tx_coal->flow_level = ptx_coal->flow_level; in hns3_vector_coalesce_init()
575 tx_coal->unit_1us = 1; in hns3_vector_coalesce_init()
580 tx_coal->ql_enable = 1; in hns3_vector_coalesce_init()
582 tx_coal->int_ql_max = ae_dev->dev_specs.int_ql_max; in hns3_vector_coalesce_init()
584 tx_coal->int_ql = ptx_coal->int_ql; in hns3_vector_coalesce_init()
593 struct hns3_enet_coalesce *tx_coal = &tqp_vector->tx_group.coal; in hns3_vector_coalesce_init_hw() local
[all …]
Dhns3_enet.h582 struct hns3_enet_coalesce tx_coal; member
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_dev_api.h444 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
Dqed_vf.c1404 u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) in qed_vf_pf_set_coalesce() argument
1415 req->tx_coal = tx_coal; in qed_vf_pf_set_coalesce()
1421 rx_coal, tx_coal, req->qid); in qed_vf_pf_set_coalesce()
1438 if (tx_coal) in qed_vf_pf_set_coalesce()
1439 p_hwfn->cdev->tx_coalesce_usecs = tx_coal; in qed_vf_pf_set_coalesce()
Dqed_sriov.h195 u16 tx_coal; member
Dqed_vf.h481 u16 tx_coal; member
702 u16 tx_coal, struct qed_queue_cid *p_cid);
Dqed_sriov.c3479 u16 rx_coal, tx_coal; in qed_iov_vf_pf_set_coalesce() local
3486 tx_coal = req->tx_coal; in qed_iov_vf_pf_set_coalesce()
3498 QED_IOV_VALIDATE_Q_ENABLE) && tx_coal) { in qed_iov_vf_pf_set_coalesce()
3508 vf->abs_vf_id, rx_coal, tx_coal, qid); in qed_iov_vf_pf_set_coalesce()
3524 if (tx_coal) { in qed_iov_vf_pf_set_coalesce()
3534 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, in qed_iov_vf_pf_set_coalesce()
3545 vf->tx_coal = tx_coal; in qed_iov_vf_pf_set_coalesce()
Dqed_dev.c4850 int qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle) in qed_set_queue_coalesce() argument
4860 return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid); in qed_set_queue_coalesce()
4873 if (tx_coal) { in qed_set_queue_coalesce()
4874 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in qed_set_queue_coalesce()
4877 p_hwfn->cdev->tx_coalesce_usecs = tx_coal; in qed_set_queue_coalesce()
Dqed_main.c2809 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce() argument
2812 return qed_set_queue_coalesce(rx_coal, tx_coal, handle); in qed_set_coalesce()
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c769 u16 rx_coal, tx_coal, i, rc = 0; in qede_get_coalesce() local
773 tx_coal = QED_DEFAULT_TX_USECS; in qede_get_coalesce()
810 rc = edev->ops->get_coalesce(edev->cdev, &tx_coal, tx_handle); in qede_get_coalesce()
819 coal->tx_coalesce_usecs = tx_coal; in qede_get_coalesce()
2188 u16 rx_coal, tx_coal; in qede_get_per_coalesce() local
2192 tx_coal = QED_DEFAULT_TX_USECS; in qede_get_per_coalesce()
2224 rc = edev->ops->get_coalesce(edev->cdev, &tx_coal, in qede_get_per_coalesce()
2233 coal->tx_coalesce_usecs = tx_coal; in qede_get_per_coalesce()
/Linux-v5.15/drivers/net/ethernet/tehuti/
Dtehuti.c2194 int tx_coal; in bdx_set_coalesce() local
2200 tx_coal = ecoal->tx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
2212 if ((rx_coal > 0x7FFF) || (tx_coal > 0x7FFF) || in bdx_set_coalesce()
2218 tdintcm = INT_REG_VAL(tx_coal, GET_INT_COAL_RC(priv->tdintcm), 0, in bdx_set_coalesce()
/Linux-v5.15/include/linux/qed/
Dqed_if.h1018 u16 rx_coal, u16 tx_coal, void *handle);
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h1928 struct bnxt_coal tx_coal; member
Dbnxt_ethtool.c72 hw_coal = &bp->tx_coal; in bnxt_get_coalesce()
111 hw_coal = &bp->tx_coal; in bnxt_set_coalesce()
Dbnxt.c6642 bnxt_hwrm_set_coal_params(bp, &bp->tx_coal, req_tx); in bnxt_hwrm_set_coal()
6678 hw_coal = &bp->tx_coal; in bnxt_hwrm_set_coal()
11869 coal = &bp->tx_coal; in bnxt_init_dflt_coal()