On Fri, May 17, 2019 at 05:47:07PM +0200, Maxime Coquelin wrote: > On 5/5/19 11:02 AM, Li Lin wrote: [...] > > /** > > * Device structure contains all configuration information relating > > * to the device. > > @@ -303,6 +314,7 @@ struct virtio_net { > > uint32_t nr_vring; > > int dequeue_zero_copy; > > struct vhost_virtqueue *virtqueue[VHOST_MAX_QUEUE_PAIRS * 2]; > > + struct inflight_mem_info inflight_info; > > #define IF_NAME_SZ (PATH_MAX > IFNAMSIZ ? PATH_MAX : IFNAMSIZ) > > char ifname[IF_NAME_SZ]; > > uint64_t log_size; > > Do you have some code example using these new APIs? > It would help for reviewing the patch.
+1