Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1016188rwb; Wed, 26 Jul 2023 06:30:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlEPpkCowkZZx9o6Nkk0vb2fNT12EeEMBD0eBQF8sojieT3dyw0S7JLBU1A/5CzVUygRpLvc X-Received: by 2002:a05:6512:110c:b0:4fb:8987:734e with SMTP id l12-20020a056512110c00b004fb8987734emr1742713lfg.68.1690378212448; Wed, 26 Jul 2023 06:30:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690378212; cv=pass; d=google.com; s=arc-20160816; b=B47ObSYYJL7RiEHUrWtaV0gg8Q6YkeNTSxv5F8RI+xZWe0wTgFla+4u5R91UOAEu12 M10wZRiOfokkbzHTDY8UqEIPo4W8F85l9KHAkKBL03ospVLZSZ2rmFRX82E6KJeFZ9w0 Ttl2tVtRlFAGoXwKfXAKGKaMN8qH+mBmikH1AgBC3h/iU3TG+kdCp8hVcIlifLKvChaY CwC/1pMdGtNLQrHBaKG/U9cvARzs4eNfkb7Y3JzP2nEg6yGdbp7GG9GyVrGEH1gVBO7P Uz2QKqOtAl/e5hlYtikQHp6ev6QUIATVZQGNyBrnelTTM3TiS6Vq+COl34wS2FyLBE2J Sbog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XLRgJ3EHGkn87XuZtviov9NukLIEjZDW5ytNacX5q9s=; fh=/F6WnPJICulcO7vC7oq7gFzzQJs1v5AFWrWvgEC+YPs=; b=T9zSkMZFHJIqW7yz78X9bLsA5LlE31zI7q9HKwM8GQ+GbhHthZgdiyXH5EfBRCya4S TdyW6Ex+FNuEF8uYsLIhedt1UCT7l++eIFH0JsJCraDmp696K0CkFDeza1EUaWGn5fSH +OlYZFN4W5j99kfxVq4Q7jJvlW9PBpHJyuX/GZBuA5xtaetCAYCzZ7wZ0HepBTXj9y9q 3Jqhw2znIXxrynViPU7lElAtPUpyJ7LtQirBSPO+hm103ORK5QdbwM1OtORvLhikCk1p HX1S+9eRxnK630IyOxUV7GJ09OhK/M0KIpFZJlOsjz8B1thfecXELStwcgplEEDVMPNq 3Q/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=bOfBcBC9; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n19-20020aa7d053000000b005222b655688si4916299edo.368.2023.07.26.06.29.46; Wed, 26 Jul 2023 06:30:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=bOfBcBC9; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233015AbjGZM0w (ORCPT + 99 others); Wed, 26 Jul 2023 08:26:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233491AbjGZM0u (ORCPT ); Wed, 26 Jul 2023 08:26:50 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2110.outbound.protection.outlook.com [40.107.220.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93A8430C5; Wed, 26 Jul 2023 05:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GX+gbia4tXXK9jxjpG84nQyvJ3e8J+IvxhXRQH+1h6/2MiXFkitouwTNjuXdLPUbbh5ey4lxTqkh+TblMy9dO3M6G/iZn7DCUyhP1e3HZJa0DH0KWZpSssVrNIQIJEYkXfCi0il6QGGw73BtqMGn3n+RtUB4bu/GrXGyjD6hNnuzKkpm2SngG4DYK00qeDyLUGBQd/rC/cTUDnN+AtTk32qJU3d/ny9mbJInxZThwEyJIlMPulEPoMXQohzQK+mOHBjEYBcGaDqzo2F1FdwvWl/B2TfIW9QuboHYiEeUCKR4CGErA7k4Sx8ApKo1zY5DmN+sIZZunKcTNUvgY3Ol/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=XLRgJ3EHGkn87XuZtviov9NukLIEjZDW5ytNacX5q9s=; b=dlVHTFzQ7LAfigrCJ3zvRSHNYVV3zrNGmaJXDESzTLcEd51IQ+Fu5OI7UnQXgiSJG1K5SjKMSxSrECzcfPPwaTZfVbniNuYsVTd8AG9etLDME/zEM+EXwcFGrC8jrZLNrvn1jc03Zj+tElQhmOB1OwyRyuT9XfWLVnxn65pm4kiGJzzOV8Qy9alYhB2cxrNhqiAMpi7e0+Q68xcqICENuhFTQ6l9YM86vNojPfzWP8rP+AQ6rLh0OFpkB8lV0pC8/huVE1wWvskneOc/H+CGIj8gbn7DAmbA7Ps7zGZsE71O3d1aLIIZdHeijRY9atlRQg8oqZKRj4uPj4mkw33PQw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XLRgJ3EHGkn87XuZtviov9NukLIEjZDW5ytNacX5q9s=; b=bOfBcBC9aI/RZVszj95xDdx+G8noN1qpXmMxvQ2FaYFpn+R+crMIeMib+CXw3zk4f4xAyxa90yx/z8qM3yJmTU0uiKHb8Vz1BR1syPMTugkHkG8gfacMqofGcMJFiTuh0tgwGB9bGTd4grI+KW4v5w+9jCiTJpq+PEnYbvCHOYw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by MW3PR13MB4057.namprd13.prod.outlook.com (2603:10b6:303:5a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.29; Wed, 26 Jul 2023 12:26:32 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::fde7:9821:f2d9:101d]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::fde7:9821:f2d9:101d%7]) with mapi id 15.20.6609.032; Wed, 26 Jul 2023 12:26:32 +0000 Date: Wed, 26 Jul 2023 14:26:24 +0200 From: Simon Horman To: sharmaajay@linuxonhyperv.com Cc: Jason Gunthorpe , Leon Romanovsky , Dexuan Cui , Wei Liu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-rdma@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ajay Sharma Subject: Re: [Patch v2 4/5] RDMA/mana_ib : Create Adapter - each vf bound to adapter object Message-ID: References: <1690343820-20188-1-git-send-email-sharmaajay@linuxonhyperv.com> <1690343820-20188-5-git-send-email-sharmaajay@linuxonhyperv.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1690343820-20188-5-git-send-email-sharmaajay@linuxonhyperv.com> X-ClientProxiedBy: AS4P191CA0010.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:5d5::13) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|MW3PR13MB4057:EE_ X-MS-Office365-Filtering-Correlation-Id: 214ef07e-9bac-4bc1-3bc9-08db8dd38b61 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3RJIwmsSMPYpfiGXMPqUeKus+/ZCWBaHkox6VM3P4JRycA3ge1sJJmFSWdrFMWnqRVFxYsH/6ibXrlTzAjZMknK4M1DJ4k5qEzt8MBO2OmA/+1OSp3ljqrO6tpT2dig/0v7vbYLn6B61sPZ956eLXcWnZcwPaG5sGNTxwSK5V3gZ3TRTvB+6AwoWhRjl0TjgIN8d8b+UrGH2V0mHzDDSsnni8iiQVOHUklMO/gq9xLy0DtlNSYpK6yvRrCmqmr9zvCsTXLzrFmPnryKNU4/SC6w8oZZkgMuIBKAySK3PnWdUABzT4uBLGyQU2B388TChrHjL8ufNJFyTBLL6m74aPbAN6umtyOftwNx7XwVeb1YJB7htI1172mc1+U3WXWRBBQioxPhnmIdbNYo6KSFOkrA4fEHsUHFkRnr/KYyVww7J7nKVlg0oagD8u7C/AtqYGDAcFpLKF6BPSgZZUiXRHPX37RQgD2T5MD1eL6w/jniO/y7WJyBxqSNPEKUlhS54Zoni3Llv/fOFpHcdsIn0sdGHz7zMlZVLXVEjKGHLtkz30VcDCKBfwH+kx7+Mjt4OT5FGnj2iW2U5rBwaByRRc6geqkBBEPwRHb95q6JIXUQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(136003)(396003)(376002)(366004)(39850400004)(451199021)(2906002)(41300700001)(316002)(44832011)(7416002)(5660300002)(8676002)(8936002)(558084003)(36756003)(86362001)(6512007)(6506007)(45080400002)(478600001)(6666004)(6486002)(186003)(2616005)(38100700002)(6916009)(66476007)(66556008)(66946007)(4326008)(54906003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?VWtlWOcuZ0BEMx1a9wHiwMb4yvv4FwNJxSKspFDRvVGu5155a6fOtdgJb4Ab?= =?us-ascii?Q?f6fjjptgKhx9udavSqYiazVjUMFCxi0nuFIq+7baghE5a355TYJ4RRN3iURu?= =?us-ascii?Q?OL5RnndcX/0WBvOK7Mpzdkm/EIIzf/38qSVrM3lu6Ha6J7bfbsEU0hGSZUrN?= =?us-ascii?Q?MBW0CCkhtt9EKqQGt++65iUEDTDpbqKxiHao6ueQ7Jy7aVKW97uESsqdOilW?= =?us-ascii?Q?i4brT8upd4uOYz2ju7lcXkjutznsz9KRIb0LZleR9uop64pvqRV9lFZZvGY6?= =?us-ascii?Q?CbarvVDlRwg5WgmXdMIpZQSE1FICtWC+tWILw5R+WaH1UTD2pqinkGetjpUd?= =?us-ascii?Q?xno+FANzyvAHDm2tCj73MHN1AkYebOCkqSnwIB4p3hiUvGG3CJvisRIRTYfz?= =?us-ascii?Q?SWDhlahR0lkPmVxDpiu8DxCl6GyZ9l9H7EPzV9W5ew/w9sULZJowSQTw8NQ1?= =?us-ascii?Q?IDSLWzbopOC4J8Db/fRY54N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ORunW3UjediZFsB51qjAYdPcVg506hgFcB12MrLOZOape4vqEA1OiLXYLrDc?= =?us-ascii?Q?nwYXAm3mNBfC4FoE3ODtWfTFm5cgETFIrZGO2VK7L/rlA3GIz8KeVB3Y+KW3?= =?us-ascii?Q?v7/o1pH8M5JTSlAiAplQHiccHF274nQ2FEilp6VKEDzcTHNxdk77s72Do7Ra?= =?us-ascii?Q?W8Zy6RPBQJyf4OP89wQWRKrkPOLd/lNvU2JT2gFfBMhfzSKeKrRNsFDZ88f7?= =?us-ascii?Q?aWVOdiV0rTFQa3Z12YIe27MnV7Ma5rWe13gMF9u0DFOmou8yo1TQLso99KcC?= =?us-ascii?Q?O4asoA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 214ef07e-9bac-4bc1-3bc9-08db8dd38b61 X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2023 12:26:32.0294 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zeVPHUDNWfLqbeR4GgDyQc3IgaG55zTFi6wHQuijDBDM/Buu8JzDThJUtHjHPE3t9FQ5NEBPMWlwfMP7E2DZcm0uxo7uSApGlRmuJJQW6iY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR13MB4057 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 25, 2023 at 08:56:59PM -0700, sharmaajay@linuxonhyperv.com wrote: > From: Ajay Sharma > > Create adapte object to have nice container nit: adapte -> adapter ...