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 05404A0C43; Fri, 22 Oct 2021 04:13:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 834AB41103; Fri, 22 Oct 2021 04:13:48 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id D6E864068C for ; Fri, 22 Oct 2021 04:13:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10144"; a="227971226" X-IronPort-AV: E=Sophos;i="5.87,171,1631602800"; d="scan'208";a="227971226" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2021 19:13:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,171,1631602800"; d="scan'208";a="445582533" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 21 Oct 2021 19:13:45 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) 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.2242.12; Thu, 21 Oct 2021 19:13:45 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2242.12; Thu, 21 Oct 2021 19:13:44 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 21 Oct 2021 19:13:44 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 21 Oct 2021 19:13:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=esUwN47mN2CDI1tLNY6z4FQh3giBr59FYautKkhzpBmwEKB39gXhHLj/YM2yQErSFazgBczVBzmF1/qNFT8fjaFKhEGt/9Wtalc+BUZlRhNvrtcZJPGIpFf+2Wn2+l1qGjLR5q+nLp/9Ck/hn/+S+Rl88hlNMbGrzZhYk0cAH/NbIvtk3pKkFuF7FEShmbntgs5Sp5h88NQopJrMsfiFRUEguKkMVSEzrmsT0/pNo+OT+XjwghLZB9e4Sxpu9bEsc86mzj2IoKLBHcz8AVy3Jv3TskCYD8m2Dr/RfUGXNI3d0B/DXxNs7RuccnVyPB/XYHFoYgBJAl+LApULkWT/cQ== 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=/byo8JM+byLQtDlwi7LFyN/CxTizPcneQq1+86HPiuU=; b=XIJWsmjo0eLCGVtsl15yKLsipPYUfriXXeL+8RKlHZ70q6OmCAiwY1D6RHU3AWm1/SFKNYEoHHx1JMsmwDXebuI3azH7I8BW7zcRk9OwGnx1lkpcnq6ba8RUlKviYFarX9hl9olmAgfcwjlG0rlI/ojBpSUL/mJxExBu/isTu3llVQ/YJfweXCoHWvG/e75EDf0yQUoyPfHlmlXDobllG+dk8YfeuQt13tRwRzp2I1YVWlzVTqqS6o0/nrq1szN0AcgZplj4K1BQwPoxtiQazejAYLHpMaFoboUJpsZTO1OHUyxckG6FC5NvYUpd92SlNUDQKqzjsDJANQFScDA/KQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/byo8JM+byLQtDlwi7LFyN/CxTizPcneQq1+86HPiuU=; b=r/s9NlaMNdHcL5mz9Q0sks8YAVZ6bQH1W8P5rLtU3YzKG05xwQwzkXiHsuc30xHvAmD8lXVyRKjTkpjZk57iteyG3kGakOd/1NbZsELyB/YnMrLapSPaRaIm/ZpsAHLEM7gw/jVqg1Yr+IPcCJRl7WvaPHZKVDh1+pXEIjWnfUU= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4807.namprd11.prod.outlook.com (2603:10b6:510:3a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Fri, 22 Oct 2021 02:13:43 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4628.018; Fri, 22 Oct 2021 02:13:43 +0000 Message-ID: <3807a37f-213b-ca72-1744-739b1e79bae6@intel.com> Date: Fri, 22 Oct 2021 03:13:37 +0100 Content-Language: en-US To: "Min Hu (Connor)" , CC: References: <1630295328-44604-1-git-send-email-humin29@huawei.com> <20211022013840.63119-1-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211022013840.63119-1-humin29@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR0402CA0007.eurprd04.prod.outlook.com (2603:10a6:4:91::17) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6PR0402CA0007.eurprd04.prod.outlook.com (2603:10a6:4:91::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Fri, 22 Oct 2021 02:13:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 677a233f-317e-471a-5097-08d995019256 X-MS-TrafficTypeDiagnostic: PH0PR11MB4807: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e7Ar0KKH4sit9J0F03/EWFVgxWnbBLGp+WpOWodz1QEmmLE4eFDNnoWQzAW5eGAXIzZWwML+uckFOZeeMr2DHSXSasf7Pa9hAQPzCeW76ciEgfSFLoL5hRikE93GEfcsJTxASkXZUiOZEVo6OlQ0ry5GRO7QRN4YQnVDslKfMITYZKlsi4bDzRjQS7znuMlcBZLfoDIrqPC+jD3lsc0pVyyUFJMWlhvhyMFoRvvb4BBvrPn5fJ1Vz7Fod//PcrVpbF9mkUM4c91EiUsXDd5babVr9OuRVn9BJP1eNU8rC8kUhys1umPxwJRR661ja8MH75wOOjoJeSde421s2SrP2HIyDvlSeBObfq/3tPcyLjs7qkAn3MGi1dsM9tCcmH5Y3Q2wwPPQngvMmA+B9Zvfs5rW1KQizsM7omMmpC9MiGpu6MVfNYSBCZMF1/CdO+rVWQLiS01t8h5gj+v4+M9O71nLKruZdDZLp7Fw5D1z0r1SaVSrf+RlaZrPNKBVZiD3cR/P0T7HYutJqvognrIKkdrr0pujLPu6Rhe6EDvIsYLT3o68TEEuJVBysp/W+lOjQ9LOy8OkByryDBpIljUFgB9fA7l6RyySZsH2sNVZHKnutmomEnvLZcpuNTtm/mq1XmNI+OSNoOsNqos3jFv6f9+byGSyBDE4YCBWf0BdINX+FTBVvpzGspIzb/i4rg0qlCWf5XpUSkoHyQ3cJUtI1g== 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:(366004)(53546011)(31686004)(508600001)(36756003)(8676002)(38100700002)(8936002)(2616005)(5660300002)(956004)(2906002)(16576012)(186003)(26005)(44832011)(31696002)(82960400001)(6486002)(66556008)(4326008)(6666004)(316002)(66476007)(83380400001)(86362001)(66946007)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ajloQis0SjEweHNEKy9uUkhUY05oSDMvVTBUVjVyVC93YXhTSWloREx6N2ZY?= =?utf-8?B?c3BlS3dZclcwVkF0RTEwMVljKy9ZRU9CYmJOcUFuWXZXeFJNT2g4cGpMb1lZ?= =?utf-8?B?ekIvcCtzejlJcUF5dktwWUhsVGdtam1aMXFHSlNBUndqelVTS3U1ZHdaSlBh?= =?utf-8?B?OXNsSnBKbFlXWHd3aDl1OUVxV1NEOVVrR2o0WnYwaDhsSEI1azJUUVdiZE01?= =?utf-8?B?QVZjWDQ4ZWQrQmJOUGd6c3FDOG5yc1c2dWNKd0k2WCs2SktkNndIUldVbktu?= =?utf-8?B?MUVRSjZibFhqK3Y1d0VlRUtUNmQzVzcvL0JLOEtvcVh2bXJPWTd5eTBlRUhm?= =?utf-8?B?ZEgvL2psN3ZJWE1hTW1zMm1aODR0aUw3MU00enUyMUMzZlNnQjJFMk1F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ejBEZ3RjV3NVUHBKNlJnUkIz?= =?utf-8?B?QjNaR3piNVBURG45dmJYVEJURlNGbEF2cEhKZ3l1aXQ1MndxS01naUNURFlK?= =?utf-8?B?Tkk1V2owNmFvanpUWUtUZWVPa1FwcGZ2RXBkSVJTRWgxV0dxM0pRWllOZ3Qy?= =?utf-8?B?RUJiQ3cxdlFEN3oreEZ5VDVqTDl3ZjJPQTUzYTJ6Q1BSZTNRaGNjcHhzZXpn?= =?utf-8?B?T0ovcnRDdjkwU1NhZGNZUk9uYzRlQzF5c2ZqODlDalY3QnQ4V0JSUXJ6T3c3?= =?utf-8?B?MGhHMU44eHI2Zk9DSDlFeWJhMnp4eHhyTzFuWUxjY25vdWZIb2k4bHJLQkd6?= =?utf-8?B?Y1BJT0k3NzZ5OGtJT2lOcTRHRjdjL0JaakF2eVo0aG1OUE9rdlBCNzA1bUxL?= =?utf-8?B?ckNNNVNUQzJ5eDByMXdaV0ZocHVxcHBZei9tMVBMOVNyc1ZjOXorTnlnMXBC?= =?utf-8?B?N1c4ZnJRQzdsQnhOd25xb05UdldvUEV0VnMwSVUxYVhFY0EyWkhRaURwWTBt?= =?utf-8?B?aHhKVStJVlltK2VVUnMzK3JPSklvMEQyM254dFoxVFVMancyaHZnNG8vUHpn?= =?utf-8?B?VTJXY08wRHZ6ZWp5TW0rTVNYNGhEQU1DdnE3OHJLanp5TTVTUFg3bjdOdHk4?= =?utf-8?Q?h1WZ0LUeGKgQ0JpFo/XKfVA6hamNVW2S?= X-MS-Exchange-CrossTenant-Network-Message-Id: 677a233f-317e-471a-5097-08d995019256 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2021 02:13:43.4741 (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: ferruh.yigit@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4807 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] net/hns3: add runtime config to set MBX limit time 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 Sender: "dev" On 10/22/2021 2:38 AM, Min Hu (Connor) wrote: > From: Chengchang Tang > > Current, the max waiting time for MBX response is 500ms, but in > some scenarios, it is not enough. Since it depends on the response > of the kernel mode driver, and its response time is related to the > scheduling of the system. In this special scenario, most of the > cores are isolated, and only a few cores are used for system > scheduling. When a large number of services are started, the > scheduling of the system will be very busy, and the reply of the > mbx message will time out, which will cause our PMD initialization > to fail. > > This patch add a runtime config to set the max wait time. For the > above scenes, users can adjust the waiting time to a suitable value > by themselves. > > Fixes: 463e748964f5 ("net/hns3: support mailbox") > Cc: stable@dpdk.org > > Signed-off-by: Chengchang Tang > Signed-off-by: Min Hu (Connor) Applied to dpdk-next-net/main, thanks.