https://github.com/torvalds/linux
Revision df727d4547de568302b0ed15b0d4e8a469bdb456 authored by Rasmus Villemoes on 23 November 2022, 13:38:52 UTC, committed by David S. Miller on 25 November 2022, 09:37:40 UTC
Currently, when a FEC device is brought up, the irq coalesce settings
are reset to their default values (1000us, 200 frames). That's
unexpected, and breaks for example use of an appropriate .link file to
make systemd-udev apply the desired
settings (https://www.freedesktop.org/software/systemd/man/systemd.link.html),
or any other method that would do a one-time setup during early boot.

Refactor the code so that fec_restart() instead uses
fec_enet_itr_coal_set(), which simply applies the settings that are
stored in the private data, and initialize that private data with the
default values.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 32b931c
History
Tip revision: df727d4547de568302b0ed15b0d4e8a469bdb456 authored by Rasmus Villemoes on 23 November 2022, 13:38:52 UTC
net: fec: don't reset irq coalesce settings to defaults on "ip link up"
Tip revision: df727d4
File Mode Size
bridge
display
i2c
ttm
amd_asic_type.h -rw-r--r-- 2.2 KB
drm_aperture.h -rw-r--r-- 1.1 KB
drm_atomic.h -rw-r--r-- 41.3 KB
drm_atomic_helper.h -rw-r--r-- 9.8 KB
drm_atomic_state_helper.h -rw-r--r-- 4.2 KB
drm_atomic_uapi.h -rw-r--r-- 2.1 KB
drm_audio_component.h -rw-r--r-- 3.8 KB
drm_auth.h -rw-r--r-- 4.6 KB
drm_blend.h -rw-r--r-- 2.4 KB
drm_bridge.h -rw-r--r-- 34.7 KB
drm_bridge_connector.h -rw-r--r-- 548 bytes
drm_buddy.h -rw-r--r-- 4.1 KB
drm_cache.h -rw-r--r-- 3.3 KB
drm_client.h -rw-r--r-- 4.9 KB
drm_color_mgmt.h -rw-r--r-- 3.8 KB
drm_connector.h -rw-r--r-- 59.6 KB
drm_crtc.h -rw-r--r-- 44.8 KB
drm_crtc_helper.h -rw-r--r-- 2.4 KB
drm_damage_helper.h -rw-r--r-- 3.3 KB
drm_debugfs.h -rw-r--r-- 3.4 KB
drm_debugfs_crc.h -rw-r--r-- 2.7 KB
drm_device.h -rw-r--r-- 8.5 KB
drm_displayid.h -rw-r--r-- 4.8 KB
drm_drv.h -rw-r--r-- 19.0 KB
drm_edid.h -rw-r--r-- 19.8 KB
drm_encoder.h -rw-r--r-- 10.8 KB
drm_encoder_slave.h -rw-r--r-- 6.5 KB
drm_fb_dma_helper.h -rw-r--r-- 575 bytes
drm_fb_helper.h -rw-r--r-- 12.7 KB
drm_file.h -rw-r--r-- 11.9 KB
drm_fixed.h -rw-r--r-- 4.7 KB
drm_flip_work.h -rw-r--r-- 3.0 KB
drm_format_helper.h -rw-r--r-- 2.4 KB
drm_fourcc.h -rw-r--r-- 9.9 KB
drm_framebuffer.h -rw-r--r-- 10.4 KB
drm_gem.h -rw-r--r-- 13.1 KB
drm_gem_atomic_helper.h -rw-r--r-- 5.3 KB
drm_gem_dma_helper.h -rw-r--r-- 9.5 KB
drm_gem_framebuffer_helper.h -rw-r--r-- 1.9 KB
drm_gem_shmem_helper.h -rw-r--r-- 8.4 KB
drm_gem_ttm_helper.h -rw-r--r-- 861 bytes
drm_gem_vram_helper.h -rw-r--r-- 6.1 KB
drm_ioctl.h -rw-r--r-- 6.2 KB
drm_lease.h -rw-r--r-- 1010 bytes
drm_legacy.h -rw-r--r-- 9.4 KB
drm_managed.h -rw-r--r-- 3.4 KB
drm_mipi_dbi.h -rw-r--r-- 5.2 KB
drm_mipi_dsi.h -rw-r--r-- 11.7 KB
drm_mm.h -rw-r--r-- 17.5 KB
drm_mode_config.h -rw-r--r-- 32.8 KB
drm_mode_object.h -rw-r--r-- 5.5 KB
drm_modes.h -rw-r--r-- 19.3 KB
drm_modeset_helper.h -rw-r--r-- 1.8 KB
drm_modeset_helper_vtables.h -rw-r--r-- 56.0 KB
drm_modeset_lock.h -rw-r--r-- 7.1 KB
drm_module.h -rw-r--r-- 3.7 KB
drm_of.h -rw-r--r-- 4.9 KB
drm_panel.h -rw-r--r-- 6.6 KB
drm_pciids.h -rw-r--r-- 66.5 KB
drm_plane.h -rw-r--r-- 30.1 KB
drm_plane_helper.h -rw-r--r-- 2.3 KB
drm_prime.h -rw-r--r-- 4.1 KB
drm_print.h -rw-r--r-- 19.0 KB
drm_privacy_screen_consumer.h -rw-r--r-- 1.9 KB
drm_privacy_screen_driver.h -rw-r--r-- 3.0 KB
drm_privacy_screen_machine.h -rw-r--r-- 1.3 KB
drm_probe_helper.h -rw-r--r-- 1.4 KB
drm_property.h -rw-r--r-- 11.8 KB
drm_rect.h -rw-r--r-- 7.2 KB
drm_self_refresh_helper.h -rw-r--r-- 594 bytes
drm_simple_kms_helper.h -rw-r--r-- 8.9 KB
drm_syncobj.h -rw-r--r-- 3.9 KB
drm_sysfs.h -rw-r--r-- 515 bytes
drm_util.h -rw-r--r-- 2.6 KB
drm_utils.h -rw-r--r-- 504 bytes
drm_vblank.h -rw-r--r-- 9.0 KB
drm_vblank_work.h -rw-r--r-- 1.9 KB
drm_vma_manager.h -rw-r--r-- 8.1 KB
drm_writeback.h -rw-r--r-- 4.4 KB
gma_drm.h -rw-r--r-- 413 bytes
gpu_scheduler.h -rw-r--r-- 18.2 KB
gud.h -rw-r--r-- 11.7 KB
i915_component.h -rw-r--r-- 1.8 KB
i915_drm.h -rw-r--r-- 3.6 KB
i915_mei_hdcp_interface.h -rw-r--r-- 5.8 KB
i915_pciids.h -rw-r--r-- 23.5 KB
i915_pxp_tee_interface.h -rw-r--r-- 1.0 KB
intel-gtt.h -rw-r--r-- 1015 bytes
intel_lpe_audio.h -rw-r--r-- 1.7 KB
spsc_queue.h -rw-r--r-- 3.1 KB
task_barrier.h -rw-r--r-- 2.9 KB

back to top