Displaying 2 results from an estimated 2 matches for "vhost_vdpa_net_cvq_cmd_page_len".
2023 Mar 06
0
[PATCH v4 12/15] vdpa: block migration if device has unsupported features
...t;> Thanks
> > >>>
> > >>>
> > >>>> + } else if (!is_datapath) {
> > >>>> s->cvq_cmd_out_buffer = qemu_memalign(qemu_real_host_page_size(),
> > >>>> vhost_vdpa_net_cvq_cmd_page_len());
> > >>>> memset(s->cvq_cmd_out_buffer, 0, vhost_vdpa_net_cvq_cmd_page_len());
> > >>>> @@ -956,7 +960,7 @@ int net_init_vhost_vdpa(const Netdev *netdev, const char *name,
> > >>>> for (i = 0; i < queue_pairs; i++) {
&...
2023 Mar 06
0
[PATCH v4 01/15] vdpa net: move iova tree creation from init to start
...>>> + v->iova_range.last);
> > >>> + }
> > >>> +
> > >>> r = vhost_vdpa_cvq_map_buf(&s->vhost_vdpa, s->cvq_cmd_out_buffer,
> > >>> vhost_vdpa_net_cvq_cmd_page_len(), false);
> > >>> if (unlikely(r < 0)) {
> > >>> @@ -449,15 +518,9 @@ static void vhost_vdpa_net_cvq_stop(NetClientState *nc)
> > >>> if (s->vhost_vdpa.shadow_vqs_enabled) {
> > >>> vhost_vdpa_cvq_unmap_buf(...