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 D701BA0547; Mon, 30 Aug 2021 07:58:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C741410F8; Mon, 30 Aug 2021 07:58:00 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 692A3410F6 for ; Mon, 30 Aug 2021 07:57:58 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10091"; a="218221791" X-IronPort-AV: E=Sophos;i="5.84,362,1620716400"; d="scan'208";a="218221791" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2021 22:57:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,362,1620716400"; d="scan'208";a="518633975" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga004.fm.intel.com with ESMTP; 29 Aug 2021 22:57:56 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Sun, 29 Aug 2021 22:57:54 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Sun, 29 Aug 2021 22:57:54 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Sun, 29 Aug 2021 22:57:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UykmXcD15il4YURgmMfJJ3H/K5el0R8tvja9jX0KtG6h0HKhxOibhrLYP70LwxXXMB5ihMkmIHmXmx3kmPae49XONOW214ys2CTC/qJhrGttAcBccj26EilCWIWtPigv0TBHrdbNR8zFffbiaFMLwAXrQUrbuEnjX6yZzMNRVgGtamQ3kQ7Dnv6PFL73mnChz4v3C076A8/Y4qhLwjxGtNZ6C8nt0FpZPZ2rGCd1CG/HaOvj5U6IhXrMiBQWOnWiwF6pDP+cewVQyZXwHtHh1fCcBXeiSPRvHMSNgJbCeNg2g2yST5xge6+ufUV4SW1SEMuCLy93grv2NFmeSLFC0A== 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-SenderADCheck; bh=nWaWZGaNmC3uEKx7sYciyyV94qNzR9z7+bI4F9WJMW0=; b=jcP3oCpRc8JZCRk55iHKpcJpa87NBvoN3dCVZtV0Kf6Jb6LkFe2oEmH5Cw8ZurD3iSHbGPIIFh0QETe7At1wg/zX4TfeISVz5LMt1w9TpZLbW2YflGGWojp11HZp6cZPir/WMWuaiG96mZlzundJpuI+yKh9UDKqzOJ3h3Yd59x9V+nYDdh/XIUegCeqmKlXg9gVBbi7ojwjIoJDEuKldS9YB0d8BxfPrqvcS3pa3Z5AyLs5VQJo7Ai/C7s4zs4U8ZiCrfr7suoRDFmQhTH5mjfeVzWR7NprOYQoG6iyKRib9N1faC1qqwBiDPp6CJYL7kqCSXHwNwDNN7jcmxX4lA== 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=nWaWZGaNmC3uEKx7sYciyyV94qNzR9z7+bI4F9WJMW0=; b=YA8bwrohiWOxUpzjUs682ZJeeWHT8u9ZhU0paq8CP376ikXZIQ7sBd6V0ZS+Txaak8n4H7XwaNKhhVbXmoHFIDJPH51TxJ64NwdF6xHv+yCi91do4SFH1FaQDdkd8Ao4iiU8v/jTNswqPSN1QAEuKHMilscl6UVLR24kXJ9+UvM= Received: from CH0PR11MB5523.namprd11.prod.outlook.com (2603:10b6:610:d6::15) by CH2PR11MB4231.namprd11.prod.outlook.com (2603:10b6:610:3e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Mon, 30 Aug 2021 05:57:53 +0000 Received: from CH0PR11MB5523.namprd11.prod.outlook.com ([fe80::e4cc:67fd:7ff3:c46a]) by CH0PR11MB5523.namprd11.prod.outlook.com ([fe80::e4cc:67fd:7ff3:c46a%8]) with mapi id 15.20.4457.023; Mon, 30 Aug 2021 05:57:53 +0000 From: "Li, Xiaoyun" To: "Wang, Jie1X" , "dev@dpdk.org" CC: "andrew.rybchenko@oktetlabs.ru" , "thomas@monjalon.net" , "Yigit, Ferruh" Thread-Topic: [PATCH v8 2/2] app/testpmd: fix testpmd doesn't show RSS hash offload Thread-Index: AQHXmxwQBvSs8lRMgk6EbDzV0JnypquLkXpA Date: Mon, 30 Aug 2021 05:57:53 +0000 Message-ID: References: <20210826070924.308368-1-jie1x.wang@intel.com> <20210827081740.365037-1-jie1x.wang@intel.com> <20210827081740.365037-3-jie1x.wang@intel.com> In-Reply-To: <20210827081740.365037-3-jie1x.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8b4c1687-1a61-47d3-d1ca-08d96b7b1b61 x-ms-traffictypediagnostic: CH2PR11MB4231: x-ms-exchange-transport-forked: True 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: O83weuhmTLoEfVOWkiduUOona/Y0A0n5ZVbm7o/TV/lXT6ILKl7Kgp/o3NyGKlnaoktbbVpm5s3iK6HIyw5S+AUQyQI3UiBZJS+yywuyHcfk2JJmheoXgZ1mABvlZ/U+H6rkI1gT5AExjH37E3rrUstXXs1ym5P7noRMZIzW4KgfGhZffnHlNMkSaH4HH57G+NT1riZ8MnaNASyOI2k3bp4vhVyfHjN/wp8FD6i5oS+bA+Gkb7NfJGw1fTaM+46+ujR3gLtkVNj9hcIAHxV+ainNAq43S9yK4Z3zpekIj4s+Cc150BBdBSyorvNio1zhryOqmqlmzgFGSScuIAtpBv2Of4caKv2HmOKF15Om+Jjfd0DtSDg3MWZuWl8udbXjvQIlW6Qjna8Vu9YU2x7QrguQeToetGNeGH84YQKyADQxbVQup2eL+ds706/4OAYx5jjPFeK6XhZo8zlDfmlwLEHzbifxW/ElmU6S7t8gEySCfbPwpGK7ZDB/i9zZ5EE32532hz6s5/kU5v8vGaVg0kGLPsmJb+s22fDAjMl3F7ovDfqJ6gybfWY7cbXvu6radFG93qlXkQPSUgberwyItNVJK3hh4gbqq+cV+bMyDUiFi7wLqnA0L3mu0WMmNIYmw0bA8q8JLenrd2GM7seXu1HzljeWPdG2CchYFvcrcLZRhX3/6eGGosHo3fbOnQQDKmei3ghmiBMEdXj0x1WxTA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR11MB5523.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(39860400002)(346002)(136003)(376002)(8676002)(38070700005)(478600001)(83380400001)(4744005)(122000001)(38100700002)(8936002)(71200400001)(55016002)(66946007)(5660300002)(52536014)(4326008)(7696005)(2906002)(9686003)(107886003)(186003)(110136005)(76116006)(33656002)(316002)(86362001)(53546011)(6506007)(54906003)(66476007)(66556008)(64756008)(66446008)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gizMwlLFnrF/mKiHJLvlWIeNrgvk9EfdcX56QlnsaVb425MWUJFKsDrS02oT?= =?us-ascii?Q?i+oy7F5rNMLgVx79WTM5YA4Sw7xod6MzSAiKXZC1s7t0ILFDgNW1xontNnGx?= =?us-ascii?Q?if9a/vxuLsGOCza2pAi6wjE6ndzRYm5E18hs7r2WH/DbXqHtjwnSqoreqxyl?= =?us-ascii?Q?2iOICHb4tRrmiuK0Uathwa9UKggk8FOCLWKzxSuL1YPHaBQSb5bldMHEsDpH?= =?us-ascii?Q?D6/OCswZXfcu7DrZ/vKHejKXdKevpr87oThGnJkBT8pooJTAMepFGYfK5/AW?= =?us-ascii?Q?MaDY01Eq4pUKm/amv3EZTIX4IE69MvWrDdudYMoQe8TjwLM58NBgsDodkb4f?= =?us-ascii?Q?hIWgc+8wkhvu+fGe/dMLK9e9lQOMtwBJSg92J4YUt8smtMM80D5C7J1Di6AT?= =?us-ascii?Q?sU2UKqJGX4ja8CAPdOv50Iz7okmRltC+WRRTa7x10tlTCpraUlsCam1QZmoZ?= =?us-ascii?Q?qJ+zxpk0McHHbJ9I+3A83orH99rmvc6BZqjQ/obEJviAW+NUxmc3QWG5rYvo?= =?us-ascii?Q?+rhD1OtOKgCEtrujb+fmKLhnGWidalX7PTyOknFopLrbQ5vkbvnpbId/FRKH?= =?us-ascii?Q?y7uEbdixz7qsHleDlKnAPVfhkGY2uRIYVTBJfr0EOtrOj4odhXraaWpdJxXL?= =?us-ascii?Q?r9ONtlYMxZZLMCBxVY7Drpt3KOKYktmP9Vrl5pcbiME2z52OtMW9r4vnVWNE?= =?us-ascii?Q?NFdoBGpJrkyjtiADYFhid4D2I4wQWPSG9Gyaf44zwJz+AYRa69D2l1Ta2d3I?= =?us-ascii?Q?4KwFwcZYUekag8Wkc8wXfHkS1x0TNMs+cuggmdiJSxd265Q9nKDh5koBm1On?= =?us-ascii?Q?Zl+wZ34uugcleSv3G9fhZJOsopW2fydtvGMv71AhdItd9BeLInSOoQsEaVf0?= =?us-ascii?Q?wFAL5pYVzAzzKtOw2vg5SjU2HzHVxOGCZHZb4O0fcLscSERTtejhcaOOvJuZ?= =?us-ascii?Q?6+D4MQ4CUOO4WYdKJ0WHYhmrTjV/V4pLZJXAE6uFFGOuR4CZoLCLvWnOFUOs?= =?us-ascii?Q?cXm/MsYPfdX1qV5UOZaP2yOZVTNDNCYqIy8diEQV0X3BNr8MbDIP2HKe2cng?= =?us-ascii?Q?5ACYdxhwDGKqvpmwgwP1GEVi+auRKsbN34nJdB68GrnlqhcknUeKMr1Z5ItD?= =?us-ascii?Q?Mqh2TF3uyW6DhmZfid8lgc5IGeJ+OwRTe4/+eHaFAknvn9W8baTC0Dci2NNg?= =?us-ascii?Q?inzxDeI87JETvjj5v7Nhu2XqpZTmg8+vf++fvn/oo4Rinop2X32BkZ6BYiFF?= =?us-ascii?Q?/Sr7VxmDqnk4H2OGMJOFmxnh7SeyPSi0BNBeE0LVi3GdfRtuGogk+FQ6XJ0w?= =?us-ascii?Q?TfBVEkR00EHC+i9wEmlYzm+0?= 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: CH0PR11MB5523.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b4c1687-1a61-47d3-d1ca-08d96b7b1b61 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2021 05:57:53.3424 (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: bnME7f6x1o0/Gj+En19sSLA6t1Cl+a2rablpF6j/CC5fgBg9m8JwI/6MqDAi9hWB9jEraoZYqho8p7gvAQCZWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR11MB4231 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v8 2/2] app/testpmd: fix testpmd doesn't show RSS hash offload 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" > -----Original Message----- > From: Wang, Jie1X > Sent: Friday, August 27, 2021 16:18 > To: dev@dpdk.org > Cc: Li, Xiaoyun ; andrew.rybchenko@oktetlabs.ru; > thomas@monjalon.net; Yigit, Ferruh ; Wang, Jie1X > > Subject: [PATCH v8 2/2] app/testpmd: fix testpmd doesn't show RSS hash > offload >=20 > The driver may change offloads info into dev->data->dev_conf in dev_confi= gure > which may cause port->dev_conf and port->rx_conf contain outdated values. >=20 > This patch updates the offloads info if it changes to fix this issue. >=20 > Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings") >=20 > Signed-off-by: Jie Wang > --- > app/test-pmd/testpmd.c | 34 ++++++++++++++++++++++++++++++++++ > app/test-pmd/testpmd.h | 2 ++ > app/test-pmd/util.c | 15 +++++++++++++++ > 3 files changed, 51 insertions(+) >=20 Acked-by: Xiaoyun Li