Re: [dpdk-dev] [PATCH v6] eal: fix: read data buffer on RTE_INTR_HANDLE_VFIO_REQ

2021-11-08 Thread David Marchand
On Tue, Oct 19, 2021 at 1:52 PM David Marchand wrote: > On Tue, Oct 19, 2021 at 12:42 PM Maciej Szwed wrote: > > > > We should call read() on RTE_INTR_HANDLE_VFIO_REQ event > > to confirm that event. > > Fixes: 0eb8a1c4c786 ("vfio: add request notifier interrupt") Cc: sta...@dpdk.org > > Signed-

Re: [dpdk-dev] [PATCH v6] eal: fix: read data buffer on RTE_INTR_HANDLE_VFIO_REQ

2021-10-19 Thread David Marchand
On Tue, Oct 19, 2021 at 12:42 PM Maciej Szwed wrote: > > We should call read() on RTE_INTR_HANDLE_VFIO_REQ event > to confirm that event. It looks like a fix for: Fixes: 0eb8a1c4c786 ("vfio: add request notifier interrupt") This fix probably qualifies for backport, but this code has been like th

[dpdk-dev] [PATCH v6] eal: fix: read data buffer on RTE_INTR_HANDLE_VFIO_REQ

2021-10-19 Thread Maciej Szwed
We should call read() on RTE_INTR_HANDLE_VFIO_REQ event to confirm that event. Signed-off-by: Maciej Szwed --- lib/eal/linux/eal_interrupts.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/eal/linux/eal_interrupts.c b/lib/eal/linux/eal_interrupts.c index 22b3b7b