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 B4F69A0C4E; Thu, 21 Oct 2021 15:35:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E8CA411FE; Thu, 21 Oct 2021 15:35:09 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 9553B4118E for ; Thu, 21 Oct 2021 15:35:07 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="315238328" X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="315238328" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2021 06:35:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="444804455" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga006.jf.intel.com with ESMTP; 21 Oct 2021 06:35:06 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 21 Oct 2021 06:35:05 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 21 Oct 2021 06:35:05 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 21 Oct 2021 06:35:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iBlD4DK7IQSIyqygGHcd/cc3JNwxk+N/gtrvd7mSedWRXtOIUlhsZFCHwXqPAeHggjzMattKYjDKjg04M0fl8QIAAzhtyRauD3HUV+8jWnVO3iu8SImuNlvfiReYPqN4DOkeTBnwmSyY1RBNzU67RutFD9CrWxt1kjuYc58WUaHu/V/nYmqrZ6FlzrugHMg/syVE1k4Xzdy6XRpzO0bP86qSiPq0qYeXD7pN66zwWbyRnbSwsUigQyJQb6+VJ7Olc7RJpYVL2THAN4jKKHiA2nar7BdnJY9Fl/hkU10+tcWDb76IlrE+LFOc1r/DbUdwih2IECHG5/TuhDIGeYIvIw== 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=518CWCIOS6UdBivc56wpfzPgEJEOPCH4z389djkNZjQ=; b=ChwUWw39atLNzaUBZDyDtuKueUhyg/WVqlF0Q9vtLej7sYLqy5n5pvG0gO1Ms0OWpxTIttOwBQknT/GUmzlN13niYtRqCrBHoJEo9RNEpbCIMS+LgNglktE311Wv6KB8KdCQM08e6aMfp6Ccg1GfIO08eEftze/HKTgk3U/l3T+ng9v0qBigW56MPkIhHS/ZkQd0p1MsN/fmhQh+0vsasxLbPrGlntf3JsIVXwJble+NUMJygto2Vpw4RVE9gHwG5zaL1WX2v4/BNIhL3FG4YMmzpjYP+/IzussZkjslpHL3CCmyyrdF3/9l0Tx4sCHhmPHJf4pNSTFS+xsZbzUqrQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=518CWCIOS6UdBivc56wpfzPgEJEOPCH4z389djkNZjQ=; b=OmQVHlSeWh02QXyE1hXwB4c/6nwF1a6qcXsx+p2iRyfrS6kNvHdgt1+sIjYGPVOlkqMuaPBLnm38cTaGPcPHTCgIh5mPz/nt04+OBCrfF7bnEbzWh1DyhQzg8kVdkw+lrFYO8bjyNjQ4TpDvB0jVQGZQTlD1BNdJlozdmXgP/Gs= Authentication-Results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4936.namprd11.prod.outlook.com (2603:10b6:510:42::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Thu, 21 Oct 2021 13:35:02 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4628.018; Thu, 21 Oct 2021 13:35:02 +0000 Message-ID: <01997b08-ed1f-79ed-9811-6af17c54a9a8@intel.com> Date: Thu, 21 Oct 2021 14:34:55 +0100 Content-Language: en-US To: Xueming Li , CC: Viacheslav Ovsiienko , Lior Margalit , Matan Azrad , Ray Kinsella References: <20210927083256.337450-1-xuemingl@nvidia.com> <20211019103501.2216840-1-xuemingl@nvidia.com> <20211019103501.2216840-2-xuemingl@nvidia.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211019103501.2216840-2-xuemingl@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR0601CA0030.eurprd06.prod.outlook.com (2603:10a6:4:17::16) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6PR0601CA0030.eurprd06.prod.outlook.com (2603:10a6:4:17::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Thu, 21 Oct 2021 13:35:00 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b91c95bd-8155-4c6e-eaf6-08d9949795ae X-MS-TrafficTypeDiagnostic: PH0PR11MB4936: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:639; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ggpnwKKkhMQVzGo/7V6xD+HIFP7BqNciIt0YeGhnD7aDCkncIaPfSels/xhq/rGzqxPKNu8X0zazf3PawF377f29d70VuOrNV4zX0HbeLz4+3V004q6ZY7PMpF7aPI8cs4XhBgm1GPZ4LYXDiltfBC2l6awXE2GWmpuh3Q40u5X4mW3QKKKeOVziddbOPI/FSz/w77/X+vLIq6SKlvFd8D+lrfisExW2RkF46sLgaREhWcrtBtjw9/8uxvOd0s6usQDxk/8sbbzXYENoQ0nh4IQNtxYRYRuC6flE7BUwzD+dKqO6jeOKis4U2D7JGYCG11EZuFk/DQLD1w9iYJbq/OHW+WDAPCXLLZaQ6gYTb4YpbBGNLZNkg+6M1WFXXl638u+mXsEVeL18hJApYeTPk/xYjp+45PBeF3g/zpBt3R2H3ocioBMNHzLL/ymYzwPKFUWbXfOj8jr4C96UKRT71MleTxnnYXBo6O8+z/qqM4vB0FPw7i0s4gZdUm/yNjvumZaTbueyze1b5jH/LlkMpCZC22y7N5l+jPYBiaYYK83ZjO0aWWMb2Jl3OJ6dY9m/h+NfAn+cku7Sb6WdiqnhubUquj++DpwN4SP2B8JBzWFX+DzISVjXeaIlA7Gy8lc2/dR+4KMVa4d+DAjuhBINKPGeUQAtXfTgr7RF1kIPheoq/tfJ6Ir9Z0lYrd4FLqMTODe7Jjvyg1n19k/UusSSYg== 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:(366004)(8936002)(4326008)(54906003)(6666004)(186003)(4744005)(66476007)(86362001)(26005)(956004)(82960400001)(2616005)(36756003)(31696002)(31686004)(38100700002)(53546011)(316002)(16576012)(5660300002)(44832011)(508600001)(6486002)(66946007)(8676002)(2906002)(83380400001)(66556008)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aklIZVptRzZXUHFyMS81R2FUN0ZhaVQ3MnhXWWJPZVJOYU12S0NBakxaYkxk?= =?utf-8?B?eTFmNGtaZ3FyVU5TQjlCVmZnZTFQZzFqR2JxYzlnbEZmMG5TK3BQNUpSamQ4?= =?utf-8?B?N2pOT1BHOE8yMGtiVHlyY0VLbE13SlhYSEEwZDhzTUJXVnVETmM2WWI5NVJV?= =?utf-8?B?YjJIYS8vRkN0RTdmZzJHdEZaaW9wR252MUpOSHVhVEJSMnVlM1pTamwySjha?= =?utf-8?B?R2JpTjcvMzgvZU0vWHRGOGcyS3Y4MGNFSzJ4NWQrR0VlRTMzbGJSNFg0N0s4?= =?utf-8?B?S2R4OWtNVzdUbDRGblZWZEdlRUs1S2pNZXJXVDRSTEtyRlhaQVVPb1IrUEFs?= =?utf-8?B?WGtNT1FocnpZSHZwbStqcUtwWWxoTHNsMlU4MS9vcG9JY09zT08rN1Q3Rjg1?= =?utf-8?B?dnFCNEpZSkhSdmJ0ejkwZEtYbEJBU3pIeUluRjQ1L1pWakRQ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RmY2ajhNODNBTnVodjhoNE1VamVHYU13Um9JaE9sdW5W?= =?utf-8?B?djlpQ0E4RU84VzNDeFc0Rk5RbVVxU3JTOXRTZHBDRktuaXY2eDczbGJsSkx0?= =?utf-8?B?WE1YaDQ0NzdmeVlVYjg0Ri9nQXU0eUNRRW1oSC82d3ZjTzIrbzg4TmdnanJt?= =?utf-8?B?RCtLaThIRzU0V0cxd2YwWnBvRlA3OFZ1R0tta0RseStjR1plMW1pd2daZHFN?= =?utf-8?B?a1ZENm8xNHF4S01BWUxmS3NLYjJJaGtjbXFtaW5RdWxWSXNQS0szSkpNMUxr?= =?utf-8?B?REFYRE1RZFdIY1UwUFNjUDg1Znd0QmxHcjZJcTNnaStTekFJbUdLMWpISFJE?= =?utf-8?B?TmY0OTBVakNLbFdSbUVtMWE5aEVMbHhsSEhiYzRHc1hidlRBc3k3Y1ZuSGV2?= =?utf-8?B?SGhJZ1NMc3RRalpyMFhYb2F3MVRmZUQ2NEQ1cHRvU1hvUXR3VGMvTnRyWS93?= =?utf-8?B?YkI4R3RNd3BvU2IrY1lLcWNNL2lxOXFMbDV6b21wNUdqa1FFamh2ODNXS0pp?= =?utf-8?B?b0NYcUhrMzRxdXhHZFYwTjlnVVpEUkkrTWFLVUgvcXpaZ09DdVBjd0k0STE4?= =?utf-8?Q?7s5loyr3jY+6kBhRLaOk6xjOObNFJcRA?= X-MS-Exchange-CrossTenant-Network-Message-Id: b91c95bd-8155-4c6e-eaf6-08d9949795ae X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2021 13:35:02.4794 (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: ferruh.yigit@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4936 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/8] common/mlx5: add netlink API to get RDMA port state 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 Sender: "dev" On 10/19/2021 11:34 AM, Xueming Li wrote: > Introduce netlink API to get rdma port state. > > Port state is restrieved based on RDMA device name and port index. > > Signed-off-by: Xueming Li > Acked-by: Viacheslav Ovsiienko Is there a kernel driver version dependency for used netlink message?