Skip to content

eal: uevent overrun mitigation

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest4 patches 5 repliesIn review

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4eal/linux: filter uevent Netlink in kernel.mailmap lib/eal/linux/eal_dev.c+5 -41 reply
2/4eal/linux: increase uevent socket bufferlib/eal/linux/eal_dev.c+29 -01 reply
3/4eal/linux: report uevent socket overrunlib/eal/linux/eal_dev.c+14 -51 reply
4/4doc: add warning about control threadsdoc/guides/prog_guide/env_abstraction_layer.rst+14 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchLong Li
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] eal: uevent overrun mitigation

This set of patches is an extension of the proposed patch to handle netlink uevent socket overrun reported by Randy Tice. Mostly impacts users of Azure VF events (MLX5 and MANA).

DPDK uses netlink uevent to track hotplug events reported by the kernel. Since this is a one-way non-blocking channel there is no fool proof way to prevent missing events if DPDK interrupt thread does not keep up.

What this series does is:
- use netlink group to only receive events from kernel
- increase socket buffer to have more headroom
- report the problem more clearly in log
- document requirement for control threads

Stephen Hemminger (4):
eal/linux: filter uevent Netlink in kernel
eal/linux: increase uevent socket buffer
eal/linux: report uevent socket overrun
doc: add warning about control threads

 .mailmap                                      |  1 +
 .../prog_guide/env_abstraction_layer.rst      | 14 +++++
 lib/eal/linux/eal_dev.c                       | 56 ++++++++++++++++---
 3 files changed, 62 insertions(+), 9 deletions(-)
Signature · 1 line
2.53.0