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 BD2BFA00BE; Thu, 17 Feb 2022 13:48:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA71841153; Thu, 17 Feb 2022 13:48:53 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 55AAB41150 for ; Thu, 17 Feb 2022 13:48:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645102132; x=1676638132; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=njutSAep2DLViDfO7jhUCk3k1DP1SV/i9MQQ9C6F4ng=; b=ioey4qKj5T1bYgSpv7uhZHVYHitKs6xw0JBfr0UXm0/g1Y0usUG1wldy KDen//k2vmhRPLMbj/K/kjgEo3agq3iEWrZusxsv+Y7PtN5CER8upsMWn tJtfjbEZ/c71Q3chKY7IWq96iAlenocF0USROJtP3t0+5EK8g3pOsXk+v V9ax1V8sJbQyRt80ruPzXqtN764hfQ+9pXs78CG5EPODUl5OStyPnheyr 52kloPiAtpugPd/rl9lYvO0eFpVhD5uXFTMs0Fee5LjnBO37GEe88tv0Q OQY1wZ9QepoRp9/PemZ59IQpy+zTe0BMwd4DKF780drKOZQoCyUJj3GEd g==; X-IronPort-AV: E=McAfee;i="6200,9189,10260"; a="230827532" X-IronPort-AV: E=Sophos;i="5.88,375,1635231600"; d="scan'208";a="230827532" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 04:48:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,375,1635231600"; d="scan'208";a="637097058" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 17 Feb 2022 04:48:51 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 17 Feb 2022 04:48:50 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 17 Feb 2022 04:48:50 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 17 Feb 2022 04:48:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kSlXHphUd+DZYYEh4yW4s67w7m4UzDwL/NFIEDc33vL0YPVfE2sQuLkQVbhN/YiKrlDhfpSOztZaF/JoX6qNXBdL+x5LljxIhry80ORVlJJ1lsw9txa08O6FJ4ivvtZGCeC9IeXt7vTouFJPQOJgaUXPPa/VvZ5pJLqPCWMS36GWCUpx9wklCQ15MzSKUi+7PoEPN6t8w6bpqMKVdAu/8beDWavWlj1+RLfGKricjTbXcPQxKV5Eo4wTqrwTV+VXFUrH7m3iN3UdiSlRqRj9L8aj56acEY/Bac8i59lFJLey7DH4DKHJH+XviNxNg5sZnNWcbBCGiGRgXRgo62ls5w== 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=lLAxg+LnwtiA5StZnLOMgrrO6Z7xDsoy2cqQIhp2EHs=; b=GhgIZZpSFYHqt6/OWj92EIxHPVk92gLilQAwGbZvJk24GVk4MwgUixHuQqY75d5YGNDrq6gWpb9Wukb+JPDplykJBau+PWUCtc5gApXtaR4JAPitKx6IMyZvPhVtdkMdYn1dhQ4O3rstBRlW2kdRFfJPqVdl7xXnNJ7YgzApSz0Yc7rWtOOJ61pz6C4EuAWYLhm+O0FZ6PdAYnxqd+eehBAD8P1LOERZs6GcEBY+Rz+bfz9sqz21nWYO6PgB9yU2tANZ3rsgwyAK9oXHLY0E5Bfx5H8T0O6TXxs6jmR6WWJC9liRWf+UTyzH0M0BMSvSKqFzmiyzOGclMYIpparw8Q== 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 PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by DM5PR11MB1898.namprd11.prod.outlook.com (2603:10b6:3:114::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb 2022 12:48:48 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4995.017; Thu, 17 Feb 2022 12:48:48 +0000 Message-ID: <5330a61a-ae20-843c-de6a-f4d88f83b334@intel.com> Date: Thu, 17 Feb 2022 12:48:43 +0000 Subject: Re: [PATCH] app/testpmd: check starting port is not in bonding Content-Language: en-US To: "Min Hu (Connor)" , CC: , , References: <20220217113655.45347-1-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220217113655.45347-1-humin29@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0276.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:195::11) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5b1030bf-41ef-4b31-447d-08d9f213d78c X-MS-TrafficTypeDiagnostic: DM5PR11MB1898:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:935; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eUsRQdXfg7y+grrcSohx6zoWwJdKrWUCYv0Vt71aKNOt1LpO9c5VkcUuiJSb8eEhCYIEYQFN3jv7FUWSaoSC8fyI/RTJ2DtE5jCspX+gyV2LeHxsVYpG6Tb6XVL7x40tdw9QSDKdyHverbTCwooJTYcXOnY35AUq3JYro0Jy6QwNzYolyjarEA9Ohb8yUa9GLu8hkS/8CPULwMnNKDIdKUfQTnOGibCkedoRKBKCSOBk21Cr7fc0qKyeBsLgMwUjIBVtos49zZkQetywa2NoCZxHmTIRKZtMBeDSpfMEGi2owOuXhUzDJHW/iE9KPsJiI6nGwBrqNpwajrjXOIOZsfuocncZIBEEFqE/qpZf5zeWMI83k5JbtYoUMiK4h13/riGkNrNWaxBjIfPNwCMEYbdORL5sKb8eI1cJyUe+M9ACn8fT8wqm7Dhs2SpzwuJF77zcDuiRghCreiF6BDUwW7Ca6l4ODxp923Cwdah9zHkmTPZTDKM/krigdpM8gI7pZwGkXViPrYs+rOqTxz+Lru/pLFc9aTbQC1H54ZdPFOTiR0CDA8QZwP9BzBmJUiCaAlJMlFkWOJ6kbA+veacMLIpcS8ReLOe0swGmifCCAqLein9VT7dMZMi7P5+mLWiloHwUllCxKxyRjqwKsHRwbWdNmIAEVGmiY139ESpMoxV6hXKaYTEE9rt13rDLgSnOnrTKWoMGFj4xS3ff2y2LGA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(8936002)(4744005)(2906002)(6506007)(6512007)(6666004)(31696002)(86362001)(53546011)(316002)(38100700002)(82960400001)(6486002)(107886003)(4326008)(36756003)(66556008)(66476007)(66946007)(8676002)(31686004)(5660300002)(44832011)(2616005)(186003)(26005)(508600001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b0pMRXlnQlptOUlkOHhGandJY3JUTkUyaEwyZGlvak9zVXltbmJib2hWOThs?= =?utf-8?B?dmlZTTI3Sko4by9BVXUyLzFiTloyR2NTZlg2UzJwVXdURjlKazEzZkh4bEt3?= =?utf-8?B?V2E0QkNWYXNTWWZXVFVWWGg4aktxMUMvSnNiNXhZWHB0MDI0dExYNDRRM0hI?= =?utf-8?B?V3phd1NxOHB5QUcwdHZNcnNibXgwc1N0R3pKY3QyQllwOW9KMCtkSmkxdGdU?= =?utf-8?B?ZndxYlQzb25qZ0JpVHU2ZHJwZEtlNURqNzk4QWhPdGJ1OS9MS0pvWXJjUEJG?= =?utf-8?B?NjdKRFl5WlNjWUNrQWdHYnkrdGtKYjJDMjZib3ZwRjB1eXJMSm5sOWRhNkNS?= =?utf-8?B?b1hNV1VzSU1ZZG4vRjlBZVdNS2lnUFdFNC90QUhXUUYyYTc4VHB2dmFxaERw?= =?utf-8?B?TU5zY3ZYSUhENWtYK2drdG5DU2FhNm1oQjBuK2YxQy9Xbm85aWtrb2U4Njha?= =?utf-8?B?Zk9pNDB4RzVxNVJuQWJkMlFrM3NnTmlmUkFCYUpleTJLVGF4NWErOU5PczF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x5?= =?utf-8?B?UTNuR0lYQ0ZHbjhsdnE2SjkvcTMxRjRNVFhIVWY4U0Jva2lzZWxkT21DbWN6?= =?utf-8?B?bEdXTkp3QUFxSXdhMXpYZDJNdThaRm1EVlpKVHZHb1lKUVU0ZmJGeFpRSEhZ?= =?utf-8?B?K3dBUXlKNXcyclU0cVN0bHlRWFF5ZmxTUHEwNkRHYnIzaHNSKzZRenZCSVho?= =?utf-8?B?bGZlMC92UjA5MVM0MXRNNWhkbmg4dDdwaGtOQWFSM3VWdWlMZWhHVmwvR0My?= =?utf-8?B?M3JGVFZtbkh3SlQ3cHd6Vk81ak91MDlkaVVGMy9tL0V6TXNHNG10N2FyeUtS?= =?utf-8?B?SVRaU2czOThBQTUvcTJPNEYvc3VGUkRNWHBPYUt6SVhJVCs0TStTemExbUtI?= =?utf-8?B?RVZaM1lsOVhUSHRncmxETC9zc2h4eld6RFFBQW4vY1M5ZmVLcmlSYXM1emti?= =?utf-8?B?M0ROb2t1RlU5citFeVpzS2w2WkpJcFl6NGJUbzZaUVJGVHdPZlFpQmJWa0FX?= =?utf-8?B?K3VPZFFCeEZsZkI3aEF1QVBGM3V1NFBHQVlCMitCYyt1SVN4bWpUWC96cmxS?= =?utf-8?B?NFpVUWZiVTk5U2R5TmFXNjFURUNBajFWcGdJM3pyRlk2SnIvREF3YklnZzBq?= =?utf-8?B?NFRHRGhmcWE2R05namRXREVaMDJDb1c0SFpiYnloZXhaUzdCMFlQbGJyUFZD?= =?utf-8?B?c0VLNkl2Vmh4VjBQdy8xQzJLQ1NjWGtsbW8zUUdvSkNmRHdlVGxuaGVIMkwv?= =?utf-8?Q?drkYmIKS8R4Fz/pU5lDDZq8=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5b1030bf-41ef-4b31-447d-08d9f213d78c X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 12:48:48.7042 (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: 62n6JJ0N6uxnesr3bLJXfUl3nlHMAoqclBu4RVNOtpb0nZlJ1Zgbdizj/795g1fzLOtUSVtjiusP6r0x/aUF3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1898 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 2/17/2022 11:36 AM, Min Hu (Connor) wrote: > In bond, start or stop slave port should be operated by bonding port. > This patch add port_is_bonding_slave in start_port function. > > Fixes: 0e545d3047fe ("app/testpmd: check stopping port is not in bonding") > Cc: stable@dpdk.org > > Signed-off-by: Min Hu (Connor) Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.