RFC Interrupts API update
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 posting 2/25 patches 2 repliesApplied
- v4 RFC Latest5 patches 2 repliesIn review
- v3 RFC5 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 RFC posting 1/2 | 3 patches | 0 replies | Superseded | |
| v1 RFC | 4 patches | 7 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | vdpa/mlx5: fix check on err interrupt FDdrivers/ | +3 | 1 reply | |
| 2/5 | eal/freebsd: fix a FD leak in the alarm subsystemlib/ | +6 | 1 reply | |
| 3/5 | interrupts: mark file descriptors invalid on allocationapp/ doc/ drivers/ +13 more | +24 | 0 replies | |
| 4/5 | interrupts: close interrupt FDsapp/ doc/ drivers/ +12 more | +147 | 0 replies | |
| 5/5 | interrupts: warn on leaked file descriptorsapp/ drivers/ drivers/ +10 more | +35 | 0 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Bruce Richardson | Dariusz Sosnowski |
|---|---|---|
| 1/5 | A-b | |
| 2/5 | A-b | |
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC v4 0/5] Interrupts API update
This series is a simple cleanup to have a simpler helper that close all FD reference in an interrupt handle.
It helped catch one small FD leak in FreeBSD EAL.
This should make life (a bit) easier on driver side and help limit FD leaks.
Signature · 53 lines
David Marchand Changes since RFC v3: - fixed FreeBSD compilation, Changes since RFC v2: - added unit test for the new API, - caught some FD leak by code review, - split patch 3 from v2 in two, and added one debug check (see patch 5), Changes since RFC v1: - squashed FreeBSD PCI change, - updated interrupt unit test, David Marchand (5): vdpa/mlx5: fix check on err interrupt FD eal/freebsd: fix a FD leak in the alarm subsystem interrupts: mark file descriptors invalid on allocation interrupts: close interrupt FDs interrupts: warn on leaked file descriptors app/test/test_interrupts.c | 89 ++++++++++++++++++- doc/guides/rel_notes/release_26_11.rst | 7 ++ drivers/bus/cdx/cdx_vfio.c | 16 ++-- drivers/bus/pci/bsd/pci.c | 7 +- drivers/bus/pci/linux/pci_uio.c | 15 +--- drivers/bus/pci/linux/pci_vfio.c | 29 ++---- drivers/bus/pci/pci_common_uio.c | 18 +--- drivers/bus/vmbus/linux/vmbus_uio.c | 13 +-- drivers/bus/vmbus/vmbus_common_uio.c | 17 +--- drivers/common/cnxk/roc_platform.h | 2 + drivers/common/mlx5/linux/mlx5_common_os.c | 6 +- drivers/net/failsafe/failsafe.c | 3 - drivers/net/mana/mana.c | 5 +- drivers/net/memif/memif_socket.c | 13 +-- drivers/net/memif/rte_eth_memif.c | 6 -- drivers/net/mlx4/mlx4.c | 3 - drivers/net/mlx4/mlx4_intr.c | 1 + drivers/net/sxe2/sxe2_irq.c | 5 +- drivers/net/tap/rte_eth_tap.c | 2 +- .../net/virtio/virtio_user/virtio_user_dev.c | 2 + drivers/raw/cnxk_gpio/cnxk_gpio.c | 3 + drivers/vdpa/mlx5/mlx5_vdpa_event.c | 6 +- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 1 + lib/eal/common/eal_common_interrupts.c | 35 ++++++++ lib/eal/freebsd/eal_alarm.c | 9 +- lib/eal/include/rte_interrupts.h | 29 ++++++ lib/eal/linux/eal_dev.c | 9 +- 27 files changed, 212 insertions(+), 139 deletions(-) -- 2.54.0