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 E7C35A00BE for ; Wed, 9 Mar 2022 11:36:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D1932410E6; Wed, 9 Mar 2022 11:36:19 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2077.outbound.protection.outlook.com [40.107.220.77]) by mails.dpdk.org (Postfix) with ESMTP id 8535F40150; Wed, 9 Mar 2022 11:36:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bd/0F4l6urMiNlZxWwlubNzEO9XUvkzgYzanM4rmjMsZrV6GG/VeZf/z9sasRmmI1KJP659QPIllazCcnKywvFS6UKi0Z5bTlowzECvCvldjrN4y2jODAnxMomAzonYDT4z7fioChpVu4WGtXl2r3IafzILuPPAWuvbxngvRAxDxEWKZuE8baTgdZnnQqU0o3D3LB63YAoZtniroqglLChqwyElsQcvzj5+OZY6Apy+llvcOtrakBmugfBal3ri7AT8XtPsNjPtyBrDLc/lIHoNxdAIjd/pHKzxysPkJSpL84tJ3wN5mRkGx7ZQAaNSKZziimyxbVoHUO1FqkZYZKg== 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=3ALhDTzgEWpyShtatP2Pv+yyDDYCaxHmoFTbCmz2XwQ=; b=V9JdvyDRYwogq9jPi0dWsTfMoLSni7p5can7CmfGIW1tkYZ3+xL+XZG5y/HKlDbJTy9CIlFU5AAuMRnfyfVqwCtc491EHu2z0/KQ4Vefx/CnWh/gwKSDvGAZ9uqhOQFxwTUCrMlnGadCxzfK7YlAJN217t93dZWJUvQpbv3vCA5C+VK0YS3qW074hfeewfss7aGtiNwMLTZ3rUCslE3n0/7PCVaZZwn3c5/D0tjxOlCI53z8ujBwFBQm6vBvyXDBwft8BJOE8+LlAT+ny1XQ17f+rXJyNyBq+VXWG5OFnCQ8wmY98kLofyUPwspYHVQYp4PnqEehwsx3R70csnVsZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3ALhDTzgEWpyShtatP2Pv+yyDDYCaxHmoFTbCmz2XwQ=; b=TpCiemDE35kbgtSAOvC7Z96COeQwUklkA2Ke6NX6avOG7JDa5q/mNyWkn/MQl32/gd8CN8BSffe7HvprDNf6eu3iXc4488xl+byU2je4v08qPHX6rv+OfhKaO6trz1+SH9d+H9DUZ/85bqTmn8KzOM/jmXIb1SWDdnDZ4obQgvSOqbTPZb1Ua/6pHXFkS4g7hWjl+h4SdNF4NtQ5jkEguI6y4R3SY7n6NPenfBWDimbo7fN7boRa+mtovhLP01R+Kr4m/S44pPyNgN5Uk1R1Yos9zD9aTnW6VO/jOA0hyETnakxoiwSZpJhdQAgL8A5HVW27bNxhcTYC2EFrqqyWzg== Received: from BL1PR12MB5945.namprd12.prod.outlook.com (2603:10b6:208:398::14) by BN6PR12MB1922.namprd12.prod.outlook.com (2603:10b6:404:106::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.27; Wed, 9 Mar 2022 10:36:15 +0000 Received: from BL1PR12MB5945.namprd12.prod.outlook.com ([fe80::6915:ed47:de2d:1483]) by BL1PR12MB5945.namprd12.prod.outlook.com ([fe80::6915:ed47:de2d:1483%8]) with mapi id 15.20.5038.027; Wed, 9 Mar 2022 10:36:15 +0000 From: Dmitry Kozlyuk To: Dmitry Kozlyuk , "dev@dpdk.org" CC: "stable@dpdk.org" , Matan Azrad , Xiaoyun Li , Aman Singh , Yuying Zhang 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: AQHYMiJ5OB8boY5WvE61YnaQ0YHiw6y22YSw Date: Wed, 9 Mar 2022 10:36:15 +0000 Message-ID: References: <20220306232310.613552-1-dkozlyuk@nvidia.com> <20220307125351.697936-1-dkozlyuk@nvidia.com> <20220307125351.697936-2-dkozlyuk@nvidia.com> In-Reply-To: <20220307125351.697936-2-dkozlyuk@nvidia.com> Accept-Language: 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=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9d9f6720-6f42-458e-79af-08da01b8a390 x-ms-traffictypediagnostic: BN6PR12MB1922: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: 2ViEdAiVNb7O29hA71I96vwxxyTfcXvyhh7sMSxORpblLOV4ABfmTo+Nq/CHKuBAFInguvng67/pd9bTKkpSAc5JXmLe1PaKjTwEsAqwllfTcx/yLhvjQ1h80iy4AzZNmskY+mHCx4ccO8NrN706ooMTtbEhK8wzhFNp2Fg4Fl94QveUY8EJ5cUZoJ2XFyNm24H4YouaDtOO9/wke/lehqeOD6UZtdWk2QV3uDoRdbGDg3IvBb7ySSxaQWeKI7FeByhslcguOWm4FC40CL+v7gDhL2/wfQk+dSUMDqmw59vXSYQV/cVGbhI5UbVdlVoxsRRerr5D6wbWNzhOyRrCWSUn1LaIQtBP4ABsaWaRnwFZ01mcjBCYp7gGaWWSGgwyfMnpgezTIK9sAlUwPZ0Vhqa3qFioY+6+OmlJh+IYIdCrTXPMt2MYspTCH/kpJ+9t/DndiJA8hUMwXI1PgomTQlTVKGrc9EL0vLnkNwemMS4yTcodQpkuWzYxHhNe3jgp84K2x2iZ3IkRPPNNvbsQ0lgvWS8uGif7Qh3a6nKU4ASUKdYT3GCvINIQSBLfKQTWohyuTGHzJks5BhIOXssh9zfBsBCAUscbM5XabEPzRgYsKqv/oyjxF6sLq58KQ8iAlTY25Rss5Yq3vrFz+6l1M+i5KFqqhScB4z3KCXkn8mK9/od6kFG7qtpM0RrlYZuk+MY6W2WaTeyhLI0BcDcYag== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL1PR12MB5945.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(86362001)(6506007)(54906003)(122000001)(55016003)(9686003)(7696005)(52536014)(66476007)(64756008)(110136005)(4326008)(76116006)(66556008)(8936002)(66946007)(316002)(8676002)(186003)(26005)(5660300002)(2906002)(33656002)(71200400001)(508600001)(83380400001)(38070700005)(38100700002)(4744005)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zeiXJ5p8+UeDsfikpUIiP0S5g4R74ygVO1OkMS0/76RhAPyVRx5OCBQBzcC8?= =?us-ascii?Q?ILOMxxwU4mumAR5p/9fR7lrry1A57SlPaWUsWDNrM/wuk5RUynsbZXYIPowG?= =?us-ascii?Q?3I706k0rUEy9Lumo5TFAg/SifOm5a4x1c3DNJb4gxXvi0EWqZdO/0P+jTJ9a?= =?us-ascii?Q?VrtuMSvFbCV3wsnevzxT9VscTe79jyGrM9NVKxcyk1Ngt8NI5JNmwv315srS?= =?us-ascii?Q?pPWUb+m5KY7PAGX3nOFcygKHaIWZur6faltPij0ey4L4dGbMw6arhTotO+nt?= =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MyBDPPUSTbN4s/2cXF1ef7T0OrP?= =?us-ascii?Q?GXFyJH1uj1XlK0GMZHqT5V8nZnYEh2TwcPeUVqppKTgX540oQBfPO1Ho9me1?= =?us-ascii?Q?gCgtAgy5oA+kY5zuooFhPcQ+8TVcwVcZSpiRcaIn6SuwkEdQL2+J79I4g0nF?= =?us-ascii?Q?uAGJL4v25BdnoaBc6yq5jhfyERMLSIOE8IncRBzHurhd+LlApRtP4Ga8TItU?= =?us-ascii?Q?lcB/DXzKOZ76EQqiUcnOC22ikThEiSDVuuD4IkNLMmBaKBW1mLeYPkxXUTvo?= =?us-ascii?Q?AgSRL2dGcosdRXB+jEruJ8SO842apJ8mI06cfHDItsYoaXcnf1N4ky47QNrM?= =?us-ascii?Q?NuEo7Sa6WQ+fS2xp83iL3Qm2ojGdwR0W6/+1cr70F6rF2Ixu6SSoHGYFKl6J?= =?us-ascii?Q?kW2oeVZYrdjlDEMTnVwXrx+AYR7fegbKPI5gvkMkQ1l2gn44viCk+3y2YYJE?= =?us-ascii?Q?PQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5945.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d9f6720-6f42-458e-79af-08da01b8a390 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2022 10:36:15.5473 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: j3LQ/r5eWXOX1CH07yyKYKEVhcWIBXMj2plIVCK97/G1Tlfm0Lsy5l80Sr5zweU91uhlOXhn0dXuQG63d6pt3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1922 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 > Calling Rx/Tx functions on a stopped queue is not supported. > Do not run packet forwarding for streams that use stopped queues. >=20 > 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). >=20 > Fixes: 5f4ec54f1d16 ("testpmd: queue start and stop") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dmitry Kozlyuk > Acked-by: Matan Azrad > --- Pinging testpmd maintainers for this bugfix. The sibling ethdev patch will have to wait until the next release cycle.