| /Linux-v5.4/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_ethtool.c | 357 struct ethtool_coalesce *coalesce) in ionic_get_coalesce() argument 362 coalesce->tx_coalesce_usecs = lif->rx_coalesce_usecs; in ionic_get_coalesce() 363 coalesce->rx_coalesce_usecs = lif->rx_coalesce_usecs; in ionic_get_coalesce() 369 struct ethtool_coalesce *coalesce) in ionic_set_coalesce() argument 378 if (coalesce->rx_max_coalesced_frames || in ionic_set_coalesce() 379 coalesce->rx_coalesce_usecs_irq || in ionic_set_coalesce() 380 coalesce->rx_max_coalesced_frames_irq || in ionic_set_coalesce() 381 coalesce->tx_max_coalesced_frames || in ionic_set_coalesce() 382 coalesce->tx_coalesce_usecs_irq || in ionic_set_coalesce() 383 coalesce->tx_max_coalesced_frames_irq || in ionic_set_coalesce() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
| D | bnad_ethtool.c | 312 bnad_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_get_coalesce() argument 319 coalesce->use_adaptive_rx_coalesce = in bnad_get_coalesce() 323 coalesce->rx_coalesce_usecs = bnad->rx_coalescing_timeo * in bnad_get_coalesce() 325 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce() 327 coalesce->tx_max_coalesced_frames = BFI_TX_INTERPKT_COUNT; in bnad_get_coalesce() 333 bnad_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_set_coalesce() argument 339 if (coalesce->rx_coalesce_usecs == 0 || in bnad_set_coalesce() 340 coalesce->rx_coalesce_usecs > in bnad_set_coalesce() 344 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce() 345 coalesce->tx_coalesce_usecs > in bnad_set_coalesce() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
| D | ethtool.c | 580 struct ethtool_coalesce *coalesce) in ef4_ethtool_get_coalesce() argument 588 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce() 589 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce() 590 coalesce->rx_coalesce_usecs = rx_usecs; in ef4_ethtool_get_coalesce() 591 coalesce->rx_coalesce_usecs_irq = rx_usecs; in ef4_ethtool_get_coalesce() 592 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in ef4_ethtool_get_coalesce() 598 struct ethtool_coalesce *coalesce) in ef4_ethtool_set_coalesce() argument 606 if (coalesce->use_adaptive_tx_coalesce) in ef4_ethtool_set_coalesce() 611 if (coalesce->rx_coalesce_usecs != rx_usecs) in ef4_ethtool_set_coalesce() 612 rx_usecs = coalesce->rx_coalesce_usecs; in ef4_ethtool_set_coalesce() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | ethtool.c | 602 struct ethtool_coalesce *coalesce) in efx_ethtool_get_coalesce() argument 610 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce() 611 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce() 612 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce() 613 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce() 614 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in efx_ethtool_get_coalesce() 620 struct ethtool_coalesce *coalesce) in efx_ethtool_set_coalesce() argument 628 if (coalesce->use_adaptive_tx_coalesce) in efx_ethtool_set_coalesce() 633 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce() 634 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/amazon/ena/ |
| D | ena_ethtool.c | 304 struct ethtool_coalesce *coalesce) in ena_get_coalesce() argument 314 coalesce->tx_coalesce_usecs = in ena_get_coalesce() 319 coalesce->rx_coalesce_usecs = in ena_get_coalesce() 323 coalesce->use_adaptive_rx_coalesce = in ena_get_coalesce() 352 struct ethtool_coalesce *coalesce) in ena_set_coalesce() argument 364 coalesce->tx_coalesce_usecs); in ena_set_coalesce() 370 if (coalesce->use_adaptive_rx_coalesce) { in ena_set_coalesce() 377 coalesce->rx_coalesce_usecs); in ena_set_coalesce() 383 if (!coalesce->use_adaptive_rx_coalesce) { in ena_set_coalesce()
|
| /Linux-v5.4/net/core/ |
| D | ethtool.c | 1603 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_coalesce() local 1608 dev->ethtool_ops->get_coalesce(dev, &coalesce); in ethtool_get_coalesce() 1610 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce() 1618 struct ethtool_coalesce coalesce; in ethtool_set_coalesce() local 1623 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce() 1626 return dev->ethtool_ops->set_coalesce(dev, &coalesce); in ethtool_set_coalesce() 2357 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_per_queue_coalesce() local 2359 ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, &coalesce); in ethtool_get_per_queue_coalesce() 2362 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_per_queue_coalesce() 2364 useraddr += sizeof(coalesce); in ethtool_get_per_queue_coalesce() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
| D | qed_l2.h | 440 u16 coalesce, struct qed_queue_cid *p_cid); 444 u16 coalesce, struct qed_queue_cid *p_cid);
|
| D | qed_l2.c | 2103 u32 coalesce, address, is_valid; in qed_get_rxq_coalesce() local 2120 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce() 2122 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce() 2126 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce() 2127 *p_rx_coal = (u16)(coalesce << timer_res); in qed_get_rxq_coalesce() 2136 u32 coalesce, address, is_valid; in qed_get_txq_coalesce() local 2153 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce() 2155 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce() 2159 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce() 2160 *p_tx_coal = (u16)(coalesce << timer_res); in qed_get_txq_coalesce()
|
| D | qed_dev.c | 5001 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_rxq_coalesce() argument 5009 if (coalesce <= 0x7F) { in qed_set_rxq_coalesce() 5011 } else if (coalesce <= 0xFF) { in qed_set_rxq_coalesce() 5013 } else if (coalesce <= 0x1FF) { in qed_set_rxq_coalesce() 5016 DP_ERR(p_hwfn, "Invalid coalesce value - %d\n", coalesce); in qed_set_rxq_coalesce() 5019 timeset = (u8)(coalesce >> timer_res); in qed_set_rxq_coalesce() 5040 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_txq_coalesce() argument 5048 if (coalesce <= 0x7F) { in qed_set_txq_coalesce() 5050 } else if (coalesce <= 0xFF) { in qed_set_txq_coalesce() 5052 } else if (coalesce <= 0x1FF) { in qed_set_txq_coalesce() [all …]
|
| /Linux-v5.4/arch/um/drivers/ |
| D | vector_kern.h | 103 int coalesce; member
|
| D | vector_kern.c | 1075 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit() 1402 ec->tx_coalesce_usecs = (vp->coalesce * 1000000) / HZ; in vector_get_coalesce() 1411 vp->coalesce = (ec->tx_coalesce_usecs * HZ) / 1000000; in vector_set_coalesce() 1412 if (vp->coalesce == 0) in vector_set_coalesce() 1413 vp->coalesce = 1; in vector_set_coalesce() 1529 .coalesce = 2, in vector_eth_configure()
|
| /Linux-v5.4/net/wireless/ |
| D | core.c | 733 if (WARN_ON(wiphy->coalesce && in wiphy_register() 734 (!wiphy->coalesce->n_rules || in wiphy_register() 735 !wiphy->coalesce->n_patterns) && in wiphy_register() 736 (!wiphy->coalesce->pattern_min_len || in wiphy_register() 737 wiphy->coalesce->pattern_min_len > in wiphy_register() 738 wiphy->coalesce->pattern_max_len))) in wiphy_register()
|
| D | nl80211.c | 1517 if (!rdev->wiphy.coalesce) in nl80211_send_coalesce() 1520 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce() 1521 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce() 1522 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce() 1523 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce() 1524 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce() 1525 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce() 11762 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules() 11769 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules() 11774 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_ethtool.c | 1080 struct ethtool_coalesce *coalesce) in set_coalesce() argument 1084 set_adaptive_rx_setting(dev, coalesce->use_adaptive_rx_coalesce); in set_coalesce() 1086 ret = set_rx_intr_params(dev, coalesce->rx_coalesce_usecs, in set_coalesce() 1087 coalesce->rx_max_coalesced_frames); in set_coalesce() 1092 coalesce->tx_coalesce_usecs_irq, in set_coalesce() 1093 coalesce->tx_coalesce_usecs); in set_coalesce()
|
| /Linux-v5.4/drivers/scsi/bfa/ |
| D | bfa_core.c | 1022 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-v5.4/drivers/net/ethernet/apm/xgene/ |
| D | xgene_enet_ring2.c | 202 .coalesce = xgene_enet_setup_coalescing,
|
| D | xgene_enet_main.h | 176 void (*coalesce)(struct xgene_enet_desc_ring *); member
|
| /Linux-v5.4/drivers/net/ethernet/dlink/ |
| D | dl2k.h | 387 unsigned int coalesce:1; /* Rx coalescing enable */ member
|
| /Linux-v5.4/drivers/net/usb/ |
| D | r8152.c | 776 u32 coalesce; member 2605 u32 ocp_data = tp->coalesce / 8; in r8153_set_rx_early_timeout() 4470 tp->coalesce = COALESCE_SUPER; in r8153_init() 4473 tp->coalesce = COALESCE_HIGH; in r8153_init() 4476 tp->coalesce = COALESCE_SLOW; in r8153_init() 4538 tp->coalesce = 15000; /* 15 us */ in r8153b_init() 5149 struct ethtool_coalesce *coalesce) in rtl8152_get_coalesce() argument 5162 coalesce->rx_coalesce_usecs = tp->coalesce; in rtl8152_get_coalesce() 5168 struct ethtool_coalesce *coalesce) in rtl8152_set_coalesce() argument 5182 if (coalesce->rx_coalesce_usecs > COALESCE_SLOW) in rtl8152_set_coalesce() [all …]
|
| /Linux-v5.4/Documentation/fb/ |
| D | deferred_io.rst | 36 whether to coalesce and issue SG DMA or to do memory bursts.
|
| /Linux-v5.4/drivers/net/ethernet/amd/ |
| D | amd8111e.h | 797 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true }; variable
|
| /Linux-v5.4/Documentation/timers/ |
| D | timers-howto.rst | 92 free to coalesce your wakeup with any other wakeup
|
| /Linux-v5.4/tools/perf/ |
| D | builtin-c2c.c | 105 const char *coalesce; member 2692 static int setup_coalesce(const char *coalesce, bool no_source) in setup_coalesce() argument 2694 const char *c = coalesce ?: coalesce_default; in setup_coalesce() 2725 const char *coalesce = NULL; in perf_c2c__report() local 2750 OPT_STRING('c', "coalesce", &coalesce, "coalesce fields", in perf_c2c__report() 2776 err = setup_coalesce(coalesce, no_source); in perf_c2c__report()
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
| D | cxgb4vf_main.c | 1653 struct ethtool_coalesce *coalesce) in cxgb4vf_get_coalesce() argument 1659 coalesce->rx_coalesce_usecs = qtimer_val(adapter, rspq); in cxgb4vf_get_coalesce() 1660 coalesce->rx_max_coalesced_frames = in cxgb4vf_get_coalesce() 1673 struct ethtool_coalesce *coalesce) in cxgb4vf_set_coalesce() argument 1680 coalesce->rx_coalesce_usecs, in cxgb4vf_set_coalesce() 1681 coalesce->rx_max_coalesced_frames); in cxgb4vf_set_coalesce()
|
| /Linux-v5.4/Documentation/networking/device_drivers/intel/ |
| D | fm10k.rst | 94 evolution of the previously-used LRO interface. GRO is able to coalesce
|