OSDN Git Service

vdpa: add net_vhost_vdpa_cvq_info NetClientInfo
authorEugenio Pérez <eperezma@redhat.com>
Tue, 23 Aug 2022 18:30:32 +0000 (20:30 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 2 Sep 2022 02:22:39 +0000 (10:22 +0800)
commitf8972b56eeace10a410990f032406250abe18d64
treeb3bfc7b837e723ac385a21dfb63af902b45d484f
parentc5e5269d8a955a0f924218911c2f4a0b34e87a21
vdpa: add net_vhost_vdpa_cvq_info NetClientInfo

Next patches will add a new info callback to restore NIC status through
CVQ. Since only the CVQ vhost device is needed, create it with a new
NetClientInfo.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/vhost-vdpa.c