Home
last modified time | relevance | path

Searched refs:rx_coal (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_dev_api.h520 qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle);
Dqed_vf.c1417 u16 rx_coal, u16 tx_coal, struct qed_queue_cid *p_cid) in qed_vf_pf_set_coalesce() argument
1427 req->rx_coal = rx_coal; in qed_vf_pf_set_coalesce()
1434 rx_coal, tx_coal, req->qid); in qed_vf_pf_set_coalesce()
1448 if (rx_coal) in qed_vf_pf_set_coalesce()
1449 p_hwfn->cdev->rx_coalesce_usecs = rx_coal; in qed_vf_pf_set_coalesce()
Dqed_sriov.h220 u16 rx_coal; member
Dqed_vf.h507 u16 rx_coal; member
728 u16 rx_coal,
Dqed_sriov.c3501 u16 rx_coal, tx_coal; in qed_iov_vf_pf_set_coalesce() local
3507 rx_coal = req->rx_coal; in qed_iov_vf_pf_set_coalesce()
3512 QED_IOV_VALIDATE_Q_ENABLE) && rx_coal) { in qed_iov_vf_pf_set_coalesce()
3530 vf->abs_vf_id, rx_coal, tx_coal, qid); in qed_iov_vf_pf_set_coalesce()
3532 if (rx_coal) { in qed_iov_vf_pf_set_coalesce()
3535 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_iov_vf_pf_set_coalesce()
3543 vf->rx_coal = rx_coal; in qed_iov_vf_pf_set_coalesce()
Dqed_dev.c4965 int qed_set_queue_coalesce(u16 rx_coal, u16 tx_coal, void *p_handle) in qed_set_queue_coalesce() argument
4975 return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid); in qed_set_queue_coalesce()
4981 if (rx_coal) { in qed_set_queue_coalesce()
4982 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_set_queue_coalesce()
4985 p_hwfn->cdev->rx_coalesce_usecs = rx_coal; in qed_set_queue_coalesce()
Dqed_main.c2471 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce() argument
2474 return qed_set_queue_coalesce(rx_coal, tx_coal, handle); in qed_set_coalesce()
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Denic_main.c1492 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_calc_int_moderation() local
1525 rx_coal->small_pkt_range_start : in enic_calc_int_moderation()
1526 rx_coal->large_pkt_range_start; in enic_calc_int_moderation()
1527 timer = range_start + ((rx_coal->range_end - range_start) * in enic_calc_int_moderation()
1858 struct enic_rx_coal *rx_coal = &enic->rx_coalesce_setting; in enic_set_rx_coal_setting() local
1872 rx_coal->small_pkt_range_start = mod_range[index].small_pkt_range_start; in enic_set_rx_coal_setting()
1873 rx_coal->large_pkt_range_start = mod_range[index].large_pkt_range_start; in enic_set_rx_coal_setting()
1874 rx_coal->range_end = ENIC_RX_COALESCE_RANGE_END; in enic_set_rx_coal_setting()
1881 rx_coal->use_adaptive_rx_coalesce = 1; in enic_set_rx_coal_setting()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c814 u16 rx_coal, tx_coal, i, rc = 0; in qede_get_coalesce() local
817 rx_coal = QED_DEFAULT_RX_USECS; in qede_get_coalesce()
833 rc = edev->ops->get_coalesce(edev->cdev, &rx_coal, rx_handle); in qede_get_coalesce()
863 coal->rx_coalesce_usecs = rx_coal; in qede_get_coalesce()
/Linux-v5.4/drivers/net/ethernet/tehuti/
Dtehuti.c2204 int rx_coal; in bdx_set_coalesce() local
2210 rx_coal = ecoal->rx_coalesce_usecs / INT_COAL_MULT; in bdx_set_coalesce()
2223 if ((rx_coal > 0x7FFF) || (tx_coal > 0x7FFF) || in bdx_set_coalesce()
2227 rdintcm = INT_REG_VAL(rx_coal, GET_INT_COAL_RC(priv->rdintcm), in bdx_set_coalesce()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h539 struct hns3_enet_coalesce rx_coal; member
Dhns3_enet.c4216 memcpy(&priv->rx_coal, &priv->tqp_vector[0].rx_group.coal, in hns3_store_coal()
4228 memcpy(&priv->tqp_vector[i].rx_group.coal, &priv->rx_coal, in hns3_restore_coal()
/Linux-v5.4/include/linux/qed/
Dqed_if.h1024 u16 rx_coal, u16 tx_coal, void *handle);
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h1711 struct bnxt_coal rx_coal; member
Dbnxt.c3249 cpr->rx_ring_coal.coal_ticks = bp->rx_coal.coal_ticks; in bnxt_init_cp_rings()
3250 cpr->rx_ring_coal.coal_bufs = bp->rx_coal.coal_bufs; in bnxt_init_cp_rings()
3259 cpr2->rx_ring_coal.coal_ticks = bp->rx_coal.coal_ticks; in bnxt_init_cp_rings()
3260 cpr2->rx_ring_coal.coal_bufs = bp->rx_coal.coal_bufs; in bnxt_init_cp_rings()
6222 memcpy(&coal, &bp->rx_coal, sizeof(struct bnxt_coal)); in bnxt_hwrm_set_ring_coal()
6252 bnxt_hwrm_set_coal_params(bp, &bp->rx_coal, &req_rx); in bnxt_hwrm_set_coal()
6288 hw_coal = &bp->rx_coal; in bnxt_hwrm_set_coal()
10396 coal = &bp->rx_coal; in bnxt_init_dflt_coal()
Dbnxt_ethtool.c57 hw_coal = &bp->rx_coal; in bnxt_get_coalesce()
94 hw_coal = &bp->rx_coal; in bnxt_set_coalesce()