Home
last modified time | relevance | path

Searched refs:rx_coal (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c429 u32 rx_coal, rx_dim; in ionic_set_coalesce() local
451 rx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->rx_coalesce_usecs); in ionic_set_coalesce()
452 if (!rx_coal && coalesce->rx_coalesce_usecs) in ionic_set_coalesce()
453 rx_coal = 1; in ionic_set_coalesce()
458 if (rx_coal > IONIC_INTR_CTRL_COAL_MAX || in ionic_set_coalesce()
464 lif->rx_coalesce_hw = rx_coal; in ionic_set_coalesce()
474 rx_dim = rx_coal; in ionic_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c443 u32 rx_coal, rx_dim; in ionic_set_coalesce() local
465 rx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->rx_coalesce_usecs); in ionic_set_coalesce()
466 if (!rx_coal && coalesce->rx_coalesce_usecs) in ionic_set_coalesce()
467 rx_coal = 1; in ionic_set_coalesce()
472 if (rx_coal > IONIC_INTR_CTRL_COAL_MAX || in ionic_set_coalesce()
478 lif->rx_coalesce_hw = rx_coal; in ionic_set_coalesce()
488 rx_dim = rx_coal; in ionic_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1349 struct hns3_enet_coalesce *rx_coal = &priv->rx_coal; in hns3_get_coalesce() local
1356 cmd->use_adaptive_rx_coalesce = rx_coal->adapt_enable; in hns3_get_coalesce()
1359 cmd->rx_coalesce_usecs = rx_coal->int_gl; in hns3_get_coalesce()
1365 cmd->rx_max_coalesced_frames = rx_coal->int_ql; in hns3_get_coalesce()
1561 struct hns3_enet_coalesce *rx_coal = &priv->rx_coal; in hns3_set_coalesce() local
1579 rx_coal->adapt_enable = cmd->use_adaptive_rx_coalesce; in hns3_set_coalesce()
1582 rx_coal->int_gl = cmd->rx_coalesce_usecs; in hns3_set_coalesce()
1585 rx_coal in hns3_set_coalesce()
[all...]
H A Dhns3_enet.c558 struct hns3_enet_coalesce *rx_coal = &tqp_vector->rx_group.coal; in hns3_vector_coalesce_init() local
560 struct hns3_enet_coalesce *prx_coal = &priv->rx_coal; in hns3_vector_coalesce_init()
563 rx_coal->adapt_enable = prx_coal->adapt_enable; in hns3_vector_coalesce_init()
566 rx_coal->int_gl = prx_coal->int_gl; in hns3_vector_coalesce_init()
568 rx_coal->flow_level = prx_coal->flow_level; in hns3_vector_coalesce_init()
576 rx_coal->unit_1us = 1; in hns3_vector_coalesce_init()
581 rx_coal->ql_enable = 1; in hns3_vector_coalesce_init()
583 rx_coal->int_ql_max = ae_dev->dev_specs.int_ql_max; in hns3_vector_coalesce_init()
585 rx_coal->int_ql = prx_coal->int_ql; in hns3_vector_coalesce_init()
594 struct hns3_enet_coalesce *rx_coal in hns3_vector_coalesce_init_hw() local
4747 struct hns3_enet_coalesce *rx_coal = &priv->rx_coal; hns3_nic_init_coal_cfg() local
[all...]
H A Dhns3_enet.h594 struct hns3_enet_coalesce rx_coal; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev_api.h437 * @param rx_coal - Rx Coalesce value in micro seconds.
444 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
H A Dqed_sriov.h195 u16 rx_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()
1421 req->rx_coal = rx_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()
1442 if (rx_coal) in qed_vf_pf_set_coalesce()
1443 p_hwfn->cdev->rx_coalesce_usecs = rx_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.h480 u16 rx_coal; member
695 * @param rx_coal - coalesce value in micro second for rx queue
701 u16 rx_coal,
H A Dqed_sriov.c3490 u16 rx_coal, tx_coal; in qed_iov_vf_pf_set_coalesce() local
3496 rx_coal = req->rx_coal; in qed_iov_vf_pf_set_coalesce()
3501 QED_IOV_VALIDATE_Q_ENABLE) && rx_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()
3521 if (rx_coal) { in qed_iov_vf_pf_set_coalesce()
3524 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_iov_vf_pf_set_coalesce()
3532 vf->rx_coal = rx_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()
4830 if (rx_coal) { in qed_set_queue_coalesce()
4831 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_set_queue_coalesce()
4834 p_hwfn->cdev->rx_coalesce_usecs = rx_coal; in qed_set_queue_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev_api.h475 * @rx_coal: Rx Coalesce value in micro seconds.
482 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
H A Dqed_sriov.h195 u16 rx_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()
1411 req->rx_coal = rx_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()
1432 if (rx_coal) in qed_vf_pf_set_coalesce()
1433 p_hwfn->cdev->rx_coalesce_usecs = rx_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.h480 u16 rx_coal; member
696 * @rx_coal: coalesce value in micro second for rx queue.
704 u16 rx_coal,
H A Dqed_sriov.c3492 u16 rx_coal, tx_coal; in qed_iov_vf_pf_set_coalesce() local
3498 rx_coal = req->rx_coal; in qed_iov_vf_pf_set_coalesce()
3503 QED_IOV_VALIDATE_Q_ENABLE) && rx_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()
3523 if (rx_coal) { in qed_iov_vf_pf_set_coalesce()
3526 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_iov_vf_pf_set_coalesce()
3534 vf->rx_coal = rx_coal; in qed_iov_vf_pf_set_coalesce()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Denic_main.c1460 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_calc_int_moderation() local
1493 rx_coal->small_pkt_range_start : in enic_calc_int_moderation()
1494 rx_coal->large_pkt_range_start; in enic_calc_int_moderation()
1495 timer = range_start + ((rx_coal->range_end - range_start) * in enic_calc_int_moderation()
1826 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_set_rx_coal_setting() local
1840 rx_coal->small_pkt_range_start = mod_range[index].small_pkt_range_start; in enic_set_rx_coal_setting()
1841 rx_coal->large_pkt_range_start = mod_range[index].large_pkt_range_start; in enic_set_rx_coal_setting()
1842 rx_coal->range_end = ENIC_RX_COALESCE_RANGE_END; in enic_set_rx_coal_setting()
1849 rx_coal->use_adaptive_rx_coalesce = 1; in enic_set_rx_coal_setting()
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic_main.c1460 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_calc_int_moderation() local
1493 rx_coal->small_pkt_range_start : in enic_calc_int_moderation()
1494 rx_coal->large_pkt_range_start; in enic_calc_int_moderation()
1495 timer = range_start + ((rx_coal->range_end - range_start) * in enic_calc_int_moderation()
1826 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_set_rx_coal_setting() local
1840 rx_coal->small_pkt_range_start = mod_range[index].small_pkt_range_start; in enic_set_rx_coal_setting()
1841 rx_coal->large_pkt_range_start = mod_range[index].large_pkt_range_start; in enic_set_rx_coal_setting()
1842 rx_coal->range_end = ENIC_RX_COALESCE_RANGE_END; in enic_set_rx_coal_setting()
1849 rx_coal->use_adaptive_rx_coalesce = 1; in enic_set_rx_coal_setting()
/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
788 rx_coal = QED_DEFAULT_RX_USECS; in qede_get_coalesce()
804 rc = edev->ops->get_coalesce(edev->cdev, &rx_coal, rx_handle); in qede_get_coalesce()
834 coal->rx_coalesce_usecs = rx_coal; in qede_get_coalesce()
2222 u16 rx_coal, tx_coal; in qede_get_per_coalesce() local
2225 rx_coal = QED_DEFAULT_RX_USECS; in qede_get_per_coalesce()
2247 rc = edev->ops->get_coalesce(edev->cdev, &rx_coal, in qede_get_per_coalesce()
2266 coal->rx_coalesce_usecs = rx_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
774 rx_coal = QED_DEFAULT_RX_USECS; in qede_get_coalesce()
790 rc = edev->ops->get_coalesce(edev->cdev, &rx_coal, rx_handle); in qede_get_coalesce()
820 coal->rx_coalesce_usecs = rx_coal; in qede_get_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/tehuti/
H A Dtehuti.c2197 int rx_coal; in bdx_set_coalesce() local
2203 rx_coal = ecoal->rx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
2216 if ((rx_coal > 0x7FFF) || (tx_coal > 0x7FFF) || in bdx_set_coalesce()
2220 rdintcm = INT_REG_VAL(rx_coal, GET_INT_COAL_RC(priv->rdintcm), in bdx_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/tehuti/
H A Dtehuti.c2187 int rx_coal; in bdx_set_coalesce() local
2193 rx_coal = ecoal->rx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
2206 if ((rx_coal > 0x7FFF) || (tx_coal > 0x7FFF) || in bdx_set_coalesce()
2210 rdintcm = INT_REG_VAL(rx_coal, GET_INT_COAL_RC(priv->rdintcm), in bdx_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h487 struct hns3_enet_coalesce rx_coal; member
/kernel/linux/linux-5.10/include/linux/qed/
H A Dqed_if.h991 * @param rx_coal - Rx 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.h1025 * @rx_coal: Rx coalesce value in usec.
1032 u16 rx_coal, u16 tx_coal, void *handle);

Completed in 64 milliseconds

12