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 2908BA0350; Mon, 28 Feb 2022 08:56:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF2F94068C; Mon, 28 Feb 2022 08:56:02 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 878694068A for ; Mon, 28 Feb 2022 08:56:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646034961; x=1677570961; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=XAL+VTn0ZtsSE/3F+lfj18TRfx4ydDIH5DvAcNeSxhg=; b=FR+wZ1EBaEdVXy8p6gBnY3lEpXvr/xxB2fBbRPR86QVwJRTzf6B1S7+R PhAG1NctsYq0OnKL4p5kTNfH3Wns15gjAPwiyVOjmdD3L/ikp6pUbbYXk XZl1/nDAXIskSSRMfj27akHSxUYbZTAfPBkf66t7OpxlnQPk6sRmOe/oV ljcSWxNbMtAIa9iuxuwpAv8zRD4ZT/auzOCwpuMRjesj0wrj1rQRMSK9P xZq8eeMOSon7dzyZyUjRDHlTwLZ+LbvK8W02ug+0jnoeioXOfGUhv87TU YIPaYGYFV4cJCT7svSUFt0n8phhc2RYJOShr9MzyZBy+3aYzKaJerCTrD g==; X-IronPort-AV: E=McAfee;i="6200,9189,10271"; a="233448543" X-IronPort-AV: E=Sophos;i="5.90,142,1643702400"; d="scan'208";a="233448543" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2022 23:56:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,142,1643702400"; d="scan'208";a="608372973" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga004.fm.intel.com with ESMTP; 27 Feb 2022 23:56:00 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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; Sun, 27 Feb 2022 23:56:00 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) 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.2308.21; Sun, 27 Feb 2022 23:56:00 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2308.21 via Frontend Transport; Sun, 27 Feb 2022 23:56:00 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Sun, 27 Feb 2022 23:55:59 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mjSnnvP21idpqRR62p5T0qaX3OKy0ue+VAYT7cJyVRzlXKfepwIEe68aMo+lDMtlTUhLRvT2QHJ2Ekcpdu3TzZsaPMWuSexmpqi3TnLXTFxpttX2e9FpnNcms+byohEDjyLut7cu8wvMHL6kz6/V68wUIRPND06HX5qRJJMAjeLK5jbGTKOWKVU/0ZcV2ZQmbuWAzadUS61xU87NhRXG54h09jYc3ViEiJGrq/dvAbrrhCsKnKW+Fj0kkYWMA1DbkTP+YtE7URs9zDx7bgurP7i8eosjHv1spd13Z3XLQBlzTq2Py902542pT7Q0lwjzQWaIUBE+bVNMReLEYSvfLw== 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=XAL+VTn0ZtsSE/3F+lfj18TRfx4ydDIH5DvAcNeSxhg=; b=IV55afkp+erh7FbOo5BwjXx+xTz9VxmRlCYgFuNktdP4WToPGBmcwTmQcevCa39+rgsSE6ZjK26YqkuD8tkgLsORmF5Z8ftIhQq1zAFA9+vWw0DtJvRT4d0PR67jtVSpdiZ+Wa0KzydI4Xbh/aK5X/lyGRKoapSwVVieyH7xlzG1wg2aVa5np3VGW3CJJFILF3LlQ7I9m9zubMHQvdJmm2u13gxOEAJ+FoaKKvmXL8RMXgqubCXLqyPwMUu38MDVTvr65j5W5PuDbNAdntgydHWd/1AgujK1vDObzizFHKMY7EZhpv2abpvkrjwsy5LE2gsOsvdBJfMsK153G6PJfQ== 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 Received: from PH7PR11MB6006.namprd11.prod.outlook.com (2603:10b6:510:1e1::13) by CY4PR11MB1655.namprd11.prod.outlook.com (2603:10b6:910:f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.26; Mon, 28 Feb 2022 07:55:56 +0000 Received: from PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::a5a9:1f3b:4435:705b]) by PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::a5a9:1f3b:4435:705b%6]) with mapi id 15.20.5017.026; Mon, 28 Feb 2022 07:55:56 +0000 From: "Ling, WeiX" To: "Richardson, Bruce" , "Ma, WenwuX" CC: "Burakov, Anatoly" , "dev@dpdk.org" , "Hu, Jiayu" , "Wang, Yinan" , "He, Xingguang" Subject: RE: [PATCH v3] examples/multi_process: reconfigure port when rss or csum isn't supported Thread-Topic: [PATCH v3] examples/multi_process: reconfigure port when rss or csum isn't supported Thread-Index: AQHYJ5dN/GOq0jPqfEOtRcOJ2pFeLayfUYcAgAlQQPA= Date: Mon, 28 Feb 2022 07:55:56 +0000 Message-ID: References: <20220217151755.442306-1-wenwux.ma@intel.com> <20220222105127.506505-1-wenwux.ma@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 52f9f451-5cb2-4f8a-d34d-08d9fa8fc031 x-ms-traffictypediagnostic: CY4PR11MB1655: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: Ex6TitaWvA1Et0DZsolHLxhGfmgPmhy5jMUUrz5MbSMW8Ew05RcLAll/WLXznLtIzx8Hj7XB0RFecP0Dyh3JuVU+5RaZgnLef+tL3KEpqiD8wYuT5BzkUcjx459BiZMdUprHGk9Qb014cFZUaAdvM1b/xWJeOmH4pfw97ED7ykk8MWnwUWqH9ydxakoSuvd/386MJbHFlqPUgVsKtQXXUW6iPl1ZzL4RYigneJeyskFZPJXNlxSWd4LXd1o4QALlpCM9MaCdk3V6eM8jnAIlidn/NVirxup3GiDQT1pXT4XTRvSr++aRhRG6p2C7ZwkMEThQaUABRxbgYrYnsA2Ki6iqa8qnr5umoHwsJ2qBqd3JDcAaLnzBKb058SZ2lE9JVt5ztWFJHhq5An+fMPT6trHdewljDPJcelTNk/7rb+fGcsR96lId1o4vOXy/4+0sAvaubKrD/V/5zJOyWrEs1NPYCwuDWC5rutX2l4Tz900QHgToekOzjHYFuGNMpl6bOplkgVBTJ5Yjjv7vwUTdfq4alGwmLrm59lA8oCpyO88A/rLVw1xGHio3NJCELUW1fNGWiMUS/ci2eN8esDkFDLv1O7QI5gdtkCbDxkl98m1zEp8yhXXmpmS4hHhEC0/9/9+aaVcB0KTVhpAO/2plyWeWkVHGTxlQg8OB9rTuvHOjU93EYlJbrFxDB8wGO9zhejQguVFphhnAHsvxaiUz+A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6506007)(7696005)(38100700002)(52536014)(38070700005)(110136005)(26005)(186003)(5660300002)(508600001)(6636002)(53546011)(316002)(55016003)(33656002)(2906002)(83380400001)(107886003)(54906003)(8936002)(9686003)(122000001)(82960400001)(86362001)(8676002)(66446008)(66556008)(64756008)(4326008)(76116006)(66476007)(66946007)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?NwgnLFcGfGAUGJ91TsGjkHtdwNolxp+Z/7ygQ/qTn0PJb91NQBaV3nURuWn6?= =?us-ascii?Q?fQ7Yvv+XKWe79TZEv89W7ouBCMK8ZsvQ+uxCrdRoT92zh3AbJIecMfLEZUpS?= =?us-ascii?Q?tP3QE/pR/HyPAht14Dm6XHSPlEO1+gMQcAf1ypwwqEQfDTNYKerWNUfZAMMr?= =?us-ascii?Q?dnUENJ1Ps26Ser+inqLclEa48JYKXLRhu3tX0YuQUeAugJDFcvIMJ0NAkm0m?= =?us-ascii?Q?DEmIDFSsP0XTdDxpEEqhkKHPQgmARhEUeCtsthvvIogg0kgultyjvxAws9Nu?= =?us-ascii?Q?lzHTzJJ14shURpIMCi/+5Xs85AJBw8wlgYqPEsp3J7rsR37tG9z66IfzfOJS?= =?us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XTArgInS8oEPg1LJIOrpK?= =?us-ascii?Q?KZZ5yxW4kyznk5N3UOmjR5E1k7T55OAp4I1+h3a49JdRLK6kkF3e249MH1Y5?= =?us-ascii?Q?GNazQuKFXYaWK/Zo4X42A1j7KUBHynZbmGF0B2Qak3SHJ3QnG8w/iFSXQU89?= =?us-ascii?Q?6X5hopK4e/EcAdp56aTZzMAFn2zAhGvM0sEtILzY37Q4ei9ta8bKWXv9EG1W?= =?us-ascii?Q?WpvmyBslSX8YUaQv0iJ4X9EapN6oR2qqaDfgFw6mY3qQWxpTGsVu3PVSGNYq?= =?us-ascii?Q?yy8ZqFoGdtYZeKUNFNl6XIwImbL9sJ6iMFlcxJ+0I1YmTd0gFtQD4vxlLRin?= =?us-ascii?Q?tyHR0bEcI2/c5RZqyLeLSWMmNn4OE/IMOTrNNmysD4ALMsnlDkscOGj0Rx9H?= =?us-ascii?Q?UA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6006.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52f9f451-5cb2-4f8a-d34d-08d9fa8fc031 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2022 07:55:56.0300 (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: 7WUp9XUGgLrrhrM2HDUdokljC5wMYVnUiHTu+lYyuw3cFmoLr5gE/1g0Q+geBW7YkQFYyEeo77HB6/jx4KaxOA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1655 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 > -----Original Message----- > From: Bruce Richardson > Sent: Tuesday, February 22, 2022 5:41 PM > To: Ma, WenwuX > Cc: Burakov, Anatoly ; dev@dpdk.org; Hu, > Jiayu ; Wang, Yinan ; He, > Xingguang > Subject: Re: [PATCH v3] examples/multi_process: reconfigure port when rss > or csum isn't supported >=20 > On Tue, Feb 22, 2022 at 10:51:27AM +0000, Wenwu Ma wrote: > > The default values of rx mq_mode and rx offloads for port will cause > > symmetric_mp startup failure if the port do not support rss or csum. > > This Patch make the app to reconfigure the NIC without them. Only quit > > the app if the second reconfiguration fails. > > > > Signed-off-by: Wenwu Ma > > --- >=20 > While I am surprised to see different error codes for different essential= ly the > same issue - lack of HW support, that is a separate problem to the one th= is is > addressing. Given this is just a sample app, I think this approach is fin= e for > configuring things - keeping things simple for the user. >=20 > Acked-by: Bruce Richardson >=20 Tested-by: Wei Ling