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 77F4FA0555 for ; Fri, 10 Jun 2022 13:28:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A9D8410F2; Fri, 10 Jun 2022 13:28:56 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id C970040689; Fri, 10 Jun 2022 13:28:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654860533; x=1686396533; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=c5xunPvBYziuNDz8ivZV+GB5rqOCEHTdPdbVDoeIVFs=; b=T9ZK5wA8Y/xVSqEoMYBgRSEZIgfB6wDDIRP0snBbQmh0Odrtj6BMTiiy Cp0jWsTalx3pqN1jJiZMEKByammPpzw8/bUXLuYR/bnZBmhTn6IH2CWjA jT6WoQJmsYzttpi8CfKuJGbZo+Gn2SXlR3RjkIOyExfnl82PJHLR47fnC f2nfyrpXsyZaXRCNoLeD6fNSNe9QsbLf1KoK5u1unoIDZZqz0cRIveI1O q5WbrMCLj709K6FQweLVfXbJ1VHW2ysq3trWQy+khNjefNQM+Gl81867M JIELxG2MyDIka1ri55LI5xLVn6Vy+zUy5X78BDgLe6twshxmQAAILOzC9 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10373"; a="258036742" X-IronPort-AV: E=Sophos;i="5.91,290,1647327600"; d="scan'208";a="258036742" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2022 04:28:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,290,1647327600"; d="scan'208";a="828213096" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga006.fm.intel.com with ESMTP; 10 Jun 2022 04:28:48 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 10 Jun 2022 04:28:48 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 10 Jun 2022 04:28:47 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Fri, 10 Jun 2022 04:28:47 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Fri, 10 Jun 2022 04:28:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K9pdJojjZeOPpz3WluJyo4tdRwjJWKt6Rk7bdmuU5yzDSjqIwgmtfSUqD1JPBsay6s415elpa2vpdIUhh5tqSaZXBOX89sBHXHvtXXQyynhWEgS9zGuGxfgY18Q86qjAA1D7gtAA89OX87yf7KUMoQTEFaGTv/G/OHn/bm1dmVrgxkWezp2B6xXPRrGnEENtXRhx/4a5t2uz5w2GK+xJevXIAZ7fM9zpY3f2VXs0a5ScuDt5cq/Ign2THTRhzsbuIC2cOa8hDUE32cUTFIoEQuHUL0kkvTUkkcyWwvYxSlpcG/1Tus8TCGzPnXw+j32nIXX6OOjpM0gdcc/J5VzKNA== 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=c5xunPvBYziuNDz8ivZV+GB5rqOCEHTdPdbVDoeIVFs=; b=EvLlqC4Jr29vvMJOW3040k7GwpRt4ddiue/qQr9Su9VQmXE+xD2oPQm5xTM02jH9BQs0yVA7kH93xrB6jZE4UA0oehQC78c45503U01MrxyIEZ7i5BlZsi6SrQt6cxgmEPm9iV26UB9669JB56cURtvCJUtWHaAK12auVsfJo7Tn7mPkUmsWo1Sj2Pu0MTCuhqgW1ooXViqG4sN6WkAyAC0+359l0M5XEybJXyVxrFmBiCZeu1Y2uHyu+d3jkOcOeVqMUNdSRTQw/PqXq4mnyMX6Nyy6lSLGtPJMIXarmWtR+fnzvg1hPPv4IQfJGT7cXU1A7m5BlCt6OumiGxi2+A== 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 BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) by BYAPR11MB3800.namprd11.prod.outlook.com (2603:10b6:a03:f5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Fri, 10 Jun 2022 11:28:41 +0000 Received: from BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::8d45:e039:1770:338]) by BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::8d45:e039:1770:338%4]) with mapi id 15.20.5314.019; Fri, 10 Jun 2022 11:28:41 +0000 From: "Jiang, YuX" To: Thomas Monjalon , Dmitry Kozlyuk CC: "dev@dpdk.org" , "stable@dpdk.org" , "Matan Azrad" , "Li, Xiaoyun" , "Singh, Aman Deep" , "Zhang, Yuying" Subject: RE: [PATCH v3 1/2] app/testpmd: do not poll stopped queues Thread-Topic: [PATCH v3 1/2] app/testpmd: do not poll stopped queues Thread-Index: AQHYMiJ/khA+85snEU2HO3m6r7al7a0wONiAgBjct6A= Date: Fri, 10 Jun 2022 11:28:40 +0000 Message-ID: References: <20220306232310.613552-1-dkozlyuk@nvidia.com> <20220307125351.697936-1-dkozlyuk@nvidia.com> <20220307125351.697936-2-dkozlyuk@nvidia.com> <4176885.QLehXeTyEo@thomas> In-Reply-To: <4176885.QLehXeTyEo@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows 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: 399bc554-cb3c-49cb-09b4-08da4ad45ed0 x-ms-traffictypediagnostic: BYAPR11MB3800:EE_ 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: px4biXuFgk+UQspv2XcsBbwgAE8txebFJds+wHnRTVtEALwZC8NFRQdD/8dcI1mPhcp+wcuqThe9P8wEHmJfSxARcEZsb7SD2ariazmlLa0WWxaKbMi+82wqSo5zYhv8ilLetq/4dEodV5sqa5TljXaaz/ECwhVmBwUTtXLLGx2me6aY3KnMZZCGhu0kzGk1Di4JWMwIcO+lE9Le/q/hTsLJnOxjV8gdGi1HxIorc9s9Et/RnC9EFvUtFf4B1sPXAvnYkGDBSzYCMbGxKsHfdWf2+8ntjUGP3hv3ImZkzY1KVvcoGHcvuoRvvJDFCl9H57aZWVfEkriYCmBKetFLoyV+wlp6GTIOvPHioLAKJpsegKTw6mzc50BqaoGGClh41X7oI2tOGAa4SbC9A1EWMlJsWGCRiXacRlTND7hN4kmlEfK8JH90YAfxnNOki2FMz2uXDTKaSm+CmC2AWPVqagn+YpmK/1mhrEW7aYOid7Dzmcpk7cDmcYiaHjjKeukxefdrzY9qsJmWycKsgRNNkQOTz6p8lDNPpZWBZNwlz+EvVLj5SEUeKHeH0KtdolRg2RWhheK0k6IJD9je5Cd3C3TROZ/tuGlFC+Scfpo0rJQFKVSjsFL/fF37OB9xBXLpO3OEoYPDRFH0dILXjiOs0rLHtJhn7ZtLFYMHazCXTfKujNx++2KOfalMTfR4divS1YafELxti+CJPyK0b6gqvzOVFWoKdYQXtEjmlkAMmRQQP4xEuLVzpSZ8G2bOs2T7lK38j5zVW8vMsqKxNSyaOwg/s50gXE2nMRLamghJ/Y4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2711.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(33656002)(107886003)(186003)(76116006)(38070700005)(122000001)(64756008)(55016003)(4326008)(8676002)(83380400001)(7696005)(8936002)(52536014)(5660300002)(66556008)(66946007)(66476007)(38100700002)(2906002)(82960400001)(26005)(6506007)(9686003)(54906003)(66446008)(110136005)(966005)(53546011)(316002)(86362001)(71200400001)(508600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?N3ooPO2hslxjHgq7d+PqmDosD1eXFtOTwN5J2Tny0moXSN/lG5I+pY/3q6ev?= =?us-ascii?Q?FvVUK+82X2ME6kPJTr+/4rHDadKmGlv0+KIkjpnl4NIWkzgXSxrhX8/l1kpl?= =?us-ascii?Q?qZ+jwmBilVNDdcsFV+3H5LgnAWN6f2mqAbpSl8O1HAv5DKOT2+/69KbuoPqU?= =?us-ascii?Q?oyfRlPKdDzM1EWqCC3WO+dVMs4tuXCT47y9ZQFGFPDY9QkBGvJpVkevqM0dS?= =?us-ascii?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0kJoi9s/60llS?= =?us-ascii?Q?IqaLXpi0nnS5IvYEGu9wa31cdqs3XOSlTT4MG54fMUXfo0EBNlEV2z7sk688?= =?us-ascii?Q?+JoNYTESzblwbWwOmzN5CeMivt6NZFhhKCG+EUBr0RRk/C29bM9scK1qMpWh?= =?us-ascii?Q?/y55ZE1200FoTOuWtn3gwx+01p3tgD4KMAC2BkxrXnjKKfYoQCsEBTqnf003?= =?us-ascii?Q?vIwtdlEhdUrUtITbc6EfwedhbO1evmwRM7GAw6QGHYn1VtSZtO4qzS1/7TPS?= =?us-ascii?Q?VpuYVmJvYddyBF7DtVsuCyIbr1GYafLMT8lBuJpq41Qb2ZDsRlCkfHm4ehs/?= =?us-ascii?Q?WACUQa1NRtwmkgluRCuSdyXKMjfPQ2Xm+bbbg4GwU0OGu/rAkhAAl8UVOcku?= =?us-ascii?Q?sgfNWKFO2h2lBUy7vO8HsP6iJeCLXWfMemXpeh3ftIzSzKo3mHgzi/fXRkUk?= =?us-ascii?Q?RC5aopqtJlm7RaoBn+eeweZDwbfXTGgiBpp2zNcs+obxCxipPqRRVrM3yPQc?= =?us-ascii?Q?58+f/T8RAC6AUcsCrYSJ1xTTZdUbdDIOD09B1IKpqysq6o4HQfk6wdEHjBU7?= =?us-ascii?Q?fnwDnmQIpCffjdiqvRFcExmlbSCW6MWhqoRGu32+OZep8OxUJTOI6IBU68oZ?= =?us-ascii?Q?hEJNZc9pGA=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: BYAPR11MB2711.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 399bc554-cb3c-49cb-09b4-08da4ad45ed0 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2022 11:28:41.0092 (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: mwCcyoTmEfLpDFsf0hE7tQL6KX5zpF+1N157W7UtQattdUfQCf4o0nYKDYNfWGUamqDg5j25LaqViG+R3DmRGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3800 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi Kozlyuk, Here is bugzilla ticket https://bugs.dpdk.org/show_bug.cgi?id=3D1028, its b= ad commit id is this patch. Could you please have a look? Thanks so much. Best regards, Yu Jiang > -----Original Message----- > From: Thomas Monjalon > Sent: Wednesday, May 25, 2022 11:46 PM > To: Dmitry Kozlyuk > Cc: dev@dpdk.org; stable@dpdk.org; Matan Azrad ; Li, > Xiaoyun ; Singh, Aman Deep > ; Zhang, Yuying > Subject: Re: [PATCH v3 1/2] app/testpmd: do not poll stopped queues >=20 > 07/03/2022 13:53, Dmitry Kozlyuk: > > Calling Rx/Tx functions on a stopped queue is not supported. > > Do not run packet forwarding for streams that use stopped queues. > > > > Each stream has a read-only "disabled" field, so that lcore function > > can skip such streams. > > Forwarding engines can set this field > > using a new "stream_init" callback function by checking relevant queue > > states, which are stored along with queue configurations (not all PMDs > > implement rte_eth_rx/tx_queue_info_get() to query the state from > > there). > > > > Fixes: 5f4ec54f1d16 ("testpmd: queue start and stop") > > Cc: stable@dpdk.org > > > > Signed-off-by: Dmitry Kozlyuk > > Acked-by: Matan Azrad >=20 > This patch is waiting for long without any comment. >=20 > Applied in next-net, thanks. >=20