Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c357 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/
Dbnad_ethtool.c312 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/
Dethtool.c580 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/
Dethtool.c602 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/
Dena_ethtool.c304 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/
Dqed_l2.h440 u16 coalesce, struct qed_queue_cid *p_cid);
444 u16 coalesce, struct qed_queue_cid *p_cid);
Dqed_l2.c2103 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()
Dqed_dev.c5001 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/
Dcxgb4_ethtool.c1080 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/
Dbfa_core.c1022 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()
Dbfi_ms.h121 u8 coalesce; /* enable intr coalescing */ member
Dbfa_defs_svc.h28 u8 coalesce; /* enable/disable coalescing */ member
/drivers/net/usb/
Dr8152.c776 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/
Dxgene_enet_ring2.c202 .coalesce = xgene_enet_setup_coalescing,
Dxgene_enet_main.h176 void (*coalesce)(struct xgene_enet_desc_ring *); member
Dxgene_enet_main.c1457 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/
Ddl2k.h387 unsigned int coalesce:1; /* Rx coalescing enable */ member
Ddl2k.c212 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/
Dcxgb4vf_main.c1653 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/
Damd8111e.h797 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true }; variable
Damd8111e.c93 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/
Dcfg80211.c3689 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/
Dhns_roce_device.h768 int coalesce; member
Dhns_roce_hw_v2.c5407 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/
Daic79xx.seq250 * to the host, always coalesce. Otherwise honor the
268 * If coalescing, only coalesce up to the limit

12