Home
last modified time | relevance | path

Searched refs:coalesce (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.15/drivers/net/ethernet/sfc/siena/
H A Dethtool.c100 struct ethtool_coalesce *coalesce, in efx_ethtool_get_coalesce() argument
110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
111 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
112 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
113 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
120 struct ethtool_coalesce *coalesce, in efx_ethtool_set_coalesce() argument
132 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
133 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
135 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
[all …]
/linux-6.15/drivers/net/ethernet/sfc/
H A Dethtool.c100 struct ethtool_coalesce *coalesce, in efx_ethtool_get_coalesce() argument
110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
111 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
112 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
113 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
120 struct ethtool_coalesce *coalesce, in efx_ethtool_set_coalesce() argument
132 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
133 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
135 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
[all …]
/linux-6.15/net/ethtool/
H A Dcoalesce.c13 struct ethtool_coalesce coalesce; member
516 struct ethtool_coalesce coalesce = {}; in __ethnl_set_coalesce() local
527 ethnl_update_u32(&coalesce.rx_coalesce_usecs, in __ethnl_set_coalesce()
531 ethnl_update_u32(&coalesce.rx_coalesce_usecs_irq, in __ethnl_set_coalesce()
535 ethnl_update_u32(&coalesce.tx_coalesce_usecs, in __ethnl_set_coalesce()
539 ethnl_update_u32(&coalesce.tx_coalesce_usecs_irq, in __ethnl_set_coalesce()
545 ethnl_update_u32(&coalesce.pkt_rate_low, in __ethnl_set_coalesce()
547 ethnl_update_u32(&coalesce.rx_coalesce_usecs_low, in __ethnl_set_coalesce()
551 ethnl_update_u32(&coalesce.tx_coalesce_usecs_low, in __ethnl_set_coalesce()
555 ethnl_update_u32(&coalesce.pkt_rate_high, in __ethnl_set_coalesce()
[all …]
H A Dioctl.c1963 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce()
1975 if (coalesce->rx_coalesce_usecs) in ethtool_set_coalesce_supported()
1983 if (coalesce->tx_coalesce_usecs) in ethtool_set_coalesce_supported()
1997 if (coalesce->pkt_rate_low) in ethtool_set_coalesce_supported()
2007 if (coalesce->pkt_rate_high) in ethtool_set_coalesce_supported()
2027 struct ethtool_coalesce coalesce; in ethtool_set_coalesce() local
2038 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce()
2861 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_per_queue_coalesce()
2863 useraddr += sizeof(coalesce); in ethtool_get_per_queue_coalesce()
2901 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) { in ethtool_set_per_queue_coalesce()
[all …]
H A DMakefile9 channels.o coalesce.o pause.o eee.o tsinfo.o cabletest.o \
/linux-6.15/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c463 struct ethtool_coalesce *coalesce, in ionic_get_coalesce() argument
469 coalesce->tx_coalesce_usecs = lif->tx_coalesce_usecs; in ionic_get_coalesce()
470 coalesce->rx_coalesce_usecs = lif->rx_coalesce_usecs; in ionic_get_coalesce()
475 coalesce->use_adaptive_tx_coalesce = 0; in ionic_get_coalesce()
483 struct ethtool_coalesce *coalesce, in ionic_set_coalesce() argument
503 coalesce->use_adaptive_tx_coalesce)) { in ionic_set_coalesce()
512 if (!rx_coal && coalesce->rx_coalesce_usecs) in ionic_set_coalesce()
515 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce()
523 lif->rx_coalesce_usecs = coalesce->rx_coalesce_usecs; in ionic_set_coalesce()
532 if (coalesce->use_adaptive_rx_coalesce) { in ionic_set_coalesce()
[all …]
/linux-6.15/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c311 struct ethtool_coalesce *coalesce, in bnad_get_coalesce() argument
320 coalesce->use_adaptive_rx_coalesce = in bnad_get_coalesce()
324 coalesce->rx_coalesce_usecs = bnad->rx_coalescing_timeo * in bnad_get_coalesce()
326 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce()
328 coalesce->tx_max_coalesced_frames = BFI_TX_INTERPKT_COUNT; in bnad_get_coalesce()
334 struct ethtool_coalesce *coalesce, in bnad_set_coalesce() argument
342 if (coalesce->rx_coalesce_usecs == 0 || in bnad_set_coalesce()
343 coalesce->rx_coalesce_usecs > in bnad_set_coalesce()
347 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce()
348 coalesce->tx_coalesce_usecs > in bnad_set_coalesce()
[all …]
/linux-6.15/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c574 struct ethtool_coalesce *coalesce, in ef4_ethtool_get_coalesce() argument
584 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce()
585 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce()
586 coalesce->rx_coalesce_usecs = rx_usecs; in ef4_ethtool_get_coalesce()
587 coalesce->rx_coalesce_usecs_irq = rx_usecs; in ef4_ethtool_get_coalesce()
594 struct ethtool_coalesce *coalesce, in ef4_ethtool_set_coalesce() argument
606 if (coalesce->rx_coalesce_usecs != rx_usecs) in ef4_ethtool_set_coalesce()
607 rx_usecs = coalesce->rx_coalesce_usecs; in ef4_ethtool_set_coalesce()
609 rx_usecs = coalesce->rx_coalesce_usecs_irq; in ef4_ethtool_set_coalesce()
618 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce()
[all …]
/linux-6.15/drivers/net/netdevsim/
H A Dethtool.c52 memcpy(coal, &ns->ethtool.coalesce, sizeof(ns->ethtool.coalesce)); in nsim_get_coalesce()
63 memcpy(&ns->ethtool.coalesce, coal, sizeof(ns->ethtool.coalesce)); in nsim_set_coalesce()
/linux-6.15/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ram.c24 const u8 coalesce, u8 val) in can_ram_rounddown_pow_of_two() argument
31 if (coalesce) { in can_ram_rounddown_pow_of_two()
38 ret = min_t(u8, coalesce * 2, config->fifo_depth); in can_ram_rounddown_pow_of_two()
/linux-6.15/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c473 struct ethtool_coalesce *coalesce, in ena_get_coalesce() argument
483 coalesce->tx_coalesce_usecs = in ena_get_coalesce()
487 coalesce->rx_coalesce_usecs = in ena_get_coalesce()
491 coalesce->use_adaptive_rx_coalesce = in ena_get_coalesce()
520 struct ethtool_coalesce *coalesce, in ena_set_coalesce() argument
532 coalesce->tx_coalesce_usecs); in ena_set_coalesce()
539 coalesce->rx_coalesce_usecs); in ena_set_coalesce()
545 if (coalesce->use_adaptive_rx_coalesce && in ena_set_coalesce()
549 if (!coalesce->use_adaptive_rx_coalesce && in ena_set_coalesce()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_lib.c2862 coalesce[i].intrl = q_vector->intrl; in ice_vsi_rebuild_get_coalesce()
2865 coalesce[i].tx_valid = true; in ice_vsi_rebuild_get_coalesce()
2867 coalesce[i].rx_valid = true; in ice_vsi_rebuild_get_coalesce()
2890 if ((size && !coalesce) || !vsi) in ice_vsi_rebuild_set_coalesce()
2917 rc->itr_settings = coalesce[i].itr_rx; in ice_vsi_rebuild_set_coalesce()
2945 rc->itr_settings = coalesce[0].itr_tx; in ice_vsi_rebuild_set_coalesce()
2950 rc->itr_settings = coalesce[0].itr_rx; in ice_vsi_rebuild_set_coalesce()
3030 struct ice_coalesce_stored *coalesce; in ice_vsi_rebuild() local
3054 coalesce = kcalloc(vsi->num_q_vectors, in ice_vsi_rebuild()
3056 if (!coalesce) { in ice_vsi_rebuild()
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/netdevsim/
H A DMakefile6 ethtool-coalesce.sh \
H A Dethtool-coalesce.sh20 if ! ethtool -h | grep -q coalesce; then
/linux-6.15/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.h440 u16 coalesce, struct qed_queue_cid *p_cid);
444 u16 coalesce, struct qed_queue_cid *p_cid);
H A Dqed_l2.c2095 u32 coalesce, address, is_valid; in qed_get_rxq_coalesce() local
2113 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce()
2115 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce()
2119 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce()
2120 *p_rx_coal = (u16)(coalesce << timer_res); in qed_get_rxq_coalesce()
2129 u32 coalesce, address, is_valid; in qed_get_txq_coalesce() local
2147 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce()
2149 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce()
2153 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce()
2154 *p_tx_coal = (u16)(coalesce << timer_res); in qed_get_txq_coalesce()
/linux-6.15/Documentation/networking/device_drivers/ethernet/intel/
H A Didpf.rst121 # ethtool --per-queue <ethX> queue_mask 0xa --coalesce adaptive-rx off
124 - To show the current coalesce settings for queues 1 and 3::
126 # ethtool --per-queue <ethX> queue_mask 0xa --show-coalesce
/linux-6.15/Documentation/netlink/specs/
H A Dethtool.yaml652 name: coalesce
1844 name: coalesce-get
1845 doc: Get coalesce params.
1847 attribute-set: coalesce
1849 do: &coalesce-get-op
1854 attributes: &coalesce anchor
1885 dump: *coalesce-get-op
1887 name: coalesce-set
1890 attribute-set: coalesce
1896 name: coalesce-ntf
[all …]
/linux-6.15/arch/um/drivers/
H A Dvector_kern.h109 int coalesce; member
H A Dvector_kern.c1066 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit()
1487 ec->tx_coalesce_usecs = (vp->coalesce * 1000000) / HZ; in vector_get_coalesce()
1498 vp->coalesce = (ec->tx_coalesce_usecs * HZ) / 1000000; in vector_set_coalesce()
1499 if (vp->coalesce == 0) in vector_set_coalesce()
1500 vp->coalesce = 1; in vector_set_coalesce()
1619 .coalesce = 2, in vector_eth_configure()
/linux-6.15/net/wireless/
H A Dcore.c810 if (WARN_ON(wiphy->coalesce && in wiphy_register()
811 (!wiphy->coalesce->n_rules || in wiphy_register()
812 !wiphy->coalesce->n_patterns) && in wiphy_register()
813 (!wiphy->coalesce->pattern_min_len || in wiphy_register()
814 wiphy->coalesce->pattern_min_len > in wiphy_register()
815 wiphy->coalesce->pattern_max_len))) in wiphy_register()
1186 cfg80211_free_coalesce(rdev->coalesce); in wiphy_unregister()
1187 rdev->coalesce = NULL; in wiphy_unregister()
H A Dnl80211.h122 void cfg80211_free_coalesce(struct cfg80211_coalesce *coalesce);
/linux-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_eor_no-coalesce-retrans.pkt4 // will not be coalesce into the same skb.
/linux-6.15/drivers/scsi/bfa/
H A Dbfa_core.c1022 cfg_info->intr_attr.coalesce = BFA_TRUE; in bfa_iocfc_send_cfg()
1612 attr->intr_attr.coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_get_attr()
1631 iocfc->cfginfo->intr_attr.coalesce = attr->coalesce; in bfa_iocfc_israttr_set()
1644 m->coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_israttr_set()
/linux-6.15/drivers/i2c/busses/
H A Di2c-mlxbf.c423 struct mlxbf_i2c_resource *coalesce; member
1668 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce()
1684 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce()
1687 ret = mlxbf_i2c_init_resource(pdev, &priv->coalesce, in mlxbf_i2c_init_coalesce()
1702 coalesce_res = priv->coalesce; in mlxbf_i2c_release_coalesce()
1769 coalesce0_reg = readl(priv->coalesce->io + MLXBF_I2C_CAUSE_COALESCE_0); in mlxbf_i2c_has_coalesce()

123