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 41266A034F; Mon, 11 Oct 2021 17:27:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2ABA0410DF; Mon, 11 Oct 2021 17:27:36 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id A4917410DA for ; Mon, 11 Oct 2021 17:27:34 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="214045847" X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="214045847" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 08:27:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="547065032" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 11 Oct 2021 08:27:33 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 11 Oct 2021 08:27:33 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2242.12 via Frontend Transport; Mon, 11 Oct 2021 08:27:33 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) 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.2242.12; Mon, 11 Oct 2021 08:27:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TBdx2k1Sb4PyJdwplDO2w7uq18Mxa44vLwsZS8eUuqtHblerEUpelbWq3VtbMy80f1u2Ghr/uJLXTm1G7T5UAwRUV/bOMyY6ivknpzYV6I8wiqxdhkoZ4JD+YMDkva2zS9+NKH3i0L+rbRbuOD39dEtRM5OEWjDEOOSkhFqCLNZZHgMXsTQuepDZjXvaOzJv/f2tXsdKGrKz/pWWlSygQpdrU/Ys2zhbKNbzRfe3rju88ALBbZt4ZFJpcGu2DzovUvT3hTWA2q3vLrywYotVNMreYrPeetKkOfRioxLGCWYQxwrmle/BJI36FWVHv3MSayOPhpGX/ok3hKF5OHHBrQ== 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=R1eMvqhCdrbHgNTGQw85tqJ7Z2JG6fIvztoNPGdL+mE=; b=XDs+ihoXMv2nPc9SC4ORhfM2MVpP+o9DCGKfQ7Xzrp8pry12D4IFPhKBvGvvMeKMDvSXadsrTsGLhFw9d/re772yUk78ueTbQZJDiLkZ0a37MQEVKHeRtNVLW3QZZfDTwcQg9KGJ5XrcAv+fvNlqVSR6AoMBXkGd2QIk7/BSLNMY1qoCVJXip0nauA0ibEYJiNZFJEboArCZ0Ux24FzjJl+5ZswvzHBAHrUVEBG33GGHBCpsQ2EDmtKBRCFA5LbD2mg3fnx0qfdmL0dPRuO2X/TKwCMLkdDEWQF7XMpkIopFJ1Kq+ndZ/tnodY4rErwxgXtfYWK2UhGS4NIFHzqjiQ== 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=R1eMvqhCdrbHgNTGQw85tqJ7Z2JG6fIvztoNPGdL+mE=; b=UnZb4RSQv+HmXNv46YmtAz9lkBIzzMqL2XK1ikv/W/1Cki8G9hBXiY+0fKJHeoHbONe0mOrHh0RSNQa8oXXFe129FeqhZaxuXeTSKbnbPhR+lTu19z0DBV5lfgZYgiBxgJpf4My+0R/eFt1cxkiRRwEp56W22D/s3N4Ls6EXLDc= 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 PH0PR11MB4805.namprd11.prod.outlook.com (2603:10b6:510:32::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.24; Mon, 11 Oct 2021 15:27:27 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 15:27:26 +0000 Message-ID: <30799b64-36d5-037f-2e37-aa2e9ac65b8b@intel.com> Date: Mon, 11 Oct 2021 16:27:20 +0100 Content-Language: en-US To: "Min Hu (Connor)" , CC: References: <20211009084141.58054-1-humin29@huawei.com> <20211011091246.23618-1-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211011091246.23618-1-humin29@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0194.eurprd04.prod.outlook.com (2603:10a6:10:28d::19) 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 DU2PR04CA0194.eurprd04.prod.outlook.com (2603:10a6:10:28d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18 via Frontend Transport; Mon, 11 Oct 2021 15:27:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 40b5e2ae-75c6-4fd8-d099-08d98ccba17f X-MS-TrafficTypeDiagnostic: PH0PR11MB4805: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bJfIn6UKNX6m611ZQDbJwyYJycCtAsFao2R2Y4dzFRroo3v2O/O/39SPscuWjJR2QIg802d1x6qdgeHTMXYeakQJfZA5qgK8/SpaLFrXXYdxDRBMujHBDbg6yR8l1+DfvvRR2kj38G/YWWGNqKQHUFO9UHbcKtOiijTUyApGzqLnCG/WqoM2jzyAFgc7I9wkslBtrokmM6u4VP0QjIrzuBSbUiiuQmY+Abkuo9YJvzVA8jJPpsn3wFpau0u6LTtmhN27tlGV1xBWu/Bqb40L0pWIJsVQKBWaRyMALRUoyruoKfTomqgik4u9VofoRx31ViRsCwcWajaFH0yfuirxNnikQTyBV+iZQD3hv2FIi0HHps1YuPUKPdEVYOtHF3/2olkmAGkJ/EZV2SBLq/Y4Fn+Itin4PxRnx6dHafggtNKdVuPueEoVLfSpXLuXYqBiS+hw/oglrXzgaLKRXewc2uDiPr0UXFPEhpYpQCodJyDwM+iRfERK5KnhLlTf7VkzwYY+g6luxKsfnNqCB4bKsmliS1TO70gd3EgJlJhCaNPxxVKE9G1mcCE+4/rh/5SwSyl2VRoWw49l4dP2Oeom4WOaXXfpv4apX2h3K/TZd36TY1dR+mrkj3QXH3971tDz3mPe+6mrV9keBNAoHq3+wG/EQkwXin1EwLBCwVRiuDnXAkTDOBb7h6kQhQ5ioriKPkud66qVrXf/uaxc5oxEmw== 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:(4636009)(366004)(8676002)(186003)(31686004)(26005)(31696002)(44832011)(86362001)(16576012)(956004)(38100700002)(36756003)(2906002)(2616005)(316002)(6666004)(6486002)(107886003)(508600001)(66476007)(66556008)(4326008)(53546011)(4744005)(66946007)(8936002)(5660300002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M0JkWmpsN29pb1N2cXFkVGNpQWNUU3RRMzZGU0R4NnIydXRNbVIvYzBxM0ZR?= =?utf-8?B?b0lEdVQ0RWluTTFxWjQ3WDVGNFcrKzZjNFQwRkkwclNUanlGUkx4Q3RmTmgv?= =?utf-8?B?cXJUdHpqdUw4V1E5TTZZWGM0NjYzV3dDTmxsSXdacUQ5VDlvZWU2QUVyQVBh?= =?utf-8?B?a1Bockc3VHcrdlVjcWVUbVZWWVRFTUNCMXI0cEdSZHN6Tk83MHVNdjM0MzNQ?= =?utf-8?B?WENGeDF6Q3ZBMWZ6Mk1qdHBBUTBkSHZxV0kvRkZnR252RFpDeWJmY1cxNFYv?= =?utf-8?B?OFVYQVBybVdvVmpPd296bGdqNXdlOWVSVENQZUNjMkFLTGpYczFGcDQ2ZnNC?= =?utf-8?B?cmViNG5rYTVCck8xMVUxZWxrVzByU2J1ZEhJTmZrbUJZT0VUV0wrQzVXa1Q5?= =?utf-8?B?Z1hudTNqNzhpaDNvSWpyYTFIc3lJbjRHNkljZytSTThNU1FORzdOdjBiS1lL?= =?utf-8?B?Y1dvQ2VSSnIyM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RPQzJPeWhSYXdm?= =?utf-8?B?cWtnemNuSzJlR0FrMUY5RWExb0pjNXg1VFBXL0JvQXE4WWt2UGhqSXpnckM1?= =?utf-8?B?WEplaWhXMi9tM0thRjc5UVZLVzFCOVRIdjB3N2VkbFRxeXFOMFU0VExGbVBy?= =?utf-8?B?QllxczFzZllneDBORFduWUZwbExjNElzN0ZyVjIrWkRSUXplZlBndFBYMUpX?= =?utf-8?B?eWVVYjRpK1Bka05uMkNtU2huMUZid05PK0RmNS9XT0RNZXg0TFp4QkhHd2c3?= =?utf-8?B?YW1rYmVVcXBqUzVuYmhQZktqRUx3aFJSdnVXVWJlTDZWZm9mT1BqRUkwbk05?= =?utf-8?B?ZDVxSFdmdkplanUvanpncTlZVWtna2diT1RCeWhWL2x3Vkx2OXNTdCt1S0pL?= =?utf-8?Q?vDK9llH7/7a+6dmD2s2EUes7anZ2NgLlYSvtTj8?= X-MS-Exchange-CrossTenant-Network-Message-Id: 40b5e2ae-75c6-4fd8-d099-08d98ccba17f X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2021 15:27:26.8828 (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: TrHReBuj90l5aodEoayg6dF199dKRQaITHAxUMC+y4er93Xv8zhMNebOImgEdbY5hHrOnk0U7gGzId9AKeiaQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4805 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: retain all original dev conf when config DCB 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/11/2021 10:12 AM, Min Hu (Connor) wrote: > From: Huisong Li > > When configuring DCB, testpmd retains the rx_mode/tx_mode configuration in > rte_port->dev_conf. But some configurations, such as the link_speed, were > not saved if they were set before configuring DCB. > > Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic class") > Cc: stable@dpdk.org > > Signed-off-by: Huisong Li > Signed-off-by: Min Hu (Connor) > Acked-by: Xiaoyun Li Applied to dpdk-next-net/main, thanks.