Home
last modified time | relevance | path

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

/net/ethtool/
Dcoalesce.c12 struct ethtool_coalesce coalesce; member
75 ret = dev->ethtool_ops->get_coalesce(dev, &data->coalesce, in coalesce_prepare_data()
133 const struct ethtool_coalesce *coal = &data->coalesce; in coalesce_fill_reply()
235 struct ethtool_coalesce coalesce = {}; in ethnl_set_coalesce() local
271 ret = ops->get_coalesce(dev, &coalesce, &kernel_coalesce, in ethnl_set_coalesce()
276 ethnl_update_u32(&coalesce.rx_coalesce_usecs, in ethnl_set_coalesce()
278 ethnl_update_u32(&coalesce.rx_max_coalesced_frames, in ethnl_set_coalesce()
280 ethnl_update_u32(&coalesce.rx_coalesce_usecs_irq, in ethnl_set_coalesce()
282 ethnl_update_u32(&coalesce.rx_max_coalesced_frames_irq, in ethnl_set_coalesce()
284 ethnl_update_u32(&coalesce.tx_coalesce_usecs, in ethnl_set_coalesce()
[all …]
Dioctl.c1621 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_coalesce() local
1628 ret = dev->ethtool_ops->get_coalesce(dev, &coalesce, &kernel_coalesce, in ethtool_get_coalesce()
1633 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce()
1640 struct ethtool_coalesce *coalesce) in ethtool_set_coalesce_supported() argument
1645 if (coalesce->rx_coalesce_usecs) in ethtool_set_coalesce_supported()
1647 if (coalesce->rx_max_coalesced_frames) in ethtool_set_coalesce_supported()
1649 if (coalesce->rx_coalesce_usecs_irq) in ethtool_set_coalesce_supported()
1651 if (coalesce->rx_max_coalesced_frames_irq) in ethtool_set_coalesce_supported()
1653 if (coalesce->tx_coalesce_usecs) in ethtool_set_coalesce_supported()
1655 if (coalesce->tx_max_coalesced_frames) in ethtool_set_coalesce_supported()
[all …]
DMakefile9 channels.o coalesce.o pause.o eee.o tsinfo.o cabletest.o \
/net/wireless/
Dcore.c749 if (WARN_ON(wiphy->coalesce && in wiphy_register()
750 (!wiphy->coalesce->n_rules || in wiphy_register()
751 !wiphy->coalesce->n_patterns) && in wiphy_register()
752 (!wiphy->coalesce->pattern_min_len || in wiphy_register()
753 wiphy->coalesce->pattern_min_len > in wiphy_register()
754 wiphy->coalesce->pattern_max_len))) in wiphy_register()
Dnl80211.c1789 if (!rdev->wiphy.coalesce) in nl80211_send_coalesce()
1792 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
1793 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce()
1794 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
1795 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce()
1796 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce()
1797 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce()
13602 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules()
13609 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules()
13614 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules()
[all …]
Drdev-ops.h1227 struct cfg80211_coalesce *coalesce) in rdev_set_coalesce() argument
1231 trace_rdev_set_coalesce(&rdev->wiphy, coalesce); in rdev_set_coalesce()
1233 ret = rdev->ops->set_coalesce(&rdev->wiphy, coalesce); in rdev_set_coalesce()
Dcore.h95 struct cfg80211_coalesce *coalesce; member
Dtrace.h2592 TP_PROTO(struct wiphy *wiphy, struct cfg80211_coalesce *coalesce),
2593 TP_ARGS(wiphy, coalesce),
2600 __entry->n_rules = coalesce ? coalesce->n_rules : 0;