ng,
> Cunming
> Subject: RE: [dpdk-dev] [PATCH v2 2/2] vhost: introduce async enqueue for
> split ring
>
> >
> > +#define VHOST_ASYNC_BATCH_THRESHOLD 8
> > +
>
> Not very clear about why batch number is 8. It is better to save it in
> rte_vhost_async_feature
>
> +#define VHOST_ASYNC_BATCH_THRESHOLD 8
> +
Not very clear about why batch number is 8. It is better to save it in
rte_vhost_async_features if the value come from hardware requirement.
> +
> +static __rte_noinline uint32_t
> +virtio_dev_rx_async_submit_split(struct virtio_net *dev,
> +
From: Patrick Fu
This patch implements async enqueue data path for split ring.
2 new async data path APIs are defined, by which applications
can submit and poll packets to/from async engines. The async
enqueue data leverages callback functions registered by
applications to work with the async eng
3 matches
Mail list logo