Patch have merged into the DPDK main branch.
Verified PASSED.
OS: Ubuntu 22.04.1 LTS/Linux 5.15.45-051545-generic
NIC hardware: Intel Ethernet Controller XL710 for 40GbE QSFP+ 1583
Driver/NIC firmware: i40e-2.22.8/firmware-version: 9.10 0x8000d01e 1.3295.0
commit be26e898ffb3a1719c88bf025d45a847d3a60ffc
Author: Maxime Coquelin <maxime.coquelin@redhat.com>
Date: Fri Feb 17 13:31:19 2023 +0100
net/virtio-user: fix vhost-kernel initialization
This patch fixes a regression causing devices with
Vhost-kernel backends initialization to fail.
Indeed, Vhost-kernel backend init expects
dev->max_queue_pairs to be set at setup time, while its
assignment was moved after backend setup when adding
control queue support for Vhost-vdpa backends.
It is safe to set dev->max_queue_pairs early for
Vhost-kernel backends as if the backend does not support
multiqueue, its setup will fail.
Bugzilla ID: 1161
Fixes: 7be724856315 ("net/virtio-user: get max number of queue pairs from
device")
Reported-by: Wei Ling <weix.ling@intel.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>