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 03BBD42B4B; Fri, 19 May 2023 18:09:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7ED7640E25; Fri, 19 May 2023 18:09:05 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2059.outbound.protection.outlook.com [40.107.220.59]) by mails.dpdk.org (Postfix) with ESMTP id E790B40E09; Fri, 19 May 2023 18:09:03 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=de/Bz2HUReeVlOpL6I5HzozcwxipQ12jP2qWhuL15Dk3ueBDIpDI72oTwhNWfbZjeEXuBsuQFWFfoCuJ+ZF61FJNumrDLMMR9H5OXCewXMDWIn4wg6lYFJkzmDw2qMPhR62eMCh/dX3DE/cdytR8GqJRRlha26ry5A81f8Ki86C1tvZZQBx9q/enn2XKngK0hjYbLRsc75/bTM7vuOfp6CBvX8P/1fP6eIfFV67RicKx4hE14Li2Oclilnf+GPs9q38TBos+18QOAaNaseX2EsyLR5FLn5BUkvQfDEHQlOmLeH6uW1jlc0BNyn5K78HaIsKwZB9IXsA2Plc9aBx7rA== 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=mi8LVqDoZM+ur+QdHZlBPPOvana84Bm/ziiHz573v8Y=; b=UN/3uOo6qVJw8GRxxOnSaibfYGwyBB0QoVpZBYVLNJeZRKItXyafl5G3mlS3ILUP+ok9U0GwD99+CdtvIIIfsJGKHcpGRmlBDQbjVx8HtgGkkTS7j4OU7gBkKmbq58M/4dpPCed6TPaYMMAXb/PG8QWrhemu6K6kl+AwmDRO0GZyIUT2Qi8NiayrRTrUhHOY/9/RBD0kNqEYyLxxfnsyAA7DLJ4/ZO7BeUr8BpOgPxscvlYAD5rOXr+bUGifIqgBAvk5/JyDvsbWv77/jbo+D0eAbnaoxSG93TY82xTG554jk1ysCEEQ1lOca0TvODDY5HdxLdLdDTm1AxjJGYS3Gw== 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=mi8LVqDoZM+ur+QdHZlBPPOvana84Bm/ziiHz573v8Y=; b=b7HjO+NT9VvqQw78dR+JQVEC68ru8/RmXyR/rQ3aisjcSP7aIYzPM/R6p8SBN4Q5SFWW7l8e+wgDeRlXqOQ4sBV/YeYV6Kmx6M3JhVWlrifoXUB1ku/Wow1QIuVZ44FuSwObITg59nC/CCb7KBRHxGp0oeJ9OUg/qtbtDONj2DA= 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 PH7PR12MB7426.namprd12.prod.outlook.com (2603:10b6:510:201::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19; Fri, 19 May 2023 16:09:01 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a%4]) with mapi id 15.20.6411.019; Fri, 19 May 2023 16:09:01 +0000 Message-ID: <84ab6444-6b58-4a3b-c8c2-fddfda7756e6@amd.com> Date: Fri, 19 May 2023 17:08:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2] net/mana: return probe failure if there is no device found Content-Language: en-US To: longli@linuxonhyperv.com, Andrew Rybchenko Cc: dev@dpdk.org, Ajay Sharma , Long Li , stable@dpdk.org References: <1682561915-7204-1-git-send-email-longli@linuxonhyperv.com> <1683336730-19353-1-git-send-email-longli@linuxonhyperv.com> From: Ferruh Yigit In-Reply-To: <1683336730-19353-1-git-send-email-longli@linuxonhyperv.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0077.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::17) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH7PR12MB7426:EE_ X-MS-Office365-Filtering-Correlation-Id: d2aee60e-2bc2-4c53-86ed-08db58835b8f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GzwqVJaO3sKYBqCC+TiG2JeRIEF9B0H7U8qxi85IArstpHazupCYZ/pUg0TeFcFCsTk9CVHnmCWIolw5HmM+tac3qLe7czrBPdCdnETlue3tw9lPTHq8kAswmpELodAVmnMoRXyx3HfyxgXQVIyxz2R6Ly7XxgGlNkCQQa55JSW2dq/XrveMcvBfUZXfC2kTv1aAAlAHNvCapRfsJBiiSYrOHwTfa3sM7zfISu/sHNE/5jo65pk00VHx4dkqrcVwFKq5s1xTriF8R0p62lcJua+CEHp6x70Qeoz4gSlWCdvGJz22386NvzG6d3l5X64d58oSU15HaZ686MDQ+ziBfTb5XgS13qS7YEaGu2KSwPRBge1l9sQj97yxkvtQ0D0QUpueMz5mTrAd1HRo3RJu8Hfsyp9/RS7EV8hx/WomnA0ZzflWQnXvtZuIHLdlhMSvI49R5pi+D1LGWtCZc7qASHCIy+OTPaYEJpzrNYzn7QSjdxCIqCIonz67GOnNXIfNiPmQwtYZ3C11PO3Tw6sJCH4BOVQ54TPVz/AZzYIDR2o+33H4nhzgTbExQ4lvpZ0MQhgTKH8agrVIapenG1KFSxA6hPypbnguElLRXmpuYU+pAKej8wqEeEr5nyURwIAOz//n4VTen/SH6YyZ3ufheg== 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:(13230028)(4636009)(346002)(366004)(39860400002)(376002)(136003)(396003)(451199021)(31686004)(6666004)(83380400001)(4744005)(2906002)(5660300002)(8936002)(44832011)(8676002)(6506007)(26005)(6512007)(53546011)(186003)(2616005)(66946007)(31696002)(54906003)(86362001)(6486002)(4326008)(316002)(6916009)(36756003)(41300700001)(478600001)(38100700002)(45080400002)(66556008)(66476007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aXRnTVEyT0RNMS9WUlA2ZkVIeC9HQXBOWG0yZVJ4WktGYnRSUFpWRlJvR2tz?= =?utf-8?B?ZDFlcHNFd2UvTWlLZE8zWkVwVW9EeFNBT0FBVXBjcG1pb241U20rSVNaMFdY?= =?utf-8?B?VEdLSHZZNW0zeHhXUDNSTkxiT1N6OTlsbFgzWXJGbWVqK3dDK1JrMEtCN1BF?= =?utf-8?B?WFJSSzFadmQ1ZzRFTU51bG5Ua2Vjang4aURJV2tVTnZyeU9ob3Vsbkt2QTdH?= =?utf-8?B?djdPdHpWVjFIQ2dtbzM1QWVnMzJnOWFtYVJRYjE0TUVKWjcwVXFpVHY0MXZw?= =?utf-8?B?Zm9VR1JLcVpVM2lldy9ZVFpTK3VpN2pIaEE2WUVYWHR5OU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?= =?utf-8?Q?NRXkEW2ui3uAZXEZjDYaI5CGK?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2aee60e-2bc2-4c53-86ed-08db58835b8f X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 16:09:00.7775 (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: tIXXSDSKPoLBBhljIqOzSv6NOhbuEoAfNJWS0DjsUQropmItoBTdCpTzFPVaEcGA X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7426 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/6/2023 2:32 AM, longli@linuxonhyperv.com wrote: > From: Long Li > > When there is no device found on this PCI device, return probe failure and > release allocated resources for this PCI device. > > Fixes: 517ed6e2d590 ("net/mana: add basic driver with build environment") > Cc: stable@dpdk.org > > Signed-off-by: Long Li > Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.