RE: [EXTERNAL] [PATCH v5 0/4] eal: uevent overrun mitigation

Long Li <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <SA1PR21MB6683111D3B9BC1F0AB2F0352CEA42@SA1PR21MB6683.namprd21.prod.outlook.com>
> 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

I tested the patch series for MANA. The test passed.

> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.