RE: [PATCH] net/mlx5: fix FD configuration for Rx interrupt

2022-03-14 Thread Matan Azrad
From: David Marchand > On Thu, Mar 10, 2022 at 6:04 PM Michael Baum > wrote: > > > > # strace -r -f ./dpdk-dir/v21.11/examples/dpdk-l3fwd-power > > > > --lcores > > > > 0@3,1@5 -a :82:00.0 --in-memory -- -p 0x1 -P --config '(0,0,1)' > > > > ... > > > > [pid 534983] 0.000348 epoll_wait(2

Re: [PATCH] net/mlx5: fix FD configuration for Rx interrupt

2022-03-14 Thread David Marchand
On Thu, Mar 10, 2022 at 6:04 PM Michael Baum wrote: > > > # strace -r -f ./dpdk-dir/v21.11/examples/dpdk-l3fwd-power --lcores > > > 0@3,1@5 -a :82:00.0 --in-memory -- -p 0x1 -P --config '(0,0,1)' > > > ... > > > [pid 534983] 0.000348 epoll_wait(26, [], 1, 10) = 0 > > > [pid 534983] 0

RE: [PATCH] net/mlx5: fix FD configuration for Rx interrupt

2022-03-10 Thread Michael Baum
On Thu, Mar 10, 2022 at 6:16 PM Thomas Monjalon wrote: > > 10/03/2022 16:12, David Marchand: > > On Thu, Mar 10, 2022 at 2:19 PM Michael Baum > wrote: > > > > > > The mlx5_rx_intr_vec_enable() function allocates queue vector and > > > fill FD list for Rx interrupts. > > > > > > The driver wrong

Re: [PATCH] net/mlx5: fix FD configuration for Rx interrupt

2022-03-10 Thread Thomas Monjalon
10/03/2022 16:12, David Marchand: > On Thu, Mar 10, 2022 at 2:19 PM Michael Baum wrote: > > > > The mlx5_rx_intr_vec_enable() function allocates queue vector and fill > > FD list for Rx interrupts. > > > > The driver wrongly configured the FD with a non-blocking flag which > > prevent waiting on t

Re: [PATCH] net/mlx5: fix FD configuration for Rx interrupt

2022-03-10 Thread David Marchand
On Thu, Mar 10, 2022 at 2:19 PM Michael Baum wrote: > > The mlx5_rx_intr_vec_enable() function allocates queue vector and fill > FD list for Rx interrupts. > > The driver wrongly configured the FD with a non-blocking flag which > prevent waiting on this FD. > > This patch removes O_NONBLOCK flag a

[PATCH] net/mlx5: fix FD configuration for Rx interrupt

2022-03-10 Thread Michael Baum
The mlx5_rx_intr_vec_enable() function allocates queue vector and fill FD list for Rx interrupts. The driver wrongly configured the FD with a non-blocking flag which prevent waiting on this FD. This patch removes O_NONBLOCK flag adding. Fixes: 3c7d44af252a ("net/mlx5: support user space Rx inter