Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/sfc/
Dethtool.c590 struct ethtool_coalesce *coalesce) in efx_ethtool_get_coalesce() argument
598 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
599 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
600 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
601 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce()
602 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in efx_ethtool_get_coalesce()
608 struct ethtool_coalesce *coalesce) in efx_ethtool_set_coalesce() argument
616 if (coalesce->use_adaptive_tx_coalesce) in efx_ethtool_set_coalesce()
621 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
622 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
[all …]
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c327 bnad_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_get_coalesce() argument
334 coalesce->use_adaptive_rx_coalesce = in bnad_get_coalesce()
338 coalesce->rx_coalesce_usecs = bnad->rx_coalescing_timeo * in bnad_get_coalesce()
340 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce()
342 coalesce->tx_max_coalesced_frames = BFI_TX_INTERPKT_COUNT; in bnad_get_coalesce()
348 bnad_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_set_coalesce() argument
354 if (coalesce->rx_coalesce_usecs == 0 || in bnad_set_coalesce()
355 coalesce->rx_coalesce_usecs > in bnad_set_coalesce()
359 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce()
360 coalesce->tx_coalesce_usecs > in bnad_set_coalesce()
[all …]
/linux-4.1.27/net/wireless/
Dcore.c586 if (WARN_ON(wiphy->coalesce && in wiphy_register()
587 (!wiphy->coalesce->n_rules || in wiphy_register()
588 !wiphy->coalesce->n_patterns) && in wiphy_register()
589 (!wiphy->coalesce->pattern_min_len || in wiphy_register()
590 wiphy->coalesce->pattern_min_len > in wiphy_register()
591 wiphy->coalesce->pattern_max_len))) in wiphy_register()
Dnl80211.c1113 if (!rdev->wiphy.coalesce) in nl80211_send_coalesce()
1116 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
1117 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce()
1118 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
1119 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce()
1120 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce()
1121 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce()
9330 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
9337 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
9342 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules()
[all …]
Dcore.h88 struct cfg80211_coalesce *coalesce; member
/linux-4.1.27/net/core/
Dethtool.c1114 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_coalesce() local
1119 dev->ethtool_ops->get_coalesce(dev, &coalesce); in ethtool_get_coalesce()
1121 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce()
1129 struct ethtool_coalesce coalesce; in ethtool_set_coalesce() local
1134 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce()
1137 return dev->ethtool_ops->set_coalesce(dev, &coalesce); in ethtool_set_coalesce()
/linux-4.1.27/drivers/net/usb/
Dr8152.c611 u32 coalesce; member
2150 u32 ocp_data = tp->coalesce / 8; in r8153_set_rx_early_timeout()
3703 struct ethtool_coalesce *coalesce) in rtl8152_get_coalesce() argument
3715 coalesce->rx_coalesce_usecs = tp->coalesce; in rtl8152_get_coalesce()
3721 struct ethtool_coalesce *coalesce) in rtl8152_set_coalesce() argument
3734 if (coalesce->rx_coalesce_usecs > COALESCE_SLOW) in rtl8152_set_coalesce()
3743 if (tp->coalesce != coalesce->rx_coalesce_usecs) { in rtl8152_set_coalesce()
3744 tp->coalesce = coalesce->rx_coalesce_usecs; in rtl8152_set_coalesce()
4022 tp->coalesce = COALESCE_SUPER; in rtl8152_probe()
4025 tp->coalesce = COALESCE_HIGH; in rtl8152_probe()
[all …]
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_core.c1026 cfg_info->intr_attr.coalesce = BFA_TRUE; in bfa_iocfc_send_cfg()
1608 attr->intr_attr.coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_get_attr()
1627 iocfc->cfginfo->intr_attr.coalesce = attr->coalesce; in bfa_iocfc_israttr_set()
1640 m->coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_israttr_set()
Dbfi_ms.h128 u8 coalesce; /* enable intr coalescing */ member
Dbfa_defs_svc.h35 u8 coalesce; /* enable/disable coalescing */ member
/linux-4.1.27/drivers/net/ethernet/dlink/
Ddl2k.h384 unsigned int coalesce:1; /* Rx coalescing enable */ member
Ddl2k.c218 np->coalesce = 1; in rio_probe1()
285 if (np->coalesce) in rio_probe1()
441 if (np->coalesce) { in rio_open()
/linux-4.1.27/Documentation/networking/
Di40e.txt53 an evolution of the previously-used LRO interface. GRO is able to coalesce
Dpktgen.txt46 and the cleanup interval is affected by the ethtool --coalesce setting
Dixgbe.txt229 evolution of the previously-used LRO interface. GRO is able to coalesce
Dip-sysctl.txt209 we try to coalesce these small writes as much as possible, to lower
/linux-4.1.27/Documentation/fb/
Ddeferred_io.txt35 whether to coalesce and issue SG DMA or to do memory bursts.
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1434 struct ethtool_coalesce *coalesce) in cxgb4vf_get_coalesce() argument
1440 coalesce->rx_coalesce_usecs = qtimer_val(adapter, rspq); in cxgb4vf_get_coalesce()
1441 coalesce->rx_max_coalesced_frames = in cxgb4vf_get_coalesce()
1454 struct ethtool_coalesce *coalesce) in cxgb4vf_set_coalesce() argument
1461 coalesce->rx_coalesce_usecs, in cxgb4vf_set_coalesce()
1462 coalesce->rx_max_coalesced_frames); in cxgb4vf_set_coalesce()
/linux-4.1.27/Documentation/timers/
Dtimers-howto.txt85 free to coalesce your wakeup with any other wakeup
/linux-4.1.27/drivers/net/ethernet/amd/
Damd8111e.h808 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true }; variable
Damd8111e.c106 module_param_array(coalesce, bool, NULL, 0);
107 MODULE_PARM_DESC(coalesce, "Enable or Disable interrupt coalescing, 1: Enable, 0: Disable");
1866 if(coalesce[card_idx]) in amd8111e_probe_one()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dcfg80211.c3086 struct cfg80211_coalesce *coalesce) in mwifiex_cfg80211_set_coalesce() argument
3095 if (!coalesce) { in mwifiex_cfg80211_set_coalesce()
3103 coalesce_cfg.num_of_rules = coalesce->n_rules; in mwifiex_cfg80211_set_coalesce()
3104 for (i = 0; i < coalesce->n_rules; i++) { in mwifiex_cfg80211_set_coalesce()
3105 ret = mwifiex_fill_coalesce_rule_info(priv, &coalesce->rules[i], in mwifiex_cfg80211_set_coalesce()
3537 wiphy->coalesce = &mwifiex_coalesce_support; in mwifiex_register_cfg80211()
/linux-4.1.27/include/net/
Dcfg80211.h2689 struct cfg80211_coalesce *coalesce);
3227 const struct wiphy_coalesce_support *coalesce; member
/linux-4.1.27/net/ipv4/
Dtcp_output.c2845 coalesce: in tcp_send_fin()
2863 goto coalesce; in tcp_send_fin()
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic79xx.seq250 * to the host, always coalesce. Otherwise honor the
268 * If coalescing, only coalesce up to the limit
Daic79xx.reg3995 * The maximum number of commands to coalesce into a single interrupt.
/linux-4.1.27/Documentation/block/
Dbiodoc.txt441 unsigned short bi_phys_segments; /* segments after physaddr coalesce*/