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 B4142A0032; Fri, 18 Feb 2022 07:49:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4602440150; Fri, 18 Feb 2022 07:49:31 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 84B0040140 for ; Fri, 18 Feb 2022 07:49:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645166969; x=1676702969; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=bM22bFCx2ohfgs+Gz2UyMdDJcF+p/vE1D+ltPekOrHs=; b=PUToyWgp8kyCbbKAFd+cOb0szXvkJmUypnZ4w6QuDvIdOUMEdaEkY/zy WK+Fmoq4YRNjwyZyclr3JwErZ3JdsbknpQQgte4Lt52iG2NKPc/hnL1tP 2Akp/aqPvYa6080jq6t3R2lSISXRaOXO91KQnhuWAXTAVeKaN0aPq9xOO JZ6GvoPcqM2DTA1X8sM7P4avKtQUb+/ZHpuDKOVHZ3Kwx6ZazvhPHcgu3 PG92vzinh8c3j77jxB+2kgbgW6k74UzW62c0UYizuaCpz41v+bac6MX4o XujEkD5r4whWhphM3XXOfxnw0Ryv+u9VGlgUCZPYKAPONd948GvzkgfrH A==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="311808694" X-IronPort-AV: E=Sophos;i="5.88,378,1635231600"; d="scan'208";a="311808694" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 22:49:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,378,1635231600"; d="scan'208";a="530800290" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga007.jf.intel.com with ESMTP; 17 Feb 2022 22:49:28 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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.20; Thu, 17 Feb 2022 22:49:27 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 17 Feb 2022 22:49:27 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.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.20; Thu, 17 Feb 2022 22:49:27 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jq5gG8KKEKf6P+IAjkOw7rMnOfOIIYaJQYF33xS0qkbFaKq72p/1kVAhn1GQdONnEjW1wk2WXjv4mYNEAVFqOSUJE98c2AsJWgJiKUGyghoXeMr4KPlvHVuR2VwcZ/DgEcCJCSYQc1T+B/I2i17CjDkiMQFt6TiKqzMnX3jbg7sZP8sxpxyLi0h3MFFakWc9gk+AZY8aImtcAsDVKqkvprlNpiw7bmvF5e8jab3ES589+KaP3Wx4PlHgec3VFDijVUUihNRVDiWrA8fmpbPYGlmS/pIhQqxaqsgw/egXQHmmQiR6syRAS0VdBktw0zTvIvLTKDG4FjAzGAZk1gu80Q== 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=bM22bFCx2ohfgs+Gz2UyMdDJcF+p/vE1D+ltPekOrHs=; b=TLamFnepI43Q29TTT+TXJbs8LJLUKXrD+g/9pMYt5zXLD3UrY7ufMIdoXb2gIF27Ibf2AEL11sl6xKS6jHnCBV1i+z5zbnRoxJjQ5bHj6nrfRDXTHmsAFYiXI9QPfKK+kZ1myckZl41DG/CAjpYlEOgm5wX8c7gm9EFgYyC43UPiR+E1ZCjbU2PXtFX+U5nPQxLHx9wzbcTSGf2EkzhBL8HyKEN7xk9omxDG9v4C7scj0jVOyvMpMOCAGeL1U5TAEpgHCO4offOgrxoh3w5eiUF3rWyoVj2V1DgqGYluUKSpB66Ayze8ZsGBJ/UFseWVw5atT9vpKYxcqr/5MiA5+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from SA0PR11MB4526.namprd11.prod.outlook.com (2603:10b6:806:96::15) by SJ0PR11MB5917.namprd11.prod.outlook.com (2603:10b6:a03:42b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.12; Fri, 18 Feb 2022 06:49:19 +0000 Received: from SA0PR11MB4526.namprd11.prod.outlook.com ([fe80::5d0d:46b0:ffbb:54b3]) by SA0PR11MB4526.namprd11.prod.outlook.com ([fe80::5d0d:46b0:ffbb:54b3%4]) with mapi id 15.20.4995.022; Fri, 18 Feb 2022 06:49:19 +0000 From: "Ma, WenwuX" To: "Richardson, Bruce" CC: "Burakov, Anatoly" , "dev@dpdk.org" , "Hu, Jiayu" , "Wang, Yinan" , "He, Xingguang" Subject: RE: [PATCH] examples/multi_process: add options to control port configuration Thread-Topic: [PATCH] examples/multi_process: add options to control port configuration Thread-Index: AQHYI86mAWxO6DUtj0WNfDDP3Eh5VqyXc50AgAFl1uA= Date: Fri, 18 Feb 2022 06:49:19 +0000 Message-ID: References: <20220217151755.442306-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: d57b490c-4863-49f5-6a2f-08d9f2aac9e6 x-ms-traffictypediagnostic: SJ0PR11MB5917:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SKWpUIqI8iTIWYREGeoXBXvJKXdDiHDwn9TpNrevbRA50Xq/RnwoKBkrUZd8gPMzF+66i6fkdPD1l4FAEujb2oasu5hujTQuN5xccLn6tFjWLfVqkBAdAczTu32ysPb61TForBkWTReIrgsX4iDVe8YVQV3Y78SsXhpEBwT7X658zTFkvlCYZwtQkxUAV6QjZXMEt8wb0htHpBqzCSfYlB73QV6i64vHR2/tD2deQ7tDAkxjq9CmokLRMaZw9Fmsa+3xjHH73iFhUvCg0SVkb8fyy1VXwklimKo0lV/XeGea7GqoafPfiepVpsXD1VBxi9Wh2K7ie35Y3EZoMEfn8U9GGD/DA7ppLz/fSomQNmkXlBhN4vhID66o2F0UgYyJG5ynivqJKj7Xkb+TUFFed7jZL/ESF9AjUKuExb/8YpBzekorgBM3CA90oYtQQytxvG9W39BcZPlK4mn9JfoZNajcbMRCmrUeI7yn412nBF885hCs1lQ2jVnQQIg2EJUuKVzb3QhzwwYlioIBGNYXbHOd9SAM/VNWcW64w681uz2c7lUqfOZyyCO4FGsPUXzyM19H48MVKs4Gnf+ELOYqQv5mk4pmgEQh2G3GL2l5yLFVguQCWE8fYuk2tdO7DmPAYGg2KlFLlRIE8QSz1++79c1xrc63RdSMD7pc1Bysc7xS4cIsHs5IqjK86beqzHsNYpY+RtFDVyeE3l2gKMte+Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA0PR11MB4526.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38070700005)(122000001)(86362001)(53546011)(38100700002)(4326008)(66946007)(9686003)(66476007)(66446008)(66556008)(2906002)(82960400001)(33656002)(8676002)(54906003)(83380400001)(316002)(6862004)(6636002)(7696005)(64756008)(508600001)(71200400001)(5660300002)(8936002)(76116006)(186003)(55016003)(107886003)(26005)(52536014)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?bjAzZXpLcFRNd0pPWUlZeWVsNVlmWlk1ek1TbzJzL1RJTTc0SndLNFFD?= =?iso-2022-jp?B?N3hmeHJnSnlnQlJWWWdyZW9GZmN3VWN2cFlpSldCOGZOaEp3SzQ2OEx2?= =?iso-2022-jp?B?S1puYVV2TXBLMFoxMzdjTFdaTEVrSUtBSHg5OWUyVWc5b1ZtZ1VmUUdz?= =?iso-2022-jp?B?R1BXcm5VVHJjNFZmL3YzL09CMXBwS0NDWHdRd1grNU9vRzg0bUJwWDlK?= =?iso-2022-jp?B?U040VU9yQ09UL0hLWTBFSUNjbisyY3krbHB6ejljVmRCK2hFVWxFTzNI?= =?iso-2022-jp?B?S0JRUVFDNEhzeSswRVZ6aUg2ZHhRZjVkcExGRFo0S256VmtKNEM5WFVC?= =?iso-2022-jp?B?N1prZlVWZHl0NU9VMUU1V3ppWld4UWdacm5hZGplczRYb0szeEVCVDEr?= =?iso-2022-jp?B?SnNqeFg3OFI2ZTRHZkxDeWYrSGlhbjFWa2lqQTBsTVh6bkZuUFhWazd5?= =?iso-2022-jp?B?WndoT1plUkw3SXRoWnRCSWN4U1puNG1kWUlXM1BhNDBlQklvbnNreGIz?= =?iso-2022-jp?B?RzNxcHJRbF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R4T3c9PQ==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA0PR11MB4526.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d57b490c-4863-49f5-6a2f-08d9f2aac9e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2022 06:49:19.1413 (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: JKvr7JKC0mN54jcPWZB9G5gJ/mGZIsjZmG6n95BGq/h+AcuONtrA0+PF5ixLZWOpt+RbTDOwyWFmOk0ZEUqHaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5917 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: Richardson, Bruce > Sent: 2022=1B$BG/=1B(B2=1B$B7n=1B(B17=1B$BF|=1B(B 17:06 > To: Ma, WenwuX > Cc: Burakov, Anatoly ; dev@dpdk.org; Hu, > Jiayu ; Wang, Yinan ; He, > Xingguang > Subject: Re: [PATCH] examples/multi_process: add options to control port > configuration >=20 > On Thu, Feb 17, 2022 at 03:17:55PM +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. > > Therefore, we added two new options --rx-mq-mode and --rx-offloads, > > through which the user can set the values appropriately according to > > the situation to make app startup normally. > > > > Signed-off-by: Wenwu Ma --- >=20 > The idea seems reasonable enough, but I think the implementation requirin= g > the user to pass in special "magic numbers" for the offload values is not= a > good idea. Perhaps add in a separate flag for "no-csum" to disable that. >=20 > For the no-rss case, can you explain how you would see this app being use= d > in the absense of RSS support to distribute traffic among the separate > processes? When app run in qemu vm and the backend is dpdk vhost, it will report error= below: "virtio_dev_configure(): RSS support requested but not supported by the dev= ice"