Home
last modified time | relevance | path

Searched refs:tx_coal (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c430 u32 tx_coal, tx_dim; in ionic_set_coalesce() local
454 tx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->tx_coalesce_usecs); in ionic_set_coalesce()
455 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce()
456 tx_coal = 1; in ionic_set_coalesce()
459 tx_coal > IONIC_INTR_CTRL_COAL_MAX) in ionic_set_coalesce()
470 lif->tx_coalesce_hw = tx_coal; in ionic_set_coalesce()
482 tx_dim = tx_coal; in ionic_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c444 u32 tx_coal, tx_dim; in ionic_set_coalesce() local
468 tx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->tx_coalesce_usecs); in ionic_set_coalesce()
469 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce()
470 tx_coal = 1; in ionic_set_coalesce()
473 tx_coal > IONIC_INTR_CTRL_COAL_MAX) in ionic_set_coalesce()
484 lif->tx_coalesce_hw = tx_coal; in ionic_set_coalesce()
496 tx_dim = tx_coal; in ionic_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1348 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; in hns3_get_coalesce() local
1355 cmd->use_adaptive_tx_coalesce = tx_coal->adapt_enable; in hns3_get_coalesce()
1358 cmd->tx_coalesce_usecs = tx_coal->int_gl; in hns3_get_coalesce()
1364 cmd->tx_max_coalesced_frames = tx_coal->int_ql; in hns3_get_coalesce()
1560 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; in hns3_set_coalesce() local
1578 tx_coal->adapt_enable = cmd->use_adaptive_tx_coalesce; in hns3_set_coalesce()
1581 tx_coal->int_gl = cmd->tx_coalesce_usecs; in hns3_set_coalesce()
1584 tx_coal in hns3_set_coalesce()
[all...]
H A 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 in hns3_vector_coalesce_init_hw() local
4746 struct hns3_enet_coalesce *tx_coal = &priv->tx_coal; hns3_nic_init_coal_cfg() local
[all...]
H A Dhns3_enet.h593 struct hns3_enet_coalesce tx_coal; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev_api.h438 * @param tx_coal - TX Coalesce value in micro seconds.
444 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
H A Dqed_sriov.h196 u16 tx_coal; member
H A Dqed_vf.c1411 u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) in qed_vf_pf_set_coalesce()
1422 req->tx_coal = tx_coal; in qed_vf_pf_set_coalesce()
1427 "Setting coalesce rx_coal = %d, tx_coal = %d at queue = %d\n", in qed_vf_pf_set_coalesce()
1428 rx_coal, tx_coal, req->qid); in qed_vf_pf_set_coalesce()
1445 if (tx_coal) in qed_vf_pf_set_coalesce()
1446 p_hwfn->cdev->tx_coalesce_usecs = tx_coal; in qed_vf_pf_set_coalesce()
1410 qed_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) qed_vf_pf_set_coalesce() argument
H A Dqed_vf.h481 u16 tx_coal; member
696 * @param tx_coal - coalesce value in micro second for tx queue
702 u16 tx_coal, struct qed_queue_cid *p_cid);
H A Dqed_sriov.c3490 u16 rx_coal, tx_coal; in qed_iov_vf_pf_set_coalesce() local
3497 tx_coal = req->tx_coal; in qed_iov_vf_pf_set_coalesce()
3509 QED_IOV_VALIDATE_Q_ENABLE) && tx_coal) { in qed_iov_vf_pf_set_coalesce()
3518 "VF[%d]: Setting coalesce for VF rx_coal = %d, tx_coal = %d at queue = %d\n", in qed_iov_vf_pf_set_coalesce()
3519 vf->abs_vf_id, rx_coal, tx_coal, qid); in qed_iov_vf_pf_set_coalesce()
3535 if (tx_coal) { in qed_iov_vf_pf_set_coalesce()
3545 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, in qed_iov_vf_pf_set_coalesce()
3556 vf->tx_coal = tx_coal; in qed_iov_vf_pf_set_coalesce()
[all...]
H A Dqed_dev.c4814 int qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle) in qed_set_queue_coalesce() argument
4824 return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid); in qed_set_queue_coalesce()
4837 if (tx_coal) { in qed_set_queue_coalesce()
4838 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in qed_set_queue_coalesce()
4841 p_hwfn->cdev->tx_coalesce_usecs = tx_coal; in qed_set_queue_coalesce()
H A Dqed_main.c2805 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce() argument
2808 return qed_set_queue_coalesce(rx_coal, tx_coal, handle); in qed_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev_api.h476 * @tx_coal: TX Coalesce value in micro seconds.
482 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
H A Dqed_sriov.h196 u16 tx_coal; member
H A Dqed_vf.c1401 u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) in qed_vf_pf_set_coalesce()
1412 req->tx_coal = tx_coal; in qed_vf_pf_set_coalesce()
1417 "Setting coalesce rx_coal = %d, tx_coal = %d at queue = %d\n", 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()
1400 qed_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) qed_vf_pf_set_coalesce() argument
H A Dqed_vf.h481 u16 tx_coal; member
697 * @tx_coal: coalesce value in micro second for tx queue.
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()
3520 "VF[%d]: Setting coalesce for VF rx_coal = %d, tx_coal = %d at queue = %d\n", 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()
[all...]
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()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c785 u16 rx_coal, tx_coal, i, rc = 0; in qede_get_coalesce() local
789 tx_coal = QED_DEFAULT_TX_USECS; in qede_get_coalesce()
826 rc = edev->ops->get_coalesce(edev->cdev, &tx_coal, tx_handle); in qede_get_coalesce()
835 coal->tx_coalesce_usecs = tx_coal; in qede_get_coalesce()
2222 u16 rx_coal, tx_coal; in qede_get_per_coalesce() local
2226 tx_coal = QED_DEFAULT_TX_USECS; in qede_get_per_coalesce()
2258 rc = edev->ops->get_coalesce(edev->cdev, &tx_coal, in qede_get_per_coalesce()
2267 coal->tx_coalesce_usecs = tx_coal; in qede_get_per_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c771 u16 rx_coal, tx_coal, i, rc = 0; in qede_get_coalesce() local
775 tx_coal = QED_DEFAULT_TX_USECS; in qede_get_coalesce()
812 rc = edev->ops->get_coalesce(edev->cdev, &tx_coal, tx_handle); in qede_get_coalesce()
821 coal->tx_coalesce_usecs = tx_coal; in qede_get_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/tehuti/
H A Dtehuti.c2198 int tx_coal; in bdx_set_coalesce() local
2204 tx_coal = ecoal->tx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
2216 if ((rx_coal > 0x7FFF) || (tx_coal > 0x7FFF) || in bdx_set_coalesce()
2222 tdintcm = INT_REG_VAL(tx_coal, GET_INT_COAL_RC(priv->tdintcm), 0, in bdx_set_coalesce()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h486 struct hns3_enet_coalesce tx_coal; member
/kernel/linux/linux-5.10/include/linux/qed/
H A Dqed_if.h992 * @param tx_coal - Tx coalesce value in usec
999 u16 rx_coal, u16 tx_coal, void *handle);
/kernel/linux/linux-6.6/include/linux/qed/
H A Dqed_if.h1026 * @tx_coal: Tx coalesce value in usec.
1032 u16 rx_coal, u16 tx_coal, void *handle);

Completed in 66 milliseconds

12