Home
last modified time | relevance | path

Searched full:coalesce (Results 1 – 25 of 142) sorted by relevance

123456

/linux/net/ethtool/
H A Dcoalesce.c13 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 …]
H A Dioctl.c2088 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_coalesce() local
2095 ret = dev->ethtool_ops->get_coalesce(dev, &coalesce, &kernel_coalesce, in ethtool_get_coalesce()
2100 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce()
2107 struct ethtool_coalesce *coalesce) in ethtool_set_coalesce_supported() argument
2112 if (coalesce->rx_coalesce_usecs) in ethtool_set_coalesce_supported()
2114 if (coalesce->rx_max_coalesced_frames) in ethtool_set_coalesce_supported()
2116 if (coalesce->rx_coalesce_usecs_irq) in ethtool_set_coalesce_supported()
2118 if (coalesce->rx_max_coalesced_frames_irq) in ethtool_set_coalesce_supported()
2120 if (coalesce->tx_coalesce_usecs) in ethtool_set_coalesce_supported()
2122 if (coalesce->tx_max_coalesced_frames) in ethtool_set_coalesce_supported()
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c8 * sequence numbers coalesce. The one exception being the last data
12 * Pure ACK does not coalesce.
18 * different TCP header options shouldn't coalesce. Nit: given that
23 * ip fragments (ipv6) shouldn't coalesce.
25 * Packets larger than GRO_MAX_SIZE packets shouldn't coalesce.
31 * may not coalesce all of the packets.
384 * legal IP datagram length, do not coalesce
404 /* Pure acks and dup acks don't coalesce */
515 /* Packets with invalid checksum don't coalesce. */
530 /* Packets with non-consecutive sequence number don't coalesce.*/
[all …]
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c311 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 Dethtool.c574 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/ethernet/pensando/ionic/
H A Dionic_regs.h10 * @coal_init: coalesce timer initial value.
14 * @coal: coalesce timer time remaining.
41 * @IONIC_INTR_CRED_RESET_COALESCE: reset the coalesce timer.
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ram.c24 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/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev_api.h456 * qed_get_queue_coalesce(): Retrieve coalesce value for a given queue.
459 * @coal: Store coalesce value read from the hardware.
467 * qed_set_queue_coalesce(): Configure coalesce parameters for Rx and
475 * @rx_coal: Rx Coalesce value in micro seconds.
476 * @tx_coal: TX Coalesce value in micro seconds.
H A Dqed_vf.h691 * qed_vf_pf_set_coalesce(): VF - Set Rx/Tx coalesce per VF's relative queue.
692 * Coalesce value '0' will omit the
696 * @rx_coal: coalesce value in micro second for rx queue.
697 * @tx_coal: coalesce value in micro second for tx queue.
708 * qed_vf_pf_get_coalesce(): VF - Get coalesce per VF's relative queue.
711 * @p_coal: coalesce value in micro second for VF queues.
H A Dqed_l2.c2095 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 Dqed_l2.h440 u16 coalesce, struct qed_queue_cid *p_cid);
444 u16 coalesce, struct qed_queue_cid *p_cid);
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Didpf.rst121 # 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
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c1334 * @ec: ethtool structure to fill with driver's coalesce settings
1356 * @ec: coalesce settings to program the device with
1357 * @q_num: update ITR/INTRL (coalesce) settings for this queue number/index
1397 * @ec: coalesce settings to be filled
1408 /* Return coalesce based on queue number zero */ in idpf_get_coalesce()
1416 * @ec: coalesce settings to be filled
1430 * @q_coal: per queue coalesce settings
1456 netdev_err(qv->vport->netdev, "Cannot set coalesce usecs if adaptive enabled\n"); in __idpf_set_q_coalesce()
1512 * @q_coal: per queue coalesce settings
1513 * @ec: coalesce settings to program the device with
[all …]
/linux/tools/net/ynl/pyynl/
H A Dethtool.py137 parser.add_argument('-c', '--show-coalesce', action=argparse.BooleanOptionalAction)
138 parser.add_argument('-C', '--set-coalesce', action=argparse.BooleanOptionalAction)
178 return doit(ynl, args, 'coalesce-set')
225 print_field(dumpit(ynl, args, 'coalesce-get'))
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-coalesce.sh20 if ! ethtool -h | grep -q coalesce; then
21 echo "SKIP: No --coalesce support in ethtool"
H A DMakefile7 ethtool-coalesce.sh \
/linux/tools/perf/Documentation/
H A Dperf-c2c.txt94 --coalesce::
97 (see COALESCE)
308 COALESCE
/linux/include/uapi/linux/
H A Dwireguard.h
/linux/drivers/i2c/busses/
H A Di2c-mlxbf.c137 /* Cause coalesce registers. */
426 struct mlxbf_i2c_resource *coalesce; member
1665 * Unlike BlueField-1 platform, the coalesce registers is a dedicated in mlxbf_i2c_init_coalesce()
1675 * The Cause Coalesce group in TYU space is shared among in mlxbf_i2c_init_coalesce()
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()
1760 /* Initialize the cause coalesce resource. */ in mlxbf_i2c_init_slave()
1763 dev_err(dev, "failed to initialize cause coalesce\n"); in mlxbf_i2c_init_slave()
[all …]
/linux/net/wireless/
H A Dcore.c813 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/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c780 DP_INFO(edev, "Read Rx coalesce error\n"); in qede_get_coalesce()
802 DP_INFO(edev, "Read Tx coalesce error\n"); in qede_get_coalesce()
845 "Can't support requested %s coalesce value [max supported value %d]\n", in qede_set_coalesce()
862 "Set RX coalesce error, rc = %d\n", rc); in qede_set_coalesce()
883 "Set TX coalesce error, rc = %d\n", rc); in qede_set_coalesce()
2152 "Can't support requested %s coalesce value [max supported value %d]\n", in qede_set_per_coalesce()
2182 "Set RX coalesce error, rc = %d\n", rc); in qede_set_per_coalesce()
2195 "Set TX coalesce error, rc = %d\n", rc); in qede_set_per_coalesce()
2242 DP_INFO(edev, "Read Rx coalesce error\n"); in qede_get_per_coalesce()
2253 DP_INFO(edev, "Read Tx coalesce error\n"); in qede_get_per_coalesce()
/linux/drivers/infiniband/hw/hfi1/
H A Dsdma_txreq.h74 /* private: - used in coalesce/pad processing */
/linux/arch/um/drivers/
H A Dvector_kern.h109 int coalesce; member
/linux/tools/perf/
H A Dbuiltin-c2c.c114 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()
3067 pr_debug("coalesce sort fields: %s\n", c2c.cl_sort); in setup_coalesce()
3068 pr_debug("coalesce resort fields: %s\n", c2c.cl_resort); in setup_coalesce()
3069 pr_debug("coalesce output fields: %s\n", c2c.cl_output); 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()
3113 "coalesce fields: pid,tid,iaddr,dso"), in perf_c2c__report()
3214 err = setup_coalesce(coalesce, no_source); in perf_c2c__report()
/linux/tools/testing/selftests/net/
H A Dgro.sh

123456