From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id CD1A3E07 for ; Fri, 8 Apr 2016 08:47:04 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 07 Apr 2016 23:47:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,449,1455004800"; d="scan'208";a="954307125" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 07 Apr 2016 23:47:03 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Apr 2016 23:47:03 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Apr 2016 23:47:03 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.136]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.154]) with mapi id 14.03.0248.002; Fri, 8 Apr 2016 14:47:01 +0800 From: "Xie, Huawei" To: Christian Ehrhardt , Patrik Andersson R , Daniele Di Proietto CC: "dev@dpdk.org" , Thomas Monjalon , "Ananyev, Konstantin" , Yuanhan Liu Thread-Topic: [dpdk-dev] [RFC] vhost user: add error handling for fd > 1023 Thread-Index: AdGKYz+H4+lvwAL9SXmR+Rrs6lvXdQ== Date: Fri, 8 Apr 2016 06:47:00 +0000 Message-ID: References: <1458292380-9258-1-git-send-email-patrik.r.andersson@ericsson.com> <570379F9.6020306@ericsson.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC] vhost user: add error handling for fd > 1023 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 06:47:05 -0000 On 4/7/2016 10:52 PM, Christian Ehrhardt wrote:=0A= > I totally agree to that there is no deterministic rule what to expect.=0A= > The only rule is that #fd certainly always is > #vhost_user devices.=0A= > In various setup variants I've crossed fd 1024 anywhere between 475=0A= > and 970 vhost_user ports.=0A= >=0A= > Once the discussion continues and we have an updates version of the=0A= > patch with some more agreement I hope I can help to test it.=0A= =0A= Thanks. Let us first temporarily fix this problem for robustness, then=0A= we consider whether upgrade to (e)poll.=0A= Will check the patch in detail later. Basically it should work but need=0A= check whether we need extra fixes elsewhere.=0A=