[ovs-dev] [PATCH v1] INSTALL.DPDK: Update vhost multiqueue instructions.

Daniele Di Proietto diproiettod at ovn.org
Wed Jul 6 22:43:33 UTC 2016


I applied this to branch-2.5, thanks

2016-07-04 1:10 GMT-07:00 Bodireddy, Bhanuprakash <
bhanuprakash.bodireddy at intel.com>:

> >-----Original Message-----
> >From: Stokes, Ian
> >Sent: Wednesday, June 29, 2016 2:32 PM
> >To: dev at openvswitch.org
> >Cc: Bodireddy, Bhanuprakash <bhanuprakash.bodireddy at intel.com>
> >Subject: RE: [PATCH v1] INSTALL.DPDK: Update vhost multiqueue
> instructions.
> >
> >Hi All,
> >
> >Just a gentle reminder as regards this patch.
> >
> >Bhanu has a new documentation patch for INSTALL.DPDK, maybe it should be
> >added as part of that?
>
> I have captured the vhost multiqueue instructions below in the ADVANCED
> install guide of version 8 patch below.
> http://openvswitch.org/pipermail/dev/2016-July/074375.html
>
> Regards,
> Bhanu Prakash.
>
> >
> >Is there value in back porting this patch to OVS 2.5 though?
> >
> >Thanks
> >Ian
> >
> >> -----Original Message-----
> >> From: Stokes, Ian
> >> Sent: Tuesday, June 14, 2016 4:02 PM
> >> To: dev at openvswitch.org
> >> Cc: Stokes, Ian
> >> Subject: [PATCH v1] INSTALL.DPDK: Update vhost multiqueue instructions.
> >>
> >> Add details regarding PMD and rxq configuration to the vhost-user
> >> multiqueue section to better enable packet enqueueing across multiple
> >> vhost queues.
> >>
> >> Signed-off-by: Ian Stokes <ian.stokes at intel.com>
> >> ---
> >>  INSTALL.DPDK.md |   11 +++++++++++
> >>  1 files changed, 11 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index c2e32bf..afab7d7
> >> 100644
> >> --- a/INSTALL.DPDK.md
> >> +++ b/INSTALL.DPDK.md
> >> @@ -674,6 +674,17 @@ Follow the steps below to attach vhost-user
> >> port(s) to a VM.
> >>     -device virtio-net-
> >> pci,mac=00:00:00:00:00:02,netdev=mynet2,mq=on,vectors=$v
> >>     ```
> >>
> >> +   A least 2 PMDs should be configured for the vswitch when using
> >> multiqueue.
> >> +   Using a single PMD will cause traffic to be enqueued to the same
> >> vhost
> >> +   queue rather than being distributed among different vhost queues
> >> + for
> >> a
> >> +   vhost-user interface.
> >> +
> >> +   If traffic destined for a VM configured with multiqueue arrives to
> >> the
> >> +   vswitch via a physical DPDK port, then the number of rxqs should
> >> also be
> >> +   set to at least 2 for that physical DPDK port. This is required to
> >> increase
> >> +   the probability that a different PMD will handle the multiqueue
> >> +   transmission to the guest using a different vhost queue.
> >> +
> >>     If one wishes to use multiple queues for an interface in the
> >> guest, the
> >>     driver in the guest operating system must be configured to do so.
> >> It is
> >>     recommended that the number of queues configured be equal to '$q'.
> >> --
> >> 1.7.4.1
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>



More information about the dev mailing list