linux/drivers/vdpa
Alvaro Karsz 3f3a1675b7 vdpa/snet: support getting and setting VQ state
This patch adds the get_vq_state and set_vq_state vDPA callbacks.

In order to get the VQ state, the state needs to be read from the DPU.
In order to allow that, the old messaging mechanism is replaced with a new,
flexible control mechanism.
This mechanism allows to read data from the DPU.

The mechanism can be used if the negotiated config version is 2 or
higher.

If the new mechanism is used when the config version is 1, it will call
snet_send_ctrl_msg_old, which is config 1 compatible.

Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Message-Id: <20230413073337.31367-2-alvaro.karsz@solid-run.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2023-04-21 03:02:34 -04:00
..
alibaba vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
ifcvf vDPA/ifcvf: implement features provisioning 2023-02-20 19:26:55 -05:00
mlx5 vdpa/mlx5: Extend driver support for new features 2023-04-21 03:02:31 -04:00
solidrun vdpa/snet: support getting and setting VQ state 2023-04-21 03:02:34 -04:00
vdpa_sim vdpa_sim: add support for user VA 2023-04-21 03:02:34 -04:00
vdpa_user vduse: Support specifying bounce buffer size via sysfs 2023-04-21 03:02:32 -04:00
virtio_pci vp_vdpa: fix the crash in hot unplug with vp_vdpa 2023-03-10 03:48:27 -05:00
Kconfig virtio: vdpa: new SolidNET DPU driver. 2023-02-20 19:26:56 -05:00
Makefile virtio: vdpa: new SolidNET DPU driver. 2023-02-20 19:26:56 -05:00
vdpa.c vdpa: validate device feature provisioning against supported class 2023-02-20 19:27:00 -05:00