From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 2F1FC37B0 for ; Tue, 14 Feb 2017 09:50:56 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 14 Feb 2017 00:50:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,160,1484035200"; d="scan'208";a="1126356455" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2017 00:50:47 -0800 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.77]) by IRSMSX102.ger.corp.intel.com ([169.254.2.230]) with mapi id 14.03.0248.002; Tue, 14 Feb 2017 08:50:46 +0000 From: "Wojciechowicz, RobertX" To: Yuanhan Liu , "Gray, Mark D" CC: "stable@dpdk.org" , "Mcnamara, John" , "Devlin, Michelle" , "Weglicki, MichalX" , Thomas Monjalon Thread-Topic: [dpdk-stable] vhost: many vhost user ports (backporting to v16.11) Thread-Index: AdKC0+4fZU32enKGQSuBtcG4HNo9rgDl/SSAAAyz+eA= Date: Tue, 14 Feb 2017 08:50:46 +0000 Message-ID: References: <20170209125628.GA10377@debian> <20170214024147.GQ20916@yliu-dev.sh.intel.com> In-Reply-To: <20170214024147.GQ20916@yliu-dev.sh.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] vhost: many vhost user ports (backporting to v16.11) X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 08:50:56 -0000 Hi, > > It is also worth pointing out that OVS 2.7 will use 16.11 > > One question though: will they use v16.11.1 or something like that? @Mark do you know what exactly version OVS is going to use? Br, Robert > -----Original Message----- > From: Yuanhan Liu [mailto:yuanhan.liu@linux.intel.com] > Sent: Tuesday, February 14, 2017 3:42 AM > To: Wojciechowicz, RobertX > Cc: stable@dpdk.org; Mcnamara, John ; Gray, > Mark D ; Devlin, Michelle > ; Weglicki, MichalX > ; Thomas Monjalon > > Subject: Re: [dpdk-stable] vhost: many vhost user ports (backporting to > v16.11) >=20 > On Thu, Feb 09, 2017 at 07:56:29AM -0500, Robert Wojciechowicz wrote: > > Hi, > > > > in DPDK v17.02-rc2 there is available following patch: > > > > commit: 59317cef249c0b23098543df527b3e360ce9764f > > > > """ > > vhost: allow many vhost-user ports > > Currently select() is used to monitor file descriptors for vhostuser > > ports. This limits the number of ports possible to create since the > > fd number is used as index in the fd_set and we have seen fds > 1023. > > This patch changes select() to poll(). This way we can keep an > > packed (pollfd) array for the fds, e.g. as many fds as the size of > > the array. > > Also see: > > http://dpdk.org/ml/archives/dev/2016-April/037024.html > > Reported-by: Patrik Andersson > > Signed-off-by: Jan Wickbom > > Signed-off-by: Yuanhan Liu > > """ > > > > I tested this feature with OVS and DPDK v17.02-rc2. > > I applied also this patch to DPDK v16.11 without any issues > > and performed the same tests as for v17.02-rc2. > > It solves the problem with connecting many VMs to one vSwitch > > instance (in my tests 70 VMs) with vhost user ports. > > > > Is it possible to backport this feature to DPDK v16.11? >=20 > As a vhost maintainer, I think this patch could be backported to v16.11: > it resolves an issue you met. >=20 > Just let me know if anyone has objections. >=20 > > It is also worth pointing out that OVS 2.7 will use 16.11 >=20 > One question though: will they use v16.11.1 or something like that? >=20 > --yliu >=20 > > which means we will have this bug for the next 6 months at least > > unless we can backport. > > > > What's your opinion? > > > > Br, > > Robert