/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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() 318 coalesce->rx_coalesce_usecs = in ena_get_coalesce() 322 coalesce->use_adaptive_rx_coalesce = in ena_get_coalesce() 351 struct ethtool_coalesce *coalesce) in ena_set_coalesce() argument 363 coalesce->tx_coalesce_usecs); in ena_set_coalesce() 370 coalesce->rx_coalesce_usecs); in ena_set_coalesce() 376 if (coalesce->use_adaptive_rx_coalesce && in ena_set_coalesce() 380 if (!coalesce->use_adaptive_rx_coalesce && in ena_set_coalesce()
|
/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 …]
|
/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()
|
/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()
|
D | bfi_ms.h | 121 u8 coalesce; /* enable intr coalescing */ member
|
D | bfa_defs_svc.h | 28 u8 coalesce; /* enable/disable coalescing */ member
|
/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 …]
|
/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
|
D | xgene_enet_main.c | 1457 if (pdata->ring_ops->coalesce) in xgene_enet_create_desc_rings() 1458 pdata->ring_ops->coalesce(pdata->tx_ring[0]); in xgene_enet_create_desc_rings()
|
/drivers/net/ethernet/dlink/ |
D | dl2k.h | 387 unsigned int coalesce:1; /* Rx coalescing enable */ member
|
D | dl2k.c | 212 np->coalesce = 1; in rio_probe1() 281 if (np->coalesce) in rio_probe1() 577 if (np->coalesce) { in rio_hw_init()
|
/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()
|
/drivers/net/ethernet/amd/ |
D | amd8111e.h | 797 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true }; variable
|
D | amd8111e.c | 93 module_param_array(coalesce, bool, NULL, 0); 94 MODULE_PARM_DESC(coalesce, "Enable or Disable interrupt coalescing, 1: Enable, 0: Disable"); 1828 if(coalesce[card_idx]) in amd8111e_probe_one()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 3689 struct cfg80211_coalesce *coalesce) in mwifiex_cfg80211_set_coalesce() argument 3698 if (!coalesce) { in mwifiex_cfg80211_set_coalesce() 3706 coalesce_cfg.num_of_rules = coalesce->n_rules; in mwifiex_cfg80211_set_coalesce() 3707 for (i = 0; i < coalesce->n_rules; i++) { in mwifiex_cfg80211_set_coalesce() 3708 ret = mwifiex_fill_coalesce_rule_info(priv, &coalesce->rules[i], in mwifiex_cfg80211_set_coalesce() 4375 wiphy->coalesce = &mwifiex_coalesce_support; in mwifiex_register_cfg80211()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_device.h | 768 int coalesce; member
|
D | hns_roce_hw_v2.c | 5407 eq->coalesce = HNS_ROCE_V2_EQ_COALESCE_0; in hns_roce_config_eqc() 5437 HNS_ROCE_EQC_COALESCE_S, eq->coalesce); in hns_roce_config_eqc()
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.seq | 250 * to the host, always coalesce. Otherwise honor the 268 * If coalescing, only coalesce up to the limit
|