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 C5994A0544; Wed, 1 Jun 2022 19:54:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B094340689; Wed, 1 Jun 2022 19:54:46 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2064.outbound.protection.outlook.com [40.107.236.64]) by mails.dpdk.org (Postfix) with ESMTP id 98FFE4003F; Wed, 1 Jun 2022 19:54:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JwQvFPSQjUJ26yUvJ/VxWlh7/FuqOCM4pEQlAugVdKFNkHpIDFXYvmtk/1y26UyCOJzMRrJoEwLdHRyb3U+m4oxw+cZA8EcSCGM/jbIcCL9b6Iha8yT6o0UZ4tqK/7EX3/MoVPV3lRa9FPAQy5kADlNVoEGMnmOXGWQinsNRjaLHyWp9CjSneu09xbhN2iMQ2gxaCBjKFZeVZO1wtZase5uwkr+N8FJZC6ka02J1obBWe+MicTQPXiCTknnNl86bkWlVhaExGmCXCCUOHH3Y22LvZH0HRzr0JZFMO4UPesFTpnvi7RA0aMFbCr32bJM8U2U5ho+S8YAjgFoyTzDCIQ== 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=W0UF9TFrMHMpAPlnSAG0mg9tWEBEJKTEu+sXeObdcHE=; b=VcyyY1Dn1rgJWCjjV/zh4/pVdxzm7HNmO4QyB4g7G5Xc5VxCvSgdhzkJ9M9kKkpct+S/NzVJIWk4b/r4B0RQ6lZ2n3cpNTCz28JalxW7P0UfB7kkXi/pIfGeUdijP5X8S/C+PYB+gWrJtkAlLe8qRAYlUQjnNqWA67v1UB/yxtTTL/unmStwvGrjYxDY2h4as6ThzL0DY1KKfx9Gt95xaCeUSotj6I6Gos2HlMFrbRLAwe2J5eP/kp81J/zHInIVSY6XpCzjsIeH07RyzCkURQQnqrSsJp1LSNvG7/VaG05+pgUDAuhaBZUOjdFNE+/2HhsveucdGJd6/1J8U0nyRg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.80.198) smtp.rcpttodomain=huawei.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W0UF9TFrMHMpAPlnSAG0mg9tWEBEJKTEu+sXeObdcHE=; b=gmmGv1wK1KtQYRS3LuSUV6MJqcDInzkeBq3kNk4bhSwJfRk+SrRnrfotYI0bXAtHezH00MfGEUMS0WRzqfMFcFqimiNJJ3fOHs903djbmzpuOrHzDNo+JiLda+y90z6hKPWSsuiDWzG1erbMWeJa0ttcqQa6Hs85eQ3VDjh764E= Received: from BN6PR16CA0011.namprd16.prod.outlook.com (2603:10b6:404:f5::21) by BYAPR02MB5896.namprd02.prod.outlook.com (2603:10b6:a03:122::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.12; Wed, 1 Jun 2022 17:54:42 +0000 Received: from BN1NAM02FT035.eop-nam02.prod.protection.outlook.com (2603:10b6:404:f5:cafe::5) by BN6PR16CA0011.outlook.office365.com (2603:10b6:404:f5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.19 via Frontend Transport; Wed, 1 Jun 2022 17:54:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch02.xlnx.xilinx.com; pr=C Received: from xir-pvapexch02.xlnx.xilinx.com (149.199.80.198) by BN1NAM02FT035.mail.protection.outlook.com (10.13.2.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5314.12 via Frontend Transport; Wed, 1 Jun 2022 17:54:41 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 1 Jun 2022 18:54:39 +0100 Received: from smtp.xilinx.com (172.21.105.197) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 1 Jun 2022 18:54:39 +0100 Envelope-to: humin29@huawei.com, dev@dpdk.org, lihuisong@huawei.com, stable@dpdk.org, xiaoyun.li@intel.com, aman.deep.singh@intel.com, yuying.zhang@intel.com, bernard.iremonger@intel.com, pablo.de.lara.guarch@intel.com, andrew.rybchenko@oktetlabs.ru, konstantin.v.ananyev@yandex.ru Received: from [10.71.116.58] (port=18855) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nwSYI-0005QE-TS; Wed, 01 Jun 2022 18:54:39 +0100 Message-ID: Date: Wed, 1 Jun 2022 18:54:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v3 4/5] app/testpmd: fix slave device isn't released Content-Language: en-US To: "Min Hu (Connor)" , CC: Huisong Li , , Xiaoyun Li , Aman Singh , Yuying Zhang , Bernard Iremonger , Pablo de Lara , Andrew Rybchenko , Konstantin Ananyev References: <20220324030036.4761-1-humin29@huawei.com> <20220503100217.46203-1-humin29@huawei.com> <20220503100217.46203-5-humin29@huawei.com> From: Ferruh Yigit In-Reply-To: <20220503100217.46203-5-humin29@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 008674a7-03f7-4533-e31b-08da43f7cdb3 X-MS-TrafficTypeDiagnostic: BYAPR02MB5896: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: uA69wk2jIbw8UEU4OUvdzwtDxay6QfvfzKwQpLVD7AiWLCKFOtNkRYYte6mWd42xBXMnrtmxx0Oh+qJLhhRvdxKCDePZAbecoaQuoQEIWc5Te5TQUY+S8Y8XUijIo/G3JcUDsWPZu/BLbGnwzQo/IVK7b9RrbTLAuJG/vIFl0TrKzRD2Mv3HFVcjL9yYQpSAXfaZJV3O73kD1nrPyrM/mKXFIAfrPxrsaqkdlOChHnwIMvVCOf/MwAiDvh3aqCTg9f2bmJ3pIxP9+cW7Foe+C50uDFKnZYdsAKoRAqciiGhs4tT4JreJy8eqHYp6lrZDYRxxaPukzrDO0KYNa/EKMkDXmdYBILP/lbkTm8r8mYL8Pshm8lnwTvbuR1TiKKrokz5pePmGESjoc3hPYTyDFeKoF//+JiQBqLqYntSgtszT8Svk5RNCyhhx/OLTIYRGRkYjIvNXs17ddCJ/1uYO9P1u210kmc3Cfvjjlit72wm0mnrrZiFxqrBmfxNQH5dsEp83T0+EAldeRJ80roMSQcnw34WcvJX/cC330Ekd5mJgFkDMNMPOyLOSwEmX3Rf1NHZ/p0jQ0pmdgU2V7M9RXH89YloOmSySJM15h6jwUiF6ys1NrUVh8+rrKVKE868dm931wwW4ZrcqC+1hp4qAkY1etyw1S5A+dCvYtUrAYRrZU0ew6vHvcyGM0jw9ipc3Abjtw9fV6l15AKVnGT3UTRQyvRbg8mOdgldY0AWpy34= X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch02.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(4326008)(8676002)(70586007)(356005)(36860700001)(70206006)(426003)(82310400005)(47076005)(336012)(40460700003)(36756003)(2616005)(186003)(31686004)(26005)(8936002)(54906003)(44832011)(4744005)(7416002)(9786002)(2906002)(53546011)(508600001)(7636003)(316002)(110136005)(5660300002)(31696002)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2022 17:54:41.1729 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 008674a7-03f7-4533-e31b-08da43f7cdb3 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT035.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB5896 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 5/3/2022 11:02 AM, Min Hu (Connor) wrote: > From: Huisong Li > > Currently, some eth devices are added to bond device, these devices are not > released when the quit command is executed in testpmd. This patch adds the > release operation for all active slaves under a bond device. > > Fixes: 0e545d3047fe ("app/testpmd: check stopping port is not in bonding") > Cc:stable@dpdk.org > > Signed-off-by: Huisong Li > Signed-off-by: Min Hu (Connor) Hi Connor, Can you please do the similar #ifdef grouping done in 3/5 patch?