Re: [dpdk-dev] [PATCH v2] net/virtio-user: fix advertising of protocol features
From: Maxime Coquelin <hidden>
Date: 2021-01-08 09:15:38
From: Maxime Coquelin <hidden>
Date: 2021-01-08 09:15:38
On 12/18/20 2:23 PM, Olivier Matz wrote:
When connected to a vhost-user backend, the flag
VHOST_USER_F_PROTOCOL_FEATURES is not advertised, preventing to do
multiqueue (the VHOST_USER_PROTOCOL_F_MQ protocol feature is ignored by
some backends if the VHOST_USER_F_PROTOCOL_FEATURES feature is not set).
When setting vhost-user features, advertise this flag if it was
advertised by our peer.
Fixes: 8e7561054ac7 ("net/virtio: support vhost-user protocol features")
Cc: stable@dpdk.org
Suggested-by: Maxime Coquelin <redacted>
Signed-off-by: Olivier Matz <redacted>
---
v2
* fix obvious fallthrough case, sorry for the noise
drivers/net/virtio/virtio_user/vhost_user.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)Series applied to dpdk-next-virtio/main. Thanks, Maxime