Revision 92214be5979c0961a471b7eaaaeacab41bdf456c authored by Rahul Rameshbabu on 14 November 2023, 21:58:42 UTC, committed by Jakub Kicinski on 16 November 2023, 06:34:31 UTC
Previously, mlx5e_ptp_poll_ts_cq would update the device doorbell with the
incremented consumer index after the relevant software counters in the
kernel were updated. In the mlx5e_sq_xmit_wqe context, this would lead to
either overrunning the device CQ or exceeding the expected software buffer
size in the device CQ if the device CQ size was greater than the software
buffer size. Update the relevant software counter only after updating the
device CQ consumer index in the port timestamping napi_poll context.

Log:
    mlx5_core 0000:08:00.0: cq_err_event_notifier:517:(pid 0): CQ error on CQN 0x487, syndrome 0x1
    mlx5_core 0000:08:00.0 eth2: mlx5e_cq_error_event: cqn=0x000487 event=0x04

Fixes: 1880bc4e4a96 ("net/mlx5e: Add TX port timestamp support")
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20231114215846.5902-12-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 7e3f3ba
History
File Mode Size
bridge
display
i2c
ttm
amd_asic_type.h -rw-r--r-- 2.3 KB
drm_accel.h -rw-r--r-- 2.5 KB
drm_aperture.h -rw-r--r-- 1.1 KB
drm_atomic.h -rw-r--r-- 41.6 KB
drm_atomic_helper.h -rw-r--r-- 10.7 KB
drm_atomic_state_helper.h -rw-r--r-- 4.4 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-- 33.7 KB
drm_bridge_connector.h -rw-r--r-- 405 bytes
drm_buddy.h -rw-r--r-- 4.2 KB
drm_cache.h -rw-r--r-- 3.3 KB
drm_client.h -rw-r--r-- 5.0 KB
drm_color_mgmt.h -rw-r--r-- 3.8 KB
drm_connector.h -rw-r--r-- 65.0 KB
drm_crtc.h -rw-r--r-- 44.5 KB
drm_crtc_helper.h -rw-r--r-- 2.5 KB
drm_damage_helper.h -rw-r--r-- 3.3 KB
drm_debugfs.h -rw-r--r-- 5.7 KB
drm_debugfs_crc.h -rw-r--r-- 2.7 KB
drm_device.h -rw-r--r-- 9.0 KB
drm_displayid.h -rw-r--r-- 5.0 KB
drm_drv.h -rw-r--r-- 18.3 KB
drm_edid.h -rw-r--r-- 20.1 KB
drm_encoder.h -rw-r--r-- 10.8 KB
drm_encoder_slave.h -rw-r--r-- 6.5 KB
drm_exec.h -rw-r--r-- 4.3 KB
drm_fb_dma_helper.h -rw-r--r-- 575 bytes
drm_fb_helper.h -rw-r--r-- 11.7 KB
drm_fbdev_dma.h -rw-r--r-- 333 bytes
drm_fbdev_generic.h -rw-r--r-- 349 bytes
drm_file.h -rw-r--r-- 13.7 KB
drm_fixed.h -rw-r--r-- 4.9 KB
drm_flip_work.h -rw-r--r-- 3.0 KB
drm_format_helper.h -rw-r--r-- 3.2 KB
drm_fourcc.h -rw-r--r-- 9.9 KB
drm_framebuffer.h -rw-r--r-- 10.2 KB
drm_gem.h -rw-r--r-- 17.9 KB
drm_gem_atomic_helper.h -rw-r--r-- 5.2 KB
drm_gem_dma_helper.h -rw-r--r-- 9.3 KB
drm_gem_framebuffer_helper.h -rw-r--r-- 1.9 KB
drm_gem_shmem_helper.h -rw-r--r-- 7.9 KB
drm_gem_ttm_helper.h -rw-r--r-- 822 bytes
drm_gem_vram_helper.h -rw-r--r-- 6.1 KB
drm_gpuvm.h -rw-r--r-- 19.3 KB
drm_ioctl.h -rw-r--r-- 6.2 KB
drm_kunit_helpers.h -rw-r--r-- 3.3 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.9 KB
drm_mipi_dbi.h -rw-r--r-- 6.8 KB
drm_mipi_dsi.h -rw-r--r-- 13.1 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.9 KB
drm_modeset_helper.h -rw-r--r-- 1.8 KB
drm_modeset_helper_vtables.h -rw-r--r-- 58.9 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-- 5.2 KB
drm_panel.h -rw-r--r-- 8.9 KB
drm_pciids.h -rw-r--r-- 61.0 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-- 3.8 KB
drm_print.h -rw-r--r-- 18.8 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.6 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-- 9.5 KB
drm_suballoc.h -rw-r--r-- 2.7 KB
drm_syncobj.h -rw-r--r-- 4.0 KB
drm_sysfs.h -rw-r--r-- 512 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.1 KB
drm_vblank_work.h -rw-r--r-- 1.9 KB
drm_vma_manager.h -rw-r--r-- 8.2 KB
drm_writeback.h -rw-r--r-- 4.4 KB
gma_drm.h -rw-r--r-- 413 bytes
gpu_scheduler.h -rw-r--r-- 19.8 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_gsc_proxy_mei_interface.h -rw-r--r-- 1.5 KB
i915_hdcp_interface.h -rw-r--r-- 16.2 KB
i915_pciids.h -rw-r--r-- 23.7 KB
i915_pxp_tee_interface.h -rw-r--r-- 1.3 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-- 3.0 KB

back to top