doc: vhost multi-queue reconnection known issue

Message ID 20200728013347.40746-1-xuan.ding@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Maxime Coquelin
Headers
Series doc: vhost multi-queue reconnection known issue |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/travis-robot success Travis build: passed

Commit Message

Ding, Xuan July 28, 2020, 1:33 a.m. UTC
  This patch added known issue for vhost multi-queue reconnection
with virtio-net/virtio-pmd.

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
---
 doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
  

Comments

Maxime Coquelin July 28, 2020, 1:46 p.m. UTC | #1
On 7/28/20 3:33 AM, Xuan Ding wrote:
> This patch added known issue for vhost multi-queue reconnection
> with virtio-net/virtio-pmd.
> 
> Signed-off-by: Xuan Ding <xuan.ding@intel.com>
> ---
>  doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
> index de0782136..3359cf063 100644
> --- a/doc/guides/rel_notes/known_issues.rst
> +++ b/doc/guides/rel_notes/known_issues.rst
> @@ -888,3 +888,24 @@ Unsuitable IOVA mode may be picked as the default
>  
>  **Driver/Module**:
>     ALL.
> +
> +Vhost multi-queue reconnection failed with QEMU version >= 4.2.0
> +-------------------------------------------------
> +
> +**Description**
> +   It's a QEMU regression bug (bad commit: c6beefd674ff). QEMU only saves
> +   acked features for one vhost-net when vhost quits. When vhost reconnects
> +   to virtio-net/virtio-pmd in multi-queue situations, the features been
> +   set multiple times are not consistent.
> +
> +**Implication**
> +   Vhost cannot reconnect back to virtio-net/virtio-pmd normally.
> +
> +**Resolution/Workaround**:
> +   It is possible to filter the incorrect acked features at vhost-user side.
> +
> +**Affected Environment/Platform**:
> +   ALL.
> +
> +**Driver/Module**:
> +   Virtual Device Poll Mode Driver (PMD).
> 

Thanks for documenting this Qemu issue.

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Maxime
  
Maxime Coquelin July 28, 2020, 3:52 p.m. UTC | #2
On 7/28/20 3:33 AM, Xuan Ding wrote:
> This patch added known issue for vhost multi-queue reconnection
> with virtio-net/virtio-pmd.
> 
> Signed-off-by: Xuan Ding <xuan.ding@intel.com>
> ---
>  doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)

Applied to dpdk-next-virtio/master

Thanks,
Maxime
  
Ferruh Yigit July 28, 2020, 5:40 p.m. UTC | #3
On 7/28/2020 2:33 AM, Xuan Ding wrote:
> This patch added known issue for vhost multi-queue reconnection
> with virtio-net/virtio-pmd.
> 
> Signed-off-by: Xuan Ding <xuan.ding@intel.com>
> ---
>  doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
> index de0782136..3359cf063 100644
> --- a/doc/guides/rel_notes/known_issues.rst
> +++ b/doc/guides/rel_notes/known_issues.rst
> @@ -888,3 +888,24 @@ Unsuitable IOVA mode may be picked as the default
>  
>  **Driver/Module**:
>     ALL.
> +
> +Vhost multi-queue reconnection failed with QEMU version >= 4.2.0
> +-------------------------------------------------

Getting a format warning [1], will fix while merging.

[1]: known_issues.rst:893: WARNING: Title underline too short.
  
Ding, Xuan July 29, 2020, 1:29 a.m. UTC | #4
Hi Ferruh,

Thank you  for your comments and fix.

Regards,
Xuan

-----Original Message-----
From: Ferruh Yigit <ferruh.yigit@intel.com> 
Sent: Wednesday, July 29, 2020 1:40 AM
To: Ding, Xuan <xuan.ding@intel.com>; maxime.coquelin@redhat.com; Wang, Zhihong <zhihong.wang@intel.com>; Xia, Chenbo <chenbo.xia@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] doc: vhost multi-queue reconnection known issue

On 7/28/2020 2:33 AM, Xuan Ding wrote:
> This patch added known issue for vhost multi-queue reconnection
> with virtio-net/virtio-pmd.
> 
> Signed-off-by: Xuan Ding <xuan.ding@intel.com>
> ---
>  doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
> index de0782136..3359cf063 100644
> --- a/doc/guides/rel_notes/known_issues.rst
> +++ b/doc/guides/rel_notes/known_issues.rst
> @@ -888,3 +888,24 @@ Unsuitable IOVA mode may be picked as the default
>  
>  **Driver/Module**:
>     ALL.
> +
> +Vhost multi-queue reconnection failed with QEMU version >= 4.2.0
> +-------------------------------------------------

Getting a format warning [1], will fix while merging.

[1]: known_issues.rst:893: WARNING: Title underline too short.
  

Patch

diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index de0782136..3359cf063 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -888,3 +888,24 @@  Unsuitable IOVA mode may be picked as the default
 
 **Driver/Module**:
    ALL.
+
+Vhost multi-queue reconnection failed with QEMU version >= 4.2.0
+-------------------------------------------------
+
+**Description**
+   It's a QEMU regression bug (bad commit: c6beefd674ff). QEMU only saves
+   acked features for one vhost-net when vhost quits. When vhost reconnects
+   to virtio-net/virtio-pmd in multi-queue situations, the features been
+   set multiple times are not consistent.
+
+**Implication**
+   Vhost cannot reconnect back to virtio-net/virtio-pmd normally.
+
+**Resolution/Workaround**:
+   It is possible to filter the incorrect acked features at vhost-user side.
+
+**Affected Environment/Platform**:
+   ALL.
+
+**Driver/Module**:
+   Virtual Device Poll Mode Driver (PMD).