| /linux/net/ethtool/ |
| H A D | coalesce.c | 13 struct ethtool_coalesce coalesce; member 75 ret = dev->ethtool_ops->get_coalesce(dev, &data->coalesce, in coalesce_prepare_data() 214 const struct ethtool_coalesce *coal = &data->coalesce; in coalesce_fill_reply() 516 struct ethtool_coalesce coalesce = {}; in __ethnl_set_coalesce() local 521 ret = dev->ethtool_ops->get_coalesce(dev, &coalesce, &kernel_coalesce, in __ethnl_set_coalesce() 527 ethnl_update_u32(&coalesce.rx_coalesce_usecs, in __ethnl_set_coalesce() 529 ethnl_update_u32(&coalesce.rx_max_coalesced_frames, in __ethnl_set_coalesce() 531 ethnl_update_u32(&coalesce.rx_coalesce_usecs_irq, in __ethnl_set_coalesce() 533 ethnl_update_u32(&coalesce.rx_max_coalesced_frames_irq, in __ethnl_set_coalesce() 535 ethnl_update_u32(&coalesce.tx_coalesce_usecs, in __ethnl_set_coalesce() [all …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad_ethtool.c | 311 struct ethtool_coalesce *coalesce, in bnad_get_coalesce() argument 320 coalesce->use_adaptive_rx_coalesce = in bnad_get_coalesce() 324 coalesce->rx_coalesce_usecs = bnad->rx_coalescing_timeo * in bnad_get_coalesce() 326 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce() 328 coalesce->tx_max_coalesced_frames = BFI_TX_INTERPKT_COUNT; in bnad_get_coalesce() 334 struct ethtool_coalesce *coalesce, in bnad_set_coalesce() argument 342 if (coalesce->rx_coalesce_usecs == 0 || in bnad_set_coalesce() 343 coalesce->rx_coalesce_usecs > in bnad_set_coalesce() 347 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce() 348 coalesce->tx_coalesce_usecs > in bnad_set_coalesce() [all …]
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 574 struct ethtool_coalesce *coalesce, in ef4_ethtool_get_coalesce() argument 584 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce() 585 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce() 586 coalesce->rx_coalesce_usecs = rx_usecs; in ef4_ethtool_get_coalesce() 587 coalesce->rx_coalesce_usecs_irq = rx_usecs; in ef4_ethtool_get_coalesce() 588 coalesce->use_adaptive_rx_coalesce = rx_adaptive; in ef4_ethtool_get_coalesce() 594 struct ethtool_coalesce *coalesce, in ef4_ethtool_set_coalesce() argument 606 if (coalesce->rx_coalesce_usecs != rx_usecs) in ef4_ethtool_set_coalesce() 607 rx_usecs = coalesce->rx_coalesce_usecs; in ef4_ethtool_set_coalesce() 609 rx_usecs = coalesce->rx_coalesce_usecs_irq; in ef4_ethtool_set_coalesce() [all …]
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| H A D | mcp251xfd-ram.c | 24 const u8 coalesce, u8 val) in can_ram_rounddown_pow_of_two() argument 31 if (coalesce) { in can_ram_rounddown_pow_of_two() 38 ret = min_t(u8, coalesce * 2, config->fifo_depth); in can_ram_rounddown_pow_of_two()
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | Makefile | 7 ethtool-coalesce.sh \
|
| H A D | ethtool-coalesce.sh | 20 if ! ethtool -h | grep -q coalesce; then
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | idpf.rst | 121 # ethtool --per-queue <ethX> queue_mask 0xa --coalesce adaptive-rx off 124 - To show the current coalesce settings for queues 1 and 3:: 126 # ethtool --per-queue <ethX> queue_mask 0xa --show-coalesce
|
| H A D | fm10k.rst | 94 evolution of the previously-used LRO interface. GRO is able to coalesce
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_l2.h | 440 u16 coalesce, struct qed_queue_cid *p_cid); 444 u16 coalesce, struct qed_queue_cid *p_cid);
|
| H A D | qed_l2.c | 2095 u32 coalesce, address, is_valid; in qed_get_rxq_coalesce() local 2113 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce() 2115 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce() 2119 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce() 2120 *p_rx_coal = (u16)(coalesce << timer_res); in qed_get_rxq_coalesce() 2129 u32 coalesce, address, is_valid; in qed_get_txq_coalesce() local 2147 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce() 2149 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce() 2153 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce() 2154 *p_tx_coal = (u16)(coalesce << timer_res); in qed_get_txq_coalesce()
|
| H A D | qed_dev.c | 4928 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_rxq_coalesce() argument 4936 if (coalesce <= 0x7F) { in qed_set_rxq_coalesce() 4938 } else if (coalesce <= 0xFF) { in qed_set_rxq_coalesce() 4940 } else if (coalesce <= 0x1FF) { in qed_set_rxq_coalesce() 4943 DP_ERR(p_hwfn, "Invalid coalesce value - %d\n", coalesce); in qed_set_rxq_coalesce() 4946 timeset = (u8)(coalesce >> timer_res); in qed_set_rxq_coalesce() 4967 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_txq_coalesce() argument 4975 if (coalesce <= 0x7F) { in qed_set_txq_coalesce() 4977 } else if (coalesce <= 0xFF) { in qed_set_txq_coalesce() 4979 } else if (coalesce <= 0x1FF) { in qed_set_txq_coalesce() [all …]
|
| /linux/arch/um/drivers/ |
| H A D | vector_kern.h | 109 int coalesce; member
|
| H A D | vector_kern.c | 1067 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit() 1488 ec->tx_coalesce_usecs = (vp->coalesce * 1000000) / HZ; in vector_get_coalesce() 1499 vp->coalesce = (ec->tx_coalesce_usecs * HZ) / 1000000; in vector_set_coalesce() 1500 if (vp->coalesce == 0) in vector_set_coalesce() 1501 vp->coalesce = 1; in vector_set_coalesce() 1639 vp->coalesce = 2; in vector_eth_configure()
|
| /linux/net/wireless/ |
| H A D | core.c | 813 if (WARN_ON(wiphy->coalesce && in wiphy_register() 814 (!wiphy->coalesce->n_rules || in wiphy_register() 815 !wiphy->coalesce->n_patterns) && in wiphy_register() 816 (!wiphy->coalesce->pattern_min_len || in wiphy_register() 817 wiphy->coalesce->pattern_min_len > in wiphy_register() 818 wiphy->coalesce->pattern_max_len))) in wiphy_register() 1228 cfg80211_free_coalesce(rdev->coalesce); in wiphy_unregister() 1229 rdev->coalesce = NULL; in wiphy_unregister()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 426 struct mlxbf_i2c_resource *coalesce; member 1683 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce() 1699 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce() 1702 ret = mlxbf_i2c_init_resource(pdev, &priv->coalesce, in mlxbf_i2c_init_coalesce() 1717 coalesce_res = priv->coalesce; in mlxbf_i2c_release_coalesce() 1784 coalesce0_reg = readl(priv->coalesce->io + MLXBF_I2C_CAUSE_COALESCE_0); in mlxbf_i2c_has_coalesce()
|
| /linux/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_ring2.c | 202 .coalesce = xgene_enet_setup_coalescing,
|
| H A D | xgene_enet_main.h | 176 void (*coalesce)(struct xgene_enet_desc_ring *); member
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_ethtool.c | 1154 struct ethtool_coalesce *coalesce, in set_coalesce() argument 1160 set_adaptive_rx_setting(dev, coalesce->use_adaptive_rx_coalesce); in set_coalesce() 1162 ret = set_rx_intr_params(dev, coalesce->rx_coalesce_usecs, in set_coalesce() 1163 coalesce->rx_max_coalesced_frames); in set_coalesce() 1168 coalesce->tx_coalesce_usecs_irq, in set_coalesce() 1169 coalesce->tx_coalesce_usecs); in set_coalesce()
|
| /linux/Documentation/fb/ |
| H A D | deferred_io.rst | 36 whether to coalesce and issue SG DMA or to do memory bursts.
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | cxgb4vf_main.c | 1654 struct ethtool_coalesce *coalesce, in cxgb4vf_get_coalesce() argument 1662 coalesce->rx_coalesce_usecs = qtimer_val(adapter, rspq); in cxgb4vf_get_coalesce() 1663 coalesce->rx_max_coalesced_frames = in cxgb4vf_get_coalesce() 1676 struct ethtool_coalesce *coalesce, in cxgb4vf_set_coalesce() argument 1685 coalesce->rx_coalesce_usecs, in cxgb4vf_set_coalesce() 1686 coalesce->rx_max_coalesced_frames); in cxgb4vf_set_coalesce()
|
| /linux/tools/perf/ |
| H A D | builtin-c2c.c | 114 const char *coalesce; member 3044 static int setup_coalesce(const char *coalesce, bool no_source) in setup_coalesce() argument 3046 const char *c = coalesce ?: coalesce_default; in setup_coalesce() 3088 const char *coalesce = NULL; in perf_c2c__report() local 3112 OPT_STRING('c', "coalesce", &coalesce, "coalesce fields", in perf_c2c__report() 3214 err = setup_coalesce(coalesce, no_source); in perf_c2c__report()
|
| /linux/drivers/net/usb/ |
| H A D | r8152.c | 942 u32 coalesce; member 3214 u32 ocp_data = tp->coalesce / 8; in r8153_set_rx_early_timeout() 7192 tp->coalesce = COALESCE_SUPER; in r8153_init() 7195 tp->coalesce = COALESCE_HIGH; in r8153_init() 7198 tp->coalesce = COALESCE_SLOW; in r8153_init() 7282 tp->coalesce = 15000; /* 15 us */ in r8153b_init() 7364 tp->coalesce = 15000; /* 15 us */ in r8153c_init() 8227 tp->coalesce = 15000; /* 15 us */ in r8156_init() 8357 tp->coalesce = 15000; /* 15 us */ in r8156b_init() 9061 struct ethtool_coalesce *coalesce, in rtl8152_get_coalesce() argument [all …]
|
| /linux/drivers/net/ethernet/amd/ |
| H A D | amd8111e.c | 92 module_param_array(coalesce, bool, NULL, 0); 93 MODULE_PARM_DESC(coalesce, "Enable or Disable interrupt coalescing, 1: Enable, 0: Disable"); 1817 if (coalesce[card_idx]) in amd8111e_probe_one()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfi_ms.h | 121 u8 coalesce; /* enable intr coalescing */ member
|
| /linux/drivers/net/ethernet/dlink/ |
| H A D | dl2k.c | 216 np->coalesce = 1; in rio_probe1() 287 if (np->coalesce) in rio_probe1() 592 if (np->coalesce) { in rio_hw_init()
|