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 A70D9A0093; Thu, 9 Dec 2021 15:11:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 271634014F; Thu, 9 Dec 2021 15:11:04 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2081.outbound.protection.outlook.com [40.107.244.81]) by mails.dpdk.org (Postfix) with ESMTP id 0EEE240041 for ; Thu, 9 Dec 2021 15:11:03 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n40CdOBmHxzG1CSTJ6FPQigtkGon8xnlsNJCSXA39dINlBFvLfHnz2siBMjiwmDOORsBDZXYrtdlYiAmyItyi/msVUO9mOwaCi6s2CpGMrBJJYJYGP6LufiL4p+CXqULcGAHW/28O/9tzcPtfdjOtSpiad/WwnmszGCOoEItj49u21dhqLH90l64pW/+iJSbQdxPu/koMjwXb1PXf0E6j16Vc5M+di7j68aKMk5DjEnwOwmdCfHK/IUFx+CeXPo4axnOQIQaUZvs9FHnxAHoyLXON+/enzJWSB2WVbG4JzqCck6TOXuJD4VOMQEyUwZCbxbkBKKUcpBpIwbcrKh5rw== 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=8C4V3hfqU0QKU6Y8fWO730iAZJ0rpmNKL43Veddbe5A=; b=DJXExyboSaejo84d6SEd6g067/BSOdmA7q/gTbPDTtLfSPNvRlEKIh5EAMyD6gKICZzJOTeLe/kGoqjILieEs4XvMLUY3jU4WQOfAwvwIrjSpMZUPohRGKuoiHKgxwLFdGQCl0+/pBMQz0bzIUxvGF7f2r34H/foMijHlUKw/f/vGCdM75aUnoFjdN5dP8m2vubytjIOrLySK8DqVH2kygKW+gKEP84GipzXOIwRp/TzC+9UgOgL5QhJi5fFV9mNpFTBBUf2YQqW52iHabL9BxF4Nbi/LyjqIEf8nQN711xnSRLAj7kY8NZIpM2vmM6AGy84HPtfkQcAuWe8VGEDLg== 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=8C4V3hfqU0QKU6Y8fWO730iAZJ0rpmNKL43Veddbe5A=; b=bRpJa5YRqcHQGMOLRGfkQxl5gzJzLO8MkiqSreWQMCUFJk9fYe9E6q9R8f1ndJqMeOJoW2D2kemDeGdUAII/myKuiaNH8/vK3WQZhToa8Y1fPdIZ61Mb/BuT7GRPY/yD/ChWbbjC74cwvmLgXFvQTA7FlRz1qj5J9v1JiZO327kGe6fzjOKxY1y9JHSWD8AUbvjnRQ6FZoL69Bm6MmfsdeEb8EIbn4EjaSoE/O01+snNV5uFSIegU1ImbsNOR1TY2+WQe9UN0cxkN3wz3vOopTVGFbDO0wtwjTt673GRpERZTXy3t4cWPeLT8IoONsg0LxH8Bg5jvLph8DD+emyphw== Received: from MN2PR12MB3087.namprd12.prod.outlook.com (2603:10b6:208:d2::32) by MN2PR12MB3088.namprd12.prod.outlook.com (2603:10b6:208:c4::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.25; Thu, 9 Dec 2021 14:10:56 +0000 Received: from MN2PR12MB3087.namprd12.prod.outlook.com ([fe80::64d8:95f8:d7c3:4b88]) by MN2PR12MB3087.namprd12.prod.outlook.com ([fe80::64d8:95f8:d7c3:4b88%3]) with mapi id 15.20.4755.025; Thu, 9 Dec 2021 14:10:56 +0000 From: Dmitry Kozlyuk To: dev CC: Xiaoyun Li , Aman Singh Subject: testpmd behavior with stopped queues Thread-Topic: testpmd behavior with stopped queues Thread-Index: AdftBVgc4i/1i9QJTWeaPxuWssO24w== Date: Thu, 9 Dec 2021 14:10:56 +0000 Message-ID: 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: 856fdb7f-8ca3-44e8-4762-08d9bb1db811 x-ms-traffictypediagnostic: MN2PR12MB3088:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hZTZc87ZaYluPbuplYeXpGuHPFGeAFvA6t8aC2zaSxw0nQt8xNE7fvqCbtnAIF0v1fQMfXrn/vawOcuxf+LSpEuwXXTBEnd9JL+O5GmMnaBqwf9ApGhwixCUuLZ0BCx5xsWaFG3PkI5xO4ZFzHYeTVJJ+tCDXAdhDyHm5tbIHgit17xGMQAc2Zy6tvCduxeWFrbG9d/Abm3MWKPs2BGnX1S5pb0TaB1PI2kDAyC/8oD/DsrE8ykepakQQQBrLPhzRnFeWmc9QjT0yWGEsAde4J1ZM5EeUT0Pca8+TDlNW9x1q2hOaQNB+hFI1msminrfUQyCj8O6NH2Owlr4Z5TawNk0ZwbkqUQDdVnAEuPKdqoYjEHMkTh9ami3HKyjEIrOomzBn9/l4w5oL70W/8gS1cRisrCYGLDvNuXVR+ikS4tL0Egx0uQZdvFIsCY9uGfFKR04wjycJ79q9paTQ5z0HpvT6Cj2qSGfq3NBcjzYl/fipOlEgefOVhMDUt1HWa7L5cw1fTT6JaBC3p1mK4E+UNSQKRZT3l7pG5blNFI1+3ZDHwJ8+SyI7OD8NuH5w8LHi70ZDa0RNN/YaiK5tbHk3sB8e6MDNtEF2l6HDW0BNWVf/5v3Ms9TMFCAUODZN3T4reXm6iKh14XTYQLMBZuMLaBJ1hN5sNXvgFj9g6qqNYreeXKcd3aCMMoFT4rGEqL8FWkNTY2/yWdief2K0OfI1A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB3087.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66946007)(66446008)(66476007)(66556008)(64756008)(8676002)(7696005)(52536014)(76116006)(71200400001)(508600001)(6916009)(4326008)(38100700002)(122000001)(26005)(5660300002)(6506007)(9686003)(186003)(4744005)(2906002)(316002)(33656002)(8936002)(86362001)(54906003)(55016003)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?W6Kfj2XewiWEKyxd3far1P4ePHexPAC01TGg38zXHQ2WB7/1jYbo9zlmEXFy?= =?us-ascii?Q?GUnF+7L3wdDNk7d9fWbE18+/s3snwXeF+bB/4ankyiOXUUZPsCbYMaGgXCWv?= =?us-ascii?Q?oWp1v7RGbkRql7UEwm02raXHSwuh1sXuPZTGU7N3bWFSEdFgd42UvYR5wGFE?= =?us-ascii?Q?bgEhziDWycwhYbgqMRaHslcanJu6f660gVpY1dMh1am8wa+Bdp5RwD3Oa3zq?= =?us-ascii?Q?1roMWI0jdUThNwSvEJGGbX8M9+kU+wzFiXzOO2RN6oHaR6uRFbdMpQIcV+0O?= =?us-ascii?Q?/PDOohLh3ZrtnXR+P2YJob1EswI0eiBEzjSQunL2Ezi1CAZUKoxQE7xWInlc?= =?us-ascii?Q?aDE7jk6ZuLHJEpD4Y/97xfKn39fFRB11zsscJNIKvJcwi0ergm5cUoX+d5A9?= =?us-ascii?Q?1J9MFJ5uQi+yD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7LZvOX+Bi?= =?us-ascii?Q?3eNJPRAddrseFYq32fRzWbmiso+snkcgSDgP2Tscz29hJFtigArvKJJ012sL?= =?us-ascii?Q?zSmqNH/wEUePjx3CWHHMuEW3VN4KYcbWt2gMN0GIKcPbnLNrg2KvZoCqdyPr?= =?us-ascii?Q?M55U5DoDjcwSYK+ocaoKrJRlJHlCQfr95r9J2Ylsjw2PcHz05NcK7DsQ2OFf?= =?us-ascii?Q?RUvfKCWxmTMQf7rXtO3hM6eyFj48YSjgdLSTEXwzxOzc4QjDH/zSXADQ3xm3?= =?us-ascii?Q?sIJ0J+24vGydGLfmRZdYU8ArwbFymtHXAg7Ezh+a/eDCVBV5q7/lmqyEV4/U?= =?us-ascii?Q?Jw=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: MN2PR12MB3087.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 856fdb7f-8ca3-44e8-4762-08d9bb1db811 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2021 14:10:56.5202 (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: Yi9+qDo/IZU8vMCTiUEDkkkyHEI7qyuGftn6OeFZqoTF1XcA3hLjuHC/gFLViMZ1gYoRVcwAQPbl6zw6O2ik5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3088 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 Hello, There are testpmd commands to start/stop RxQ/TxQ: "port 1 rxq 0 stop", "port 1 txq 0 start", etc. IIUC, when a queue is stopped, testpmd should ignore it. Currently, it doesn't and tries to use the stopped queue. If a RxQ is stopped, nothing will be send to the paired TxQ. If a TxQ is stopped, there is nowhere to send the packets from the paired RxQ, so it is logical to drop them. I'm going to implement this behavior, any objections?