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 002D3424A4 for ; Sat, 28 Jan 2023 00:04:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E92AE410DC; Sat, 28 Jan 2023 00:04:53 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2044.outbound.protection.outlook.com [40.107.244.44]) by mails.dpdk.org (Postfix) with ESMTP id 5C1F540146; Sat, 28 Jan 2023 00:04:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BrOmLCBzaPQcUdjkOZ2RG/DCviiaCbKQc4xLkAj1gya43iq+/seHkQzbcMBCBPSWdj+Zb8h4FvnoHV1ycraY117+vKDjjNKK2mm8kmKfVABPVKrjwBTo3G/GmaOB52aJow34eS/Jx99JS5+CyhaZTLXmy9nLfmnGXlALZJOdjSUeask+FPwzq3If182Z3tGKAVc+/1Zbdrbph8GxTQ5uo1gyztDuoCVF9i1mv7icehg3vFeOKIl959eoID2KnjW1n1PzlBzOM2rSCfmDZIgFZx0zsl5VILtx4pRxeC6koHMfetM5zVXktPyBP/cH6EAjnV+caMtk4Z8NV5Pg3NAPvQ== 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=bypHH4rjmbw6NZLHzqfXfxM+wP8sysSGq3Z7XTC3a6I=; b=nbyN0IHM6uzm0eJJ1Pg/fv/OeYVsXtkjI/k6Uo/bjyIcE/t5BquALe5nU5oIM72y2Xq2fJtXr+2b/FzcAjjAdW+EFJJ44hR2EvvdhcM6lvMSfwSF/j2jqZGE7/1Yju4DE6s36AnjUaa2O3NPtTawjQuGDMlZ966u9T8r9fU2wlofuzBlbSu8JdKNBiz9i2ThNOrQ3JoTeGr/QmZxUpjW7IGDIwcP4YzdVa03S/2K8pHFPgEeTOMpCtONlDliCr9+F/K1A4606PQO/TPtUOtZg8MM+kCDnruT7jyAAmgeeYXStJh6jSr2IqJO/BoUN2Ngv0PW8t6N8drhKO0Tg07Mdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bypHH4rjmbw6NZLHzqfXfxM+wP8sysSGq3Z7XTC3a6I=; b=tZJ7pJAGaDjF9fOj3RTiycIq6INlzze19akxzoU7pqms4Lje9MUvEoBi6A7L6edFCsgRM2bVeP6ZK2oT3gta32MFZaN+Tv737O2vg24RKfbt2Euqj1qV2m8dft+l/Kx7BpL9ARfaVOjqVI6JRoUeY+LDZ/HtLkHcc4yZlniuy38= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DM4PR12MB5293.namprd12.prod.outlook.com (2603:10b6:5:390::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22; Fri, 27 Jan 2023 23:04:50 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%8]) with mapi id 15.20.6043.022; Fri, 27 Jan 2023 23:04:50 +0000 Message-ID: <70281c9a-2e38-1818-80cf-4125c8f17779@amd.com> Date: Fri, 27 Jan 2023 23:04:44 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v4] app/testpmd: fix interactive mode with no ports Content-Language: en-US To: Gregory Etelson , dev@dpdk.org Cc: stephen@networkplumber.org, stable@dpdk.org, Aman Singh , Yuying Zhang References: <20221109170918.2887-1-getelson@nvidia.com> <20230119174559.16120-1-getelson@nvidia.com> From: Ferruh Yigit In-Reply-To: <20230119174559.16120-1-getelson@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO3P265CA0032.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:387::15) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM4PR12MB5293:EE_ X-MS-Office365-Filtering-Correlation-Id: 08f9d12a-5737-4499-4aee-08db00bae475 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qo66CXQQ9Iv24+VyZyoA554UBI3pWKpcWUExWhxsQy29p8k2DoAnbdUnl7sF3KDZGeAcg9jRnKQJvKPTSmj/9fFLPUs8s+amA9wG7y5ADEXWuP+8JRFr2wNTj2d/KJFliHH/YHYKn61vQdb25knW8RwSwD9kFDhz8sTdovVxRvazxOL10H0d0FO4lrE46QX8qTSJnmidbNgtbhBCJyNwMtieGxn/GhIEO21yFs3k4uQ3jGW1S3Zr960hMr8XMZCAOc0PJ0JYhq/sf+EKM32rCRhT5v2J9P6LmM4KW11mX1Jh/oK75+SBFrzXtCpNw+CUxZ8Q0Cf5BFUpVbAv8oEJST0zdggTbcCpfhkFOPgZkT+96Kj0wwgTsGTLR5Q/JiGnZpbtNg4gkqEYB40NesT+AahVZiYcBLv5Iep6acJxvKchAo2VOGQ3VcqN0+4twzME1wyGGCyK+cxVGSduqQyggFMI5kQvEYMmnyiGeWy7j6VlRD32lSewl6hLMR7qbHQRl9xCaZxkGmW6TGo/S9tk60uGWfache2T3+4/e1+Z5J8JlxwxHWTPI2ybqbmt/aaGh9193cckuZnZaALpH88DFawkzKbvYacEg+4dVWJUESXUn6owVAbMTvGRsyKTIJ/WimT63X+EXkH71okVJVQ1KlWbWcfUODEEgB1Z0mTrZpC1sxV88HPXKrtQCVaInQf4lVq4GyxanYSa9L2jjyAf6mlUCdHyL9bjJc21zPzk0Ck= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(376002)(39860400002)(34036004)(366004)(136003)(396003)(451199018)(31686004)(44832011)(2906002)(5660300002)(4744005)(41300700001)(41320700001)(6666004)(26005)(8936002)(6486002)(186003)(53546011)(508600001)(6506007)(6512007)(2616005)(66476007)(83380400001)(36756003)(66556008)(86362001)(316002)(66946007)(38100700002)(4326008)(8676002)(31696002)(54906003)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V1VyYlB4c3dnSkxBRnlTRlBIbjVKTW1xVlZXckhsQUZzcHV1cSswN3dkd010?= =?utf-8?B?R2VqcEM2T2dEaG5adnplV05Hdk9OdXllSFdXQ3hNRWVhS3lOaDkxTXFHeHpm?= =?utf-8?B?WUVwdU9FVUltM09CQ2RRU0VBdG1LdHZGVEdRZENob01jOFMwOHdoRUl5cTFz?= =?utf-8?B?RStKT2JzOUs0SW95ZTJYOUhnRDMzZ1d1K2E2bm83ZzNDR080QWd0SjBrSXVB?= =?utf-8?B?amRVanZLalFVSUpadDVYeFJOaDN4T3pKR0pGWlJITXpvblRwdDZSYXplZWNC?= =?utf-8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E9ESmZMTmVuSFVYKzZFN2c2MjA2Y3pJSlYxdnBLTmNvUmFuVjdl?= =?utf-8?Q?W3yZzM1dghTOMKMtirtc/zta9?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08f9d12a-5737-4499-4aee-08db00bae475 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2023 23:04:50.2990 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ocQPzeuRBBuNLFjaxox7flXNcVMJofnpL3eNB8mLoE3q41oOLp9biguuxANTX7R5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5293 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 On 1/19/2023 5:45 PM, Gregory Etelson wrote: > Testpmd terminated unconditionally if it failed to start all ports. > > The patch allows testpmd to get into the command line, > if the interactive mode was requested. > > Fixes: 6937d2103e22 ("app/testpmd: add option to not start device") > > Cc: stephen@networkplumber.org > Cc: stable@dpdk.org > > Signed-off-by: Gregory Etelson Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.