From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF70CA0351; Fri, 4 Mar 2022 15:34:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70E4B427A9; Fri, 4 Mar 2022 15:34:06 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id EB5BE4013F; Fri, 4 Mar 2022 15:34:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646404444; x=1677940444; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=0Em5INKtt+Gu8gDt2+ynJZgp7pyoZK07SpjfktlZmm4=; b=EfGM6UZpIQFeOzQkACAMC2+jtgoKMNJ59qXeprkKjr10lVefF4FHY2TZ +eEkLjtKh7cM15FiLTAQ8S8phwst9RzrivI37wkwWxsOVeeoBWIGL3r53 TdGL0ILOF3XFWl1nyQy1dCraiqhmLEdfCLLMo4k3C0QuYnLvGaw2LXKST 7kqN0aFC+DRYesn8AGXXgQSccnGWJCes+GPb4ZZ+0v1RGQvxGtYo0Utmh g4L6QLHmfitGLwwdrYcPmVKErsLdZe48JPvHw18p5MI6ZOdLTTQumYuqF a5h3AXtJbqkrcfk46q0Ji/hV8CFtlzvRoy0+djJiW9NPy1HMSwL7muztv Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10276"; a="314700846" X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="314700846" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2022 06:34:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="552240540" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga008.jf.intel.com with ESMTP; 04 Mar 2022 06:34:02 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 4 Mar 2022 06:34:01 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 4 Mar 2022 06:34:01 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Fri, 4 Mar 2022 06:34:01 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Fri, 4 Mar 2022 06:34:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kfOmQSFSNby94UsNAZudaVoud0x6knCL6WGU+043qoxPDRt9isIQnul3i9FvuMwEQARPwuSW46t23XPQKfTXIZf17vRSpOAbaA3R908NuqQyPbCSxVL7gbxcax6U6AxI2fgQKxv53fErv9uE2PSfUTAFChA8klJ8WgB/eMC+t7bmITN2/lEccosU3Go8Rx7TfFqZeOJnlHyLD6GiDawaJWGbNnBnWlCHn8Pp44lPYk6kVm91WmHNA5ZiaeRSSAJgUVcD5JJIknH0s0k8tQ/U2V152DPedrbCMhBmO/wxXzrNwOYdFt4isq1NOQbPW7u+owZ1Xv6yaxmuKRigBVU6Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=s3ZFyidlo/K/mzSu6x2SmnMVYkjyq3lgy8zlD1LFYrE=; b=MFDWEOLTQuGpQLXknkZ31viwiGlqiEPQ/VyXbX/QtXHVAsEJUH+lD/3P6sruNwYPLBGmmo2MTbtaIk5sFJUyS6QAVsF+aIoS1gt2meTyDHasBRpDD5TxtonvB2hPHH0V997BTlMKu3Hdq6G9eAr5WnLCv1yfprw1gKGLY2kz9oXmsAaOUts1GblVfRGAhiOwDVM0bWoAVtyozU52HZUEpDOL2CQtzOTumcL6k3h7v58MhDWuY5DJT6jhlTdSrJzDzQou9ZDZ9JX4gH1Zf+2jDz9GZTzlTqnNrx7f4tXPQFJOSkhLa8BTNM2LSaONCiwgUg64AgspgQzr3f169m77mg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by BY5PR11MB4021.namprd11.prod.outlook.com (2603:10b6:a03:191::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Fri, 4 Mar 2022 14:33:59 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf%7]) with mapi id 15.20.5038.017; Fri, 4 Mar 2022 14:33:59 +0000 Message-ID: Date: Fri, 4 Mar 2022 14:33:52 +0000 Content-Language: en-US To: "Xia, Chenbo" , "Ma, WenwuX" , "maxime.coquelin@redhat.com" , "dev@dpdk.org" CC: "Hu, Jiayu" , "Wang, Yinan" , "He, Xingguang" , "stable@dpdk.org" References: <20220217151705.441734-1-wenwux.ma@intel.com> <20220304162424.822916-1-wenwux.ma@intel.com> From: Ferruh Yigit Subject: Re: [PATCH v2] examples/vhost: fix launch failure with physical port X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6P18901CA0009.EURP189.PROD.OUTLOOK.COM (2603:10a6:4:16::19) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b4592031-8d15-44c1-5ebd-08d9fdec04f1 X-MS-TrafficTypeDiagnostic: BY5PR11MB4021:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eOociC3aDXoJUII5kkL43B8PpV4iFkuH+xkMMsyF5j0slND4N+x3G15eC5ZMIlBjNO62nX3rA/L3nKka0tHnwTMytyqIqM5aS+eFki+BGqlEjC59xTmYHFSkNv+YkE4DKgJX4Fk+qGGuhr2+m+JybY/XK2y1gtzZEs3icw74IsIAs375FqI7fthAtt/JjBTeoR1Y7rqY4t+WeReUQIGwZ6y1bDTjzAHNLNAbFYXDiCM3XK5NQAzchyEMTUTD5Y6HP+I6AtK5YON75WfcIj3PzkQPdPEdN4hWknIaVYXB0a+2Z3I7omUyJmU4US9PT+QGdpZyLW5ZSDsROAe6wsLCCh08tyYGjCaroDrbRUQq+7tFg0KI6t6+oY3yEHV/YRhwJDzF4iBbJ7P7SQLrVWPOepe9T80Z7zWafIbbIaRPgZOPKIxGOIMoOH5VZ1velNMqA1EjRp4QTK8B1txatyB2ZAatJpBW/Dq7TSu5sTPBTfJxxL7ueAG0aoMVagiz9NQMAPqH3Lmbkiq6T5RvFcrJXM57uu0nAivpCb18I3Z74+Gy9TkeQE9eeCG7yJT+3MFriAaMbBoVV2t5izWo9jsh9JnJZteZ4ddso9nsz0H4ecEFcTrRfSmeQwXZ1wsVptOQQvY5Qq6oI/i90ptlixVYmnEuOA2mFQoSwuiZFHkkAMYQkd7RIb51gfGdf8d4fZ6V6CmkpfMqxPIt0nTLbYuxug== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(36756003)(508600001)(4326008)(54906003)(110136005)(2906002)(26005)(6486002)(31686004)(6666004)(5660300002)(44832011)(86362001)(8936002)(66556008)(316002)(31696002)(8676002)(66476007)(66946007)(6506007)(82960400001)(6512007)(53546011)(38100700002)(2616005)(186003)(83380400001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q25oNy9RcFVqOUtNTlU0eDlTTDY3K1JnSFdDQ3A0UnpXQ09raElFOTdHd2ZM?= =?utf-8?B?TjZJaTFtTngwWk5rczJnenZYTmV5MDdidUdBZnpIOWtpOVgzRzRNUUNYYVlk?= =?utf-8?B?TlAyenRnYW5WN0VEdkc0N0tzKzR5WDAyOWdhNmhtS254Z09ZTmpVRldiSUsw?= =?utf-8?B?SDdhQTVMMzhIcmtJNnZsckdsWk56amtRbFNLTmJESTZ1L2orUndJSXo4c2xB?= =?utf-8?B?SDVwb3dGWmNLd2gzTWxVTTcycmRBR0hhM0ZkeWU0TnN2Wk5rQzN5eSsyczRN?= =?utf-8?B?c29XZHpGeTluTk8vV0Qxe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ZTYv?= =?utf-8?B?UU5weXd6OXZPQ2U3SGVqcHAxVnFmZGZpTXNSampIdEZIR2U2YklSc24wUnRH?= =?utf-8?Q?HRG98gfRP4b1shHMlnQNlcY=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: b4592031-8d15-44c1-5ebd-08d9fdec04f1 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2022 14:33:59.1358 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: atZ/EIBBhIIXjmQELbYqwyRB9P7Ab2Eh247jjeDE1V16+dX7CB1jsAFmOhaNxeCZhFzZAHqhJ4qstQkhSI2UdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4021 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 3/4/2022 9:51 AM, Xia, Chenbo wrote: >> -----Original Message----- >> From: Ma, WenwuX >> Sent: Saturday, March 5, 2022 12:24 AM >> To: maxime.coquelin@redhat.com; Xia, Chenbo ; >> dev@dpdk.org >> Cc: Hu, Jiayu ; Wang, Yinan ; He, >> Xingguang ; Ma, WenwuX ; >> stable@dpdk.org >> Subject: [PATCH v2] examples/vhost: fix launch failure with physical port >> >> dpdk-vhost will fail to launch with a 40G i40e port because >> there are not enough mbufs. This patch adds a new option >> --total-num-mbufs, through which the user can set larger >> mbuf pool to avoid this problem. >> >> Fixes: 4796ad63ba1f ("examples/vhost: import userspace vhost application") >> Cc: stable@dpdk.org >> >> Signed-off-by: Wenwu Ma >> --- >> examples/vhost/main.c | 83 +++++++++++++++---------------------------- >> 1 file changed, 29 insertions(+), 54 deletions(-) > > Reviewed-by: Chenbo Xia Applied to dpdk-next-net/main, thanks.