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 10FD029D6 for ; Wed, 8 Feb 2017 12:56:25 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP; 08 Feb 2017 03:56:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,346,1477983600"; d="scan'208";a="62223579" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga005.jf.intel.com with ESMTP; 08 Feb 2017 03:56:24 -0800 Received: from localhost (163.33.239.182) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server id 14.3.248.2; Wed, 8 Feb 2017 11:56:22 +0000 Date: Wed, 8 Feb 2017 06:56:21 -0500 From: Robert Wojciechowicz To: Message-ID: <20170208115620.GA6783@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.182] Subject: [dpdk-dev] vhost: many vhost user ports (backporting to v16.11) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 11:56:26 -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? Br, Robert