| /linux/net/ethtool/ |
| H A D | coalesce.c | 14 struct ethtool_coalesce coalesce; member 76 ret = dev->ethtool_ops->get_coalesce(dev, &data->coalesce, in coalesce_prepare_data() 217 const struct ethtool_coalesce *coal = &data->coalesce; in coalesce_fill_reply() 531 struct ethtool_coalesce coalesce = {}; in __ethnl_set_coalesce() local 536 ret = dev->ethtool_ops->get_coalesce(dev, &coalesce, &kernel_coalesce, in __ethnl_set_coalesce() 542 ethnl_update_u32(&coalesce.rx_coalesce_usecs, in __ethnl_set_coalesce() 544 ethnl_update_u32(&coalesce.rx_max_coalesced_frames, in __ethnl_set_coalesce() 546 ethnl_update_u32(&coalesce.rx_coalesce_usecs_irq, in __ethnl_set_coalesce() 548 ethnl_update_u32(&coalesce.rx_max_coalesced_frames_irq, in __ethnl_set_coalesce() 550 ethnl_update_u32(&coalesce.tx_coalesce_usecs, in __ethnl_set_coalesce() [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | |
| /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/ethernet/pensando/ionic/ |
| H A D | ionic_regs.h | 10 * @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/netdevsim/ |
| H A D | ethtool.c | 52 memcpy(coal, &ns->ethtool.coalesce, sizeof(ns->ethtool.coalesce)); in nsim_get_coalesce() 63 memcpy(&ns->ethtool.coalesce, coal, sizeof(ns->ethtool.coalesce)); in nsim_set_coalesce()
|
| /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/drivers/net/ethernet/intel/ice/ |
| H A D | ice_lib.c | 2993 * ice_vsi_rebuild_get_coalesce - get coalesce from all q_vectors in ice_vsi_rebuild_set_coalesce() 2995 * @coalesce: array of struct with stored coalesce in ice_vsi_rebuild_set_coalesce() 3001 struct ice_coalesce_stored *coalesce) in ice_vsi_rebuild_set_coalesce() 3008 coalesce[i].itr_tx = q_vector->tx.itr_settings; in ice_vsi_rebuild_set_coalesce() 3009 coalesce[i].itr_rx = q_vector->rx.itr_settings; in ice_vsi_rebuild_set_coalesce() 3010 coalesce[i].intrl = q_vector->intrl; in ice_vsi_rebuild_set_coalesce() 3013 coalesce[i].tx_valid = true; in ice_vsi_rebuild_set_coalesce() 3015 coalesce[i].rx_valid = true; in ice_vsi_rebuild_set_coalesce() 3022 * ice_vsi_rebuild_set_coalesce - set coalesce fro 2912 ice_vsi_rebuild_get_coalesce(struct ice_vsi * vsi,struct ice_coalesce_stored * coalesce) ice_vsi_rebuild_get_coalesce() argument 2944 ice_vsi_rebuild_set_coalesce(struct ice_vsi * vsi,struct ice_coalesce_stored * coalesce,int size) ice_vsi_rebuild_set_coalesce() argument 3089 struct ice_coalesce_stored *coalesce; ice_vsi_rebuild() local [all...] |
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_dev_api.h | 456 * 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 D | qed_vf.h | 691 * 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 D | qed_l2.h | 440 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 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
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 1328 * @ec: ethtool structure to fill with driver's coalesce settings 1350 * @ec: coalesce settings to program the device with 1351 * @q_num: update ITR/INTRL (coalesce) settings for this queue number/index 1393 * @ec: coalesce settings to be filled 1404 /* Return coalesce based on queue number zero */ in idpf_get_coalesce() 1412 * @ec: coalesce settings to be filled 1426 * @q_coal: per queue coalesce settings 1452 netdev_err(qv->vport->netdev, "Cannot set coalesce usecs if adaptive enabled\n"); in __idpf_set_q_coalesce() 1508 * @q_coal: per queue coalesce settings 1509 * @ec: coalesce settings to program the device with [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 546 * __iavf_get_coalesce - get per-queue coalesce settings 548 * @ec: ethtool coalesce data structure 587 * @ec: ethtool coalesce structure 605 * iavf_get_per_queue_coalesce - get coalesce values for specific queue 607 * @ec: coalesce settings from ethtool 610 * Read specific queue's coalesce settings. 621 * @ec: coalesce settings from ethtool 677 * __iavf_set_coalesce - set coalesce settings for particular queue 679 * @ec: ethtool coalesce settings 682 * Sets the coalesce settings for a particular queue. [all …]
|
| /linux/tools/net/ynl/pyynl/ |
| H A D | ethtool.py | |
| /linux/tools/net/ynl/tests/ |
| H A D | ethtool.py | 145 parser.add_argument('-c', '--show-coalesce', action=argparse.BooleanOptionalAction) 146 parser.add_argument('-C', '--set-coalesce', action=argparse.BooleanOptionalAction) 192 do_set(ynl, args, 'coalesce-set') 242 print_field(do_get(ynl, args, 'coalesce-get'))
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | ethtool-coalesce.sh | 20 if ! ethtool -h | grep -q coalesce; then 21 echo "SKIP: No --coalesce support in ethtool"
|
| H A D | Makefile | 7 ethtool-coalesce.sh \
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 136 /* Cause coalesce registers. */ 419 struct mlxbf_i2c_resource *coalesce; member 1659 * Unlike BlueField-1 platform, the coalesce registers is a dedicated in mlxbf_i2c_init_coalesce() 1669 * The Cause Coalesce group in TYU space is shared among in mlxbf_i2c_init_coalesce() 1677 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce() 1693 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce() 1696 ret = mlxbf_i2c_init_resource(pdev, &priv->coalesce, in mlxbf_i2c_init_coalesce() 1711 coalesce_res = priv->coalesce; in mlxbf_i2c_release_coalesce() 1754 /* Initialize the cause coalesce resource. */ in mlxbf_i2c_init_slave() 1757 dev_err(dev, "failed to initialize cause coalesce\ in mlxbf_i2c_init_slave() [all...] |
| /linux/net/wireless/ |
| H A D | core.c | 997 if (WARN_ON(wiphy->coalesce && in wiphy_register() 998 (!wiphy->coalesce->n_rules || in wiphy_register() 999 !wiphy->coalesce->n_patterns) && in wiphy_register() 1000 (!wiphy->coalesce->pattern_min_len || in wiphy_register() 1001 wiphy->coalesce->pattern_min_len > in wiphy_register() 1002 wiphy->coalesce->pattern_max_len))) in wiphy_register() 1430 cfg80211_free_coalesce(rdev->coalesce); in wiphy_rfkill_set_hw_state_reason() 1431 rdev->coalesce = NULL; in wiphy_rfkill_set_hw_state_reason()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | sdma_txreq.h | 74 /* private: - used in coalesce/pad processing */
|
| /linux/arch/um/drivers/ |
| H A D | vector_kern.h | 109 int coalesce; member
|
| /linux/tools/perf/ |
| H A D | builtin-c2c.c | 89 const char *coalesce; 2662 pr_err("The function view requires iaddr in --coalesce.\n"); in perf_c2c_cacheline_browser__title() 3187 static int setup_coalesce(const char *coalesce, bool no_source) in perf_c2c__report() 3189 const char *c = coalesce ?: coalesce_default; in perf_c2c__report() 3210 pr_debug("coalesce sort fields: %s\n", c2c.cl_sort); in perf_c2c__report() 3211 pr_debug("coalesce resort fields: %s\n", c2c.cl_resort); in perf_c2c__report() 3212 pr_debug("coalesce output fields: %s\n", c2c.cl_output); in perf_c2c__report() 3231 const char *coalesce = NULL; in perf_c2c__report() 3257 OPT_STRING('c', "coalesce", &coalesce, "coalesc in perf_c2c__report() 114 const char *coalesce; global() member 3044 setup_coalesce(const char * coalesce,bool no_source) setup_coalesce() argument 3088 const char *coalesce = NULL; perf_c2c__report() local [all...] |
| /linux/tools/testing/selftests/net/ |
| H A D | gro.sh | |
| /linux/Documentation/fb/ |
| H A D | deferred_io.rst | 36 whether to coalesce and issue SG DMA or to do memory bursts.
|