vdpa/snet: implement kick_vq_with_data callback
authorAlvaro Karsz <alvaro.karsz@solid-run.com>
Mon, 17 Apr 2023 08:38:53 +0000 (11:38 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 21 Apr 2023 07:02:35 +0000 (03:02 -0400)
commit51b6e6c1c8e382c50fe88a04e25d326ceff74f89
tree82eff9d424fb529413bc56589d736c4e76144ae6
parent2c4e4a22a3b090e06191f8544d21e0e1d72ce518
vdpa/snet: implement kick_vq_with_data callback

Implement the kick_vq_with_data vDPA callback.
On kick, we pass the next available data to the DPU by writing it in
the kick offset.

Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Message-Id: <20230417083853.375076-1-alvaro.karsz@solid-run.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/solidrun/snet_main.c