| /linux-6.15/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_ethtool.c | 489 u32 rx_coal, rx_dim; in ionic_set_coalesce() local 511 rx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->rx_coalesce_usecs); in ionic_set_coalesce() 512 if (!rx_coal && coalesce->rx_coalesce_usecs) in ionic_set_coalesce() 513 rx_coal = 1; in ionic_set_coalesce() 518 if (rx_coal > IONIC_INTR_CTRL_COAL_MAX || in ionic_set_coalesce() 524 lif->rx_coalesce_hw = rx_coal; in ionic_set_coalesce() 534 rx_dim = rx_coal; in ionic_set_coalesce()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 1350 struct hns3_enet_coalesce *rx_coal = &priv->rx_coal; in hns3_get_coalesce() local 1357 cmd->use_adaptive_rx_coalesce = rx_coal->adapt_enable; in hns3_get_coalesce() 1360 cmd->rx_coalesce_usecs = rx_coal->int_gl; in hns3_get_coalesce() 1366 cmd->rx_max_coalesced_frames = rx_coal->int_ql; in hns3_get_coalesce() 1562 struct hns3_enet_coalesce *rx_coal = &priv->rx_coal; in hns3_set_coalesce() local 1580 rx_coal->adapt_enable = cmd->use_adaptive_rx_coalesce; in hns3_set_coalesce() 1583 rx_coal->int_gl = cmd->rx_coalesce_usecs; in hns3_set_coalesce() 1586 rx_coal->int_ql = cmd->rx_max_coalesced_frames; in hns3_set_coalesce()
|
| H A D | hns3_enet.c | 560 rx_coal->int_gl = prx_coal->int_gl; in hns3_vector_coalesce_init() 562 rx_coal->flow_level = prx_coal->flow_level; in hns3_vector_coalesce_init() 570 rx_coal->unit_1us = 1; in hns3_vector_coalesce_init() 575 rx_coal->ql_enable = 1; in hns3_vector_coalesce_init() 579 rx_coal->int_ql = prx_coal->int_ql; in hns3_vector_coalesce_init() 598 if (rx_coal->ql_enable) in hns3_vector_coalesce_init_hw() 4752 struct hns3_enet_coalesce *rx_coal = &priv->rx_coal; in hns3_nic_init_coal_cfg() local 4762 rx_coal->adapt_enable = 1; in hns3_nic_init_coal_cfg() 4765 rx_coal->int_gl = HNS3_INT_GL_50K; in hns3_nic_init_coal_cfg() 4767 rx_coal->flow_level = HNS3_FLOW_LOW; in hns3_nic_init_coal_cfg() [all …]
|
| H A D | hns3_enet.h | 596 struct hns3_enet_coalesce rx_coal; member
|
| /linux-6.15/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_dev_api.h | 482 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
|
| H A D | qed_vf.c | 1401 u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) in qed_vf_pf_set_coalesce() argument 1411 req->rx_coal = rx_coal; 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()
|
| H A D | qed_sriov.h | 195 u16 rx_coal; member
|
| H A D | qed_vf.h | 480 u16 rx_coal; member 704 u16 rx_coal,
|
| H A D | qed_sriov.c | 3492 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() 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()
|
| H A D | qed_dev.c | 4911 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() 4927 if (rx_coal) { in qed_set_queue_coalesce() 4928 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_set_queue_coalesce() 4931 p_hwfn->cdev->rx_coalesce_usecs = rx_coal; in qed_set_queue_coalesce()
|
| H A D | qed_main.c | 2775 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 D | qede_ethtool.c | 759 u16 rx_coal, tx_coal, i, rc = 0; in qede_get_coalesce() local 762 rx_coal = QED_DEFAULT_RX_USECS; in qede_get_coalesce() 778 rc = edev->ops->get_coalesce(edev->cdev, &rx_coal, rx_handle); in qede_get_coalesce() 808 coal->rx_coalesce_usecs = rx_coal; in qede_get_coalesce() 2214 u16 rx_coal, tx_coal; in qede_get_per_coalesce() local 2217 rx_coal = QED_DEFAULT_RX_USECS; in qede_get_per_coalesce() 2239 rc = edev->ops->get_coalesce(edev->cdev, &rx_coal, in qede_get_per_coalesce() 2258 coal->rx_coalesce_usecs = rx_coal; in qede_get_per_coalesce()
|
| /linux-6.15/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_main.c | 384 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_set_rx_coal_setting() local 398 rx_coal->small_pkt_range_start = mod_range[index].small_pkt_range_start; in enic_set_rx_coal_setting() 399 rx_coal->large_pkt_range_start = mod_range[index].large_pkt_range_start; in enic_set_rx_coal_setting() 400 rx_coal->range_end = ENIC_RX_COALESCE_RANGE_END; in enic_set_rx_coal_setting() 407 rx_coal->use_adaptive_rx_coalesce = 1; in enic_set_rx_coal_setting() 1279 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_calc_int_moderation() local 1312 rx_coal->small_pkt_range_start : in enic_calc_int_moderation() 1313 rx_coal->large_pkt_range_start; in enic_calc_int_moderation() 1314 timer = range_start + ((rx_coal->range_end - range_start) * in enic_calc_int_moderation()
|
| /linux-6.15/drivers/net/ethernet/tehuti/ |
| H A D | tehuti.c | 2187 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()
|
| /linux-6.15/include/linux/qed/ |
| H A D | qed_if.h | 1032 u16 rx_coal, u16 tx_coal, void *handle);
|
| /linux-6.15/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 4450 cpr->rx_ring_coal.coal_ticks = bp->rx_coal.coal_ticks; in bnxt_init_cp_rings() 4451 cpr->rx_ring_coal.coal_bufs = bp->rx_coal.coal_bufs; in bnxt_init_cp_rings() 4459 cpr2->rx_ring_coal.coal_ticks = bp->rx_coal.coal_ticks; in bnxt_init_cp_rings() 4460 cpr2->rx_ring_coal.coal_bufs = bp->rx_coal.coal_bufs; in bnxt_init_cp_rings() 8212 memcpy(&coal, &bp->rx_coal, sizeof(struct bnxt_coal)); in bnxt_hwrm_set_ring_coal() 8277 bnxt_hwrm_set_coal_params(bp, &bp->rx_coal, req_rx); in bnxt_hwrm_set_coal() 8302 hw_coal = &bp->rx_coal; in bnxt_hwrm_set_coal() 14560 coal = &bp->rx_coal; in bnxt_init_dflt_coal()
|
| H A D | bnxt.h | 2578 struct bnxt_coal rx_coal; member
|
| H A D | bnxt_ethtool.c | 74 hw_coal = &bp->rx_coal; in bnxt_get_coalesce() 124 hw_coal = &bp->rx_coal; in bnxt_set_coalesce()
|