[dpdk-dev] [PATCH] vhost: postpone ring addresses translations at kick time only

Yuanhan Liu yliu at fridaylinux.org
Mon Nov 6 12:58:52 CET 2017


On Fri, Nov 03, 2017 at 04:52:35PM +0100, Maxime Coquelin wrote:
> If multiple queue pairs are created but all are not used, the
> device is never started, as unused queues aren't enabled and
> their ring addresses aren't translated. The device is changed
> to running state when all rings addresses are translated.
> 
> This patch fixes this by postponning rings addresses translation
> at kick time unconditionnaly, VHOST_USER_F_PROTOCOL_FEATURES
> being negotiated or not.
> 
> Reported-by: Lei Yao <lei.a.yao at intel.com>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Acked-by: Yuanhan Liu <yliu at fridaylinux.org>

	--yliu


More information about the dev mailing list