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 BA20EA00C2; Thu, 13 Oct 2022 19:43:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A5FA400D4; Thu, 13 Oct 2022 19:43:04 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 004A940041; Thu, 13 Oct 2022 19:43:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665682982; x=1697218982; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=/76JD6o+1bQ3UX6vDWMaF6dI1TzandvO1JSMAoDehXE=; b=ZwSbkFKPEwyjjBcFF6tlgSuxibmrWUBUzNrlctOogRC8KU2omDBfDy0m vN8PmPaXqpzsfWsCRsM63ZUz0HK18lH9pg/IMdP1Vlmq6YSM03TcJIfYE POUV4xhAkmaX1PbtWZfsXH5OVBv84dFbqdEaDc9jICUyD26B5590olbOw Lj4xo/8uf9/f9MoVXpLwsthfimzzAZtyKMlSp+CSax35ydfoclr5FL7FX Erp+HkGzDI0EEpoctnShY17OL1f9fu46mDFJCIjskCbHi4d9fXMd9KFXX oZ+Rzge/Y12X7zrw06aSkw3Ueq6yoxlYfLGzKU1NORjwtvg1sNKuPug1h Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="285542046" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="285542046" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2022 10:43:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="716438493" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="716438493" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 13 Oct 2022 10:43:00 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 13 Oct 2022 10:42:59 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 13 Oct 2022 10:42:59 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.173) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 13 Oct 2022 10:42:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PgEZXqh4qtd4cK5EVJnCbAYZvom8vDfZKzPSP3GucFAf8K2XTa4/I9TCCt48eGBlDG7jApUt6cWP6MoPMax1F+T66SIXkJWa/GhGU87swcecrWN5vwn5/mVW/T5/XqxtT5xqdTCNr4eCVwAiJWEzP5TyDvQSI8STJx8VcbuOLgvnBb3db90JBtUNYnCoLzvWpuvE1p5HUvQunW5GPczw5DQEMkhhLSq2Gw4CCtaJGIo+ekv9NIc/OJ23M4EMy5f3FBTQGBvKtDXMc/8cCpg4s9beVoHE1/I1fMbMnKoOxqEHumIFyNFtOYOIdR67toIo6sYyho5jvhkRFsiD41uJ/A== 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=RtGe84B8USjUu/e7jQygrW0i772kq8G8uF3DelLEVnE=; b=en9GhuI85oL4EdbvVfBj6uV7mI/02t7IcJH3wzTcV0L7/F0z/7MSJu7z2H07iTIJUfv6b2ey+smQjxt7ty5nKsSPCu40m7HHcb2DY0ZRcz89lG8khmxB7r1FMLpvTQ9lEdaYICseaQt7+SjpmkE9I4fQuP0FXyOcgADAoHzaUou1/ulSNJdBjORLdQe5+FK8Meqtvwtuqu/HIp7OMTQZ+oR1Vfb1LoMBIOSME9JDWF6aLCPwz6KwUEi0hTiD2EYxHPB4hGCpKhgykRKlSyO2g0OMSCALKhADVqKXB9WCs3TeYAWfm/XENNDAtHECl7uBAV9VP383m2zJmGxCpU2+VQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by IA0PR11MB7355.namprd11.prod.outlook.com (2603:10b6:208:433::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Thu, 13 Oct 2022 17:42:57 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::4504:d466:7e7a:6fa2]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::4504:d466:7e7a:6fa2%4]) with mapi id 15.20.5723.026; Thu, 13 Oct 2022 17:42:57 +0000 Message-ID: <1acb2efe-73c0-9476-92a9-15b184101193@intel.com> Date: Thu, 13 Oct 2022 23:12:49 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH] app/testpmd: fix slave port reset action Content-Language: en-US To: Qiming Yang , , CC: References: <20221012074359.878049-1-qiming.yang@intel.com> From: "Singh, Aman Deep" In-Reply-To: <20221012074359.878049-1-qiming.yang@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0165.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:26::20) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB0062:EE_|IA0PR11MB7355:EE_ X-MS-Office365-Filtering-Correlation-Id: cbb80d8f-9436-4181-0b82-08daad425d59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bZQe/nD6LacFkVYsVhWkhwOgcDwKEL90UyAe6cewprZ1Xe1nmgcleatCS//iAwUV0UgjL2tPe64xhZuu+fz0VjFI7rspYAdfDFYUaIlGhXZPh4uT+8patlMWPJmdMkab3YFT5HpgqGrweuLxPp+9eSSRV0GN32ae1/LOOCvBk5AXlpxBkvTxjNXP5GcOH3TXn7rXqNrA8jOUR8buFyCNasnU7+5OySOsm4tpN4OK/MiZcNRUtZO72jP46+z91kz2S6r7Q8oaZfoYfCH8aY1bD6k5Uv+afvp1O6KPZLkSq76b79cJcKhw2P1ayjDzRIBCHth23DR4XGQny7hI0rMeVKlJa0RKOmOcmrtQsYff4ikPhrMvusFUKXI639Qjkka9qZJJj9IXHQU7N03FCL30Pvpyx0yfSUusORsTvEr77iGKBKCECzELpD1zWugs2dtIwWNSOjlVYbG3x1siK//zWbjQvdmUAcO7hgW9OYMyOf1/HbaTfN/8BZj1PRKfaq7zf4mwASh3ojqe9QIQyXxuYckBmdNfpEGYKi6Ui4CAdGZtwlzpZsXfP5ou47AxVjSrO+U+FmjPe7G0UzDVvUuh2t4qBgQFXVOJNZtXY6V6L/3NjZWFhzHP86sMYUXP4oDG05aX8t7r2DO3xJWk8GAXF/QHN5Bl22QmehrvvTS/Qqzta7mbqrp+ymDisNxNfMbcEDTo0Cg5SSkWplB4R3tb3lQ6knQ+KvbAGRsHAQJ8F5IDY3TIwVoKKCgmrgi+2wxyr4+IdqXb4RJL/vQ11DWB65UhJqrESWQAm0tfTAvunSQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(39860400002)(396003)(376002)(346002)(136003)(451199015)(38100700002)(8676002)(66946007)(31696002)(36756003)(6486002)(86362001)(478600001)(26005)(6512007)(8936002)(53546011)(6506007)(82960400001)(2906002)(4744005)(5660300002)(66556008)(316002)(186003)(2616005)(6666004)(4326008)(83380400001)(41300700001)(66476007)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?akFobzVqZ2tPaHRmZzZMQVdCZ01odC9XRUhnSmh6Vnh0VXNCdnd0QzBUb3BY?= =?utf-8?B?SFEvUzlDYTdVYmwrcG9GbTkwcC9RaGFETHMvNUlUb3MxVkNRN1g2ME9SeDlG?= =?utf-8?B?WFFrdXM4dnc5Zzh5QmcvQ0JuWjFSOW1ZRU10YUJXOGFBaTRScitjV2pEOUVB?= =?utf-8?B?dTJMQ282ZG16eDZUSTkwNTcxY1JTM1RKSlpVMncvbTBzUmxGR3BvdXI2cXh1?= =?utf-8?B?bzVpMGVEVUJ6bjhKU0wyR3FoVnBhSjJyQnhDWHE4TXRnT0VoUnpjbGFTakZT?= =?utf-8?B?TDZPaExoOUZqVWpJZkdMYU9GTURjTkZKSjdLYUQwR2ZMVXI1MkI3VnNPSXpx?= =?utf-8?B?eWNvdy9wT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NnR29zTnVQRWRzS0U5?= =?utf-8?B?VUE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: cbb80d8f-9436-4181-0b82-08daad425d59 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2022 17:42:57.5815 (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: HtEPzVJcO0kO0Gx4zd6dex38Qzzhp1UEYIcjkdWi2CYD36le+ckHKtuqFS/m4HdphPNlcyzpXEWALcaFWWRbUSoy2AhxphjB3IUCx4vQmnc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7355 X-OriginatorOrg: intel.com 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 On 10/12/2022 1:13 PM, Qiming Yang wrote: > As stop action has been forbidden in secondary process, so > the reset action should also not be allowed. > > Fixes: a550baf24af9 ("app/testpmd: support multi-process") > Cc: stable@dpdk.org > > Signed-off-by: Qiming Yang Acked-by: Aman Singh > --- > app/test-pmd/testpmd.c | 18 ++++++++++-------- > doc/guides/testpmd_app_ug/run_app.rst | 1 + > 2 files changed, 11 insertions(+), 8 deletions(-) >