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(-)

-- 
2.53.0

Reply via email to