linux-stable/drivers/vdpa/ifcvf
Eli Cohen 23750e39d5 vdpa: Modify get_vq_state() to return error code
Modify get_vq_state() so it returns an error code. In case of hardware
acceleration, the available index may be retrieved from the device, an
operation that can possibly fail.

Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Link: https://lore.kernel.org/r/20200804162048.22587-9-eli@mellanox.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2020-08-05 19:00:23 -04:00
..
ifcvf_base.c net/vdpa: Use struct for set/get vq state 2020-08-05 18:39:19 -04:00
ifcvf_base.h net/vdpa: Use struct for set/get vq state 2020-08-05 18:39:19 -04:00
ifcvf_main.c vdpa: Modify get_vq_state() to return error code 2020-08-05 19:00:23 -04:00
Makefile