[dpdk-dev] [PATCH] vdpa/mlx5: fix event setup
Thomas Monjalon
thomas at monjalon.net
Tue Feb 25 10:46:53 CET 2020
25/02/2020 09:43, Matan Azrad:
> The completion event mechanism should work only if at least one of the
> virtqs has valid callfd to be notified on.
>
> When all the virtqs works with poll mode, the event mechanism should not
> be configured.
>
> The driver didn't take it into account and crashed in the above case.
>
> Do not configure event interrupt when all the virtqs are in poll mode.
>
> Fixes: 8395927cdfaf ("vdpa/mlx5: prepare HW queues")
>
> Signed-off-by: Matan Azrad <matan at mellanox.com>
Applied, thanks
Note: there is no regression risk because it is fixing a new driver.
More information about the dev
mailing list