[dpdk-dev] [PATCH] vhost: postpone ring addresses translations at kick time only
Thomas Monjalon
thomas at monjalon.net
Tue Nov 7 02:28:09 CET 2017
06/11/2017 12:58, Yuanhan Liu:
> 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>
Applied, thanks
More information about the dev
mailing list