vdpa: rename vhost_vdpa_net_load to vhost_vdpa_net_cvq_load
Next patches will add the corresponding data load. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20230822085330.3978829-4-eperezma@redhat.com> Tested-by: Lei Yang <leiyang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d7ce084176
commit
f3fada598c
@ -1013,7 +1013,7 @@ static int vhost_vdpa_net_load_vlan(VhostVDPAState *s,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int vhost_vdpa_net_load(NetClientState *nc)
|
static int vhost_vdpa_net_cvq_load(NetClientState *nc)
|
||||||
{
|
{
|
||||||
VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc);
|
VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc);
|
||||||
struct vhost_vdpa *v = &s->vhost_vdpa;
|
struct vhost_vdpa *v = &s->vhost_vdpa;
|
||||||
@ -1056,7 +1056,7 @@ static NetClientInfo net_vhost_vdpa_cvq_info = {
|
|||||||
.size = sizeof(VhostVDPAState),
|
.size = sizeof(VhostVDPAState),
|
||||||
.receive = vhost_vdpa_receive,
|
.receive = vhost_vdpa_receive,
|
||||||
.start = vhost_vdpa_net_cvq_start,
|
.start = vhost_vdpa_net_cvq_start,
|
||||||
.load = vhost_vdpa_net_load,
|
.load = vhost_vdpa_net_cvq_load,
|
||||||
.stop = vhost_vdpa_net_cvq_stop,
|
.stop = vhost_vdpa_net_cvq_stop,
|
||||||
.cleanup = vhost_vdpa_cleanup,
|
.cleanup = vhost_vdpa_cleanup,
|
||||||
.has_vnet_hdr = vhost_vdpa_has_vnet_hdr,
|
.has_vnet_hdr = vhost_vdpa_has_vnet_hdr,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user