Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c301 struct ethtool_coalesce *coalesce) in ena_get_coalesce() argument
311 coalesce->tx_coalesce_usecs = in ena_get_coalesce()
315 coalesce->rx_coalesce_usecs = in ena_get_coalesce()
320 coalesce->rx_coalesce_usecs_low = intr_moder_entry.intr_moder_interval; in ena_get_coalesce()
321 coalesce->rx_max_coalesced_frames_low = intr_moder_entry.pkts_per_interval; in ena_get_coalesce()
324 coalesce->rx_coalesce_usecs = intr_moder_entry.intr_moder_interval; in ena_get_coalesce()
325 coalesce->rx_max_coalesced_frames = intr_moder_entry.pkts_per_interval; in ena_get_coalesce()
328 coalesce->rx_coalesce_usecs_high = intr_moder_entry.intr_moder_interval; in ena_get_coalesce()
329 coalesce->rx_max_coalesced_frames_high = intr_moder_entry.pkts_per_interval; in ena_get_coalesce()
331 coalesce->use_adaptive_rx_coalesce = in ena_get_coalesce()
[all …]
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c320 bnad_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_get_coalesce() argument
327 coalesce->use_adaptive_rx_coalesce = in bnad_get_coalesce()
331 coalesce->rx_coalesce_usecs = bnad->rx_coalescing_timeo * in bnad_get_coalesce()
333 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce()
335 coalesce->tx_max_coalesced_frames = BFI_TX_INTERPKT_COUNT; in bnad_get_coalesce()
341 bnad_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_set_coalesce() argument
347 if (coalesce->rx_coalesce_usecs == 0 || in bnad_set_coalesce()
348 coalesce->rx_coalesce_usecs > in bnad_set_coalesce()
352 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce()
353 coalesce->tx_coalesce_usecs > in bnad_set_coalesce()
[all …]
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dethtool.c583 struct ethtool_coalesce *coalesce) in ef4_ethtool_get_coalesce() argument
591 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce()
592 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce()
593 coalesce->rx_coalesce_usecs = rx_usecs; in ef4_ethtool_get_coalesce()
594 coalesce->rx_coalesce_usecs_irq = rx_usecs; in ef4_ethtool_get_coalesce()
595 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in ef4_ethtool_get_coalesce()
601 struct ethtool_coalesce *coalesce) in ef4_ethtool_set_coalesce() argument
609 if (coalesce->use_adaptive_tx_coalesce) in ef4_ethtool_set_coalesce()
614 if (coalesce->rx_coalesce_usecs != rx_usecs) in ef4_ethtool_set_coalesce()
615 rx_usecs = coalesce->rx_coalesce_usecs; in ef4_ethtool_set_coalesce()
[all …]
/Linux-v4.19/drivers/net/ethernet/sfc/
Dethtool.c605 struct ethtool_coalesce *coalesce) in efx_ethtool_get_coalesce() argument
613 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
614 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
615 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
616 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
617 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in efx_ethtool_get_coalesce()
623 struct ethtool_coalesce *coalesce) in efx_ethtool_set_coalesce() argument
631 if (coalesce->use_adaptive_tx_coalesce) in efx_ethtool_set_coalesce()
636 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
637 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
[all …]
/Linux-v4.19/net/core/
Dethtool.c1676 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_coalesce() local
1681 dev->ethtool_ops->get_coalesce(dev, &coalesce); in ethtool_get_coalesce()
1683 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce()
1691 struct ethtool_coalesce coalesce; in ethtool_set_coalesce() local
1696 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce()
1699 return dev->ethtool_ops->set_coalesce(dev, &coalesce); in ethtool_set_coalesce()
2406 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_per_queue_coalesce() local
2408 ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, &coalesce); in ethtool_get_per_queue_coalesce()
2411 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_per_queue_coalesce()
2413 useraddr += sizeof(coalesce); in ethtool_get_per_queue_coalesce()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_l2.h437 u16 coalesce, struct qed_queue_cid *p_cid);
441 u16 coalesce, struct qed_queue_cid *p_cid);
Dqed_l2.c2092 u32 coalesce, address, is_valid; in qed_get_rxq_coalesce() local
2109 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce()
2111 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce()
2115 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce()
2116 *p_rx_coal = (u16)(coalesce << timer_res); in qed_get_rxq_coalesce()
2125 u32 coalesce, address, is_valid; in qed_get_txq_coalesce() local
2142 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce()
2144 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce()
2148 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce()
2149 *p_tx_coal = (u16)(coalesce << timer_res); in qed_get_txq_coalesce()
Dqed_dev.c3899 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_rxq_coalesce() argument
3907 if (coalesce <= 0x7F) { in qed_set_rxq_coalesce()
3909 } else if (coalesce <= 0xFF) { in qed_set_rxq_coalesce()
3911 } else if (coalesce <= 0x1FF) { in qed_set_rxq_coalesce()
3914 DP_ERR(p_hwfn, "Invalid coalesce value - %d\n", coalesce); in qed_set_rxq_coalesce()
3917 timeset = (u8)(coalesce >> timer_res); in qed_set_rxq_coalesce()
3938 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_txq_coalesce() argument
3946 if (coalesce <= 0x7F) { in qed_set_txq_coalesce()
3948 } else if (coalesce <= 0xFF) { in qed_set_txq_coalesce()
3950 } else if (coalesce <= 0x1FF) { in qed_set_txq_coalesce()
[all …]
/Linux-v4.19/arch/um/drivers/
Dvector_kern.h103 int coalesce; member
Dvector_kern.c1047 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit()
1378 ec->tx_coalesce_usecs = (vp->coalesce * 1000000) / HZ; in vector_get_coalesce()
1387 vp->coalesce = (ec->tx_coalesce_usecs * HZ) / 1000000; in vector_set_coalesce()
1388 if (vp->coalesce == 0) in vector_set_coalesce()
1389 vp->coalesce = 1; in vector_set_coalesce()
1505 .coalesce = 2, in vector_eth_configure()
/Linux-v4.19/net/wireless/
Dcore.c690 if (WARN_ON(wiphy->coalesce && in wiphy_register()
691 (!wiphy->coalesce->n_rules || in wiphy_register()
692 !wiphy->coalesce->n_patterns) && in wiphy_register()
693 (!wiphy->coalesce->pattern_min_len || in wiphy_register()
694 wiphy->coalesce->pattern_min_len > in wiphy_register()
695 wiphy->coalesce->pattern_max_len))) in wiphy_register()
Dnl80211.c1313 if (!rdev->wiphy.coalesce) in nl80211_send_coalesce()
1316 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
1317 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce()
1318 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
1319 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce()
1320 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce()
1321 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce()
11176 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
11183 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
11188 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules()
[all …]
Dcore.h92 struct cfg80211_coalesce *coalesce; member
Drdev-ops.h1185 struct cfg80211_coalesce *coalesce) in rdev_set_coalesce() argument
1189 trace_rdev_set_coalesce(&rdev->wiphy, coalesce); in rdev_set_coalesce()
1191 ret = rdev->ops->set_coalesce(&rdev->wiphy, coalesce); in rdev_set_coalesce()
/Linux-v4.19/drivers/scsi/bfa/
Dbfa_core.c1030 cfg_info->intr_attr.coalesce = BFA_TRUE; in bfa_iocfc_send_cfg()
1620 attr->intr_attr.coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_get_attr()
1639 iocfc->cfginfo->intr_attr.coalesce = attr->coalesce; in bfa_iocfc_israttr_set()
1652 m->coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_israttr_set()
Dbfi_ms.h129 u8 coalesce; /* enable intr coalescing */ member
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c214 .coalesce = xgene_enet_setup_coalescing,
Dxgene_enet_main.h188 void (*coalesce)(struct xgene_enet_desc_ring *); member
/Linux-v4.19/drivers/net/usb/
Dr8152.c740 u32 coalesce; member
2371 u32 ocp_data = tp->coalesce / 8; in r8153_set_rx_early_timeout()
4154 tp->coalesce = COALESCE_SUPER; in r8153_init()
4157 tp->coalesce = COALESCE_HIGH; in r8153_init()
4160 tp->coalesce = COALESCE_SLOW; in r8153_init()
4222 tp->coalesce = 15000; /* 15 us */ in r8153b_init()
4832 struct ethtool_coalesce *coalesce) in rtl8152_get_coalesce() argument
4845 coalesce->rx_coalesce_usecs = tp->coalesce; in rtl8152_get_coalesce()
4851 struct ethtool_coalesce *coalesce) in rtl8152_set_coalesce() argument
4865 if (coalesce->rx_coalesce_usecs > COALESCE_SLOW) in rtl8152_set_coalesce()
[all …]
/Linux-v4.19/drivers/net/ethernet/dlink/
Ddl2k.h390 unsigned int coalesce:1; /* Rx coalescing enable */ member
/Linux-v4.19/Documentation/fb/
Ddeferred_io.txt35 whether to coalesce and issue SG DMA or to do memory bursts.
/Linux-v4.19/Documentation/timers/
Dtimers-howto.txt85 free to coalesce your wakeup with any other wakeup
/Linux-v4.19/drivers/net/ethernet/amd/
Damd8111e.h808 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true }; variable
/Linux-v4.19/tools/perf/
Dbuiltin-c2c.c96 const char *coalesce; member
2675 static int setup_coalesce(const char *coalesce, bool no_source) in setup_coalesce() argument
2677 const char *c = coalesce ?: coalesce_default; in setup_coalesce()
2708 const char *coalesce = NULL; in perf_c2c__report() local
2733 OPT_STRING('c', "coalesce", &coalesce, "coalesce fields", in perf_c2c__report()
2759 err = setup_coalesce(coalesce, no_source); in perf_c2c__report()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1608 struct ethtool_coalesce *coalesce) in cxgb4vf_get_coalesce() argument
1614 coalesce->rx_coalesce_usecs = qtimer_val(adapter, rspq); in cxgb4vf_get_coalesce()
1615 coalesce->rx_max_coalesced_frames = in cxgb4vf_get_coalesce()
1628 struct ethtool_coalesce *coalesce) in cxgb4vf_set_coalesce() argument
1635 coalesce->rx_coalesce_usecs, in cxgb4vf_set_coalesce()
1636 coalesce->rx_max_coalesced_frames); in cxgb4vf_set_coalesce()

12