[dpdk-dev] [PATCH 2/4] net/virtio-user: fix the control vq support
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Jan 23 23:07:53 CET 2019
On 1/22/19 6:01 PM, Tiwei Bie wrote:
> This patch fixed below issues in the packed ring based control
> vq support in virtio user:
>
> 1. The idx_hdr should be used_idx instead of the id in the desc;
> 2. We just need to write out a single used descriptor for each
> descriptor list;
> 3. The avail/used bits should be initialized to 0;
>
> Meanwhile, make the function name consistent with other parts.
>
> Fixes: 48a4464029a7 ("net/virtio-user: support control VQ for packed")
>
> Signed-off-by: Tiwei Bie<tiwei.bie at intel.com>
> ---
> drivers/net/virtio/virtio_ethdev.c | 11 ++++++
> .../net/virtio/virtio_user/virtio_user_dev.c | 37 +++++++++++--------
> drivers/net/virtio/virtio_user_ethdev.c | 7 +---
> 3 files changed, 34 insertions(+), 21 deletions(-)
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list