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 33090A0555 for ; Fri, 10 Jun 2022 10:10:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E0DF427F9; Fri, 10 Jun 2022 10:10:13 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2076.outbound.protection.outlook.com [40.107.212.76]) by mails.dpdk.org (Postfix) with ESMTP id ABFCC40689; Fri, 10 Jun 2022 10:10:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IFm2JBrDnsP7JSJqMq1UIHHg4lLk9Q2uPGMk9TorZCahZmLWZsRVRXiNjyNm+snxFaJKsBItYxkS4CZ8Tvvl9MV9VfNzGfrKEq+DMyVlIQgj7q8G/iDHsndTMja1MTYVnYm+U9U34DABepbpnYlOLdMlEXYUGYKBWx6nxRqhoNT0pGBtT7ylOiKsYVHeMCsURqgm7ShJjEbUiZQLx68ptISouAKiYeSLEpIAwUY4f9f2LxCR6y3CT7tZtuTUQXrYus3f2RroCpYXMvzl94wJDj/llsasahPTZnlaNpmwwZoo3yB3q7Qip1Zj9vEgpsMgkmzQndJRvqUZozbeBMzt8A== 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=60fInF2FQX6JsZyRcSQD9FR7jawZO9I5PK3+dshWMOE=; b=KQFCJOxCWW8B65PixGmU70EUO5X2LiY6sesfC5RtMl+DRu74kD7/pTcN2cYxw+nGgLondFnEuq2Xa2QSlKsKLlnjHMTj6UVWpC3jpGkEV0i6TbJ/HoP6QczoTgQYgJh9dXh84ImjsVdcNWuS1AjAfdi6JSfB0RCGlLfNSuhjdhW6XTHjdwFlYpwGG9UZbnRaKobCodcYezRnr7+kPRcWbMtHoZJxxcgHQhTwcRmkUdiFXWX4xv4xYzmBuIFVW5XvKi5eumIx11E9AQ8kWOFjP4pmX85SvqZOvoZdkbnFbRjuzzfoBB6tMwPJYfzQQCJFA0SRW2SJ7F6UaVGcbMFjWQ== 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=60fInF2FQX6JsZyRcSQD9FR7jawZO9I5PK3+dshWMOE=; b=aho/mLvWnB+JJwL0E1GjQagdfy6G/r8PvTZbpJDFM63TDfCLYvD8g2EZDDoKYmnzAVbg2KoqJylDRpHgRKC1MLOtSn4UXo8dvaPctP2CQLv0rt5pfTT+KO+ZW0RdTbOFw1vb4FKHLhy+i2km9oBpy+whqgi8X1dv7UXpmvY2vBM= Received: from BN6PR13CA0053.namprd13.prod.outlook.com (2603:10b6:404:11::15) by BL0PR02MB4706.namprd02.prod.outlook.com (2603:10b6:208:5c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.17; Fri, 10 Jun 2022 08:10:09 +0000 Received: from BN1NAM02FT025.eop-nam02.prod.protection.outlook.com (2603:10b6:404:11:cafe::38) by BN6PR13CA0053.outlook.office365.com (2603:10b6:404:11::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.6 via Frontend Transport; Fri, 10 Jun 2022 08:10:09 +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-pvapexch01.xlnx.xilinx.com; pr=C Received: from xir-pvapexch01.xlnx.xilinx.com (149.199.80.198) by BN1NAM02FT025.mail.protection.outlook.com (10.13.2.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5332.12 via Frontend Transport; Fri, 10 Jun 2022 08:10:08 +0000 Received: from xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 10 Jun 2022 09:10:07 +0100 Received: from smtp.xilinx.com (172.21.105.197) by xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 10 Jun 2022 09:10:07 +0100 Envelope-to: liudongdong3@huawei.com, dev@dpdk.org, 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, lihuisong@huawei.com, humin29@huawei.com Received: from [10.71.117.247] (port=28309) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nzZiZ-0005s5-E7; Fri, 10 Jun 2022 09:10:07 +0100 Message-ID: <1f1d78ad-120a-9f00-6559-c689aac7961a@xilinx.com> Date: Fri, 10 Jun 2022 09:10:07 +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 v5] app/testpmd: fix slave device isn't released Content-Language: en-US To: Dongdong Liu , CC: , , , , , , Huisong Li , Min Hu References: <20220503100217.46203-5-humin29@huawei.com> <20220609114921.19627-1-liudongdong3@huawei.com> From: Ferruh Yigit In-Reply-To: <20220609114921.19627-1-liudongdong3@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: e93217ae-379b-4896-3582-08da4ab8a27a X-MS-TrafficTypeDiagnostic: BL0PR02MB4706: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: CzhbZWjZlTrbHSgoVBfMgd6qA2wJb65H403LXXHlhQM6rLgymPVDcULDQM8NsoSlNSmQlZ9QI/xZDuCfErFJORqnnbuHmY8J8DpjotpOh/KtBrkMvEO00hS6hpCrQLRtdk4JM30Xp7h9ahAEkAZTic4hmBvnZkh4k3UTsPvcLlksPC/P4uD10Wrr5HTIS3OT5HCveRuiGfWitGiOZCzTjcAPnpw1ua+XPtWSzannHcuxLeEoN2vnw5vHRf/yP5PkJK9DMlvDBUHYzJFHQoWIPpR9pRCmaM0g1Z0SvcWNC8JxRvQSgBWnSn3BqVPqW4c5766nuDR+/pUhC0QC84eCDVn15nyrY+yi2UzWZWXcTe3BNbhVRy8OnZZDvq8BNkz5ybz8LuCQlHVMJEjgXdX5gvVwlYAU0pgKXcSjSs6cjfC8YjV1tjKcAm7HqC+82czUEnxZZ/2UTpJU5UyG+gTRN9HwB7wTc6VF1lodk72TUGgy0tzB/24dSpfD45XqhzkEcOOYn1A+aVhpNQ2IlYiINlWZtKx/YDsum2O1PbBmpWi6bDlLBWNVdGTZXga7uL9EbQ7H/d7vwSpV2D7b/Msiu6+T5jlrZQC5bWZlowRsB+AlNdolc6oq3xoT0Gyh3v0mzk7jQCowptpMlU9SJsL9QrUao6o+Fxq6IQlJS591lPgMIQsCCvbyXj6sdo2o5+6kmTsNbgx3i/jHP4DYUc4/+QmBsvWie9qY7lgRG051GEY= X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch01.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(9786002)(31686004)(7636003)(186003)(4744005)(70206006)(70586007)(2906002)(44832011)(8936002)(356005)(316002)(53546011)(26005)(426003)(336012)(110136005)(31696002)(4326008)(40460700003)(7416002)(82310400005)(36860700001)(8676002)(5660300002)(54906003)(36756003)(2616005)(47076005)(508600001)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2022 08:10:08.4983 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e93217ae-379b-4896-3582-08da4ab8a27a 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-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT025.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4706 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 6/9/2022 12:49 PM, Dongdong Liu 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) > Signed-off-by: Dongdong Liu Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.