From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1C3E4F957 for ; Thu, 9 Feb 2017 13:56:32 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP; 09 Feb 2017 04:56:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,349,1484035200"; d="scan'208";a="63719959" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga006.fm.intel.com with ESMTP; 09 Feb 2017 04:56:30 -0800 Received: from localhost (163.33.239.181) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server id 14.3.248.2; Thu, 9 Feb 2017 12:56:29 +0000 Date: Thu, 9 Feb 2017 07:56:29 -0500 From: Robert Wojciechowicz To: Message-ID: <20170209125628.GA10377@debian> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [163.33.239.181] Subject: [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: Thu, 09 Feb 2017 12:56:33 -0000 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? It is also worth pointing out that OVS 2.7 will use 16.11 which means we will have this bug for the next 6 months at least unless we can backport. What's your opinion? Br, Robert