diff options
author | 2021-09-09 09:37:38 +0300 | |
---|---|---|
committer | 2021-09-14 18:10:43 -0400 | |
commit | 759be8993b1b40e05b8908583336b8e230e67b08 (patch) | |
tree | 9558cc954ec8d299513315a374b2061d4fd2240f /include/linux/fpga/fpga-mgr.h | |
parent | vdpa/mlx5: Clear ready indication for control VQ (diff) | |
download | linux-dev-759be8993b1b40e05b8908583336b8e230e67b08.tar.xz linux-dev-759be8993b1b40e05b8908583336b8e230e67b08.zip |
vdpa/mlx5: Avoid executing set_vq_ready() if device is reset
Avoid executing set_vq_ready() if the device has been reset. In such
case, the features are cleared and cannot be used in conditional
statements. Such reference happens is the function ctrl_vq_idx().
Fixes: 52893733f2c5 ("vdpa/mlx5: Add multiqueue support")
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210909063738.46970-1-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions