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 77D5DA04A4; Wed, 2 Mar 2022 16:49:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D18542715; Wed, 2 Mar 2022 16:49:49 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 584B640141; Wed, 2 Mar 2022 16:49:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646236187; x=1677772187; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=Cii+sLfIO4l/bHxGopoSCogqKuedj/Tb1XDjPs0H95c=; b=aN4QlQF+jks5DWf5l5cEfiuPn3OUBrWk9naemoj2YlF2ZMoIPfXyyITV 93GwYfD3bSoVLgxfxh5XaomV5u2LTib47WeNxAGCJBJCs8ft/eJnl5L/m E+oCtGlF8SkBShNC9k/sRwjtSxdfFiwbig7VPf3Zwem9HOndYtuIMnh/E 39qaq92YwEjQyXyO1syAHEMXpXiUqp04zA7NOYpHn44YSDzrbCf3SareY 1+rjyDW0QAoLxHPSCmC1AeG7rRw1se3evukzcfT6kv1ULqyG07SMjWaSA hgX4nQiUCVjwWj/vzdZ/e95lDCjwKqwnPejnEcLgVCL649kH7rMdfQelc Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10274"; a="252260687" X-IronPort-AV: E=Sophos;i="5.90,149,1643702400"; d="scan'208";a="252260687" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2022 07:49:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,149,1643702400"; d="scan'208";a="807624901" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga005.fm.intel.com with ESMTP; 02 Mar 2022 07:49:45 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 2 Mar 2022 07:49:45 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 2 Mar 2022 07:49:44 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Wed, 2 Mar 2022 07:49:44 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Wed, 2 Mar 2022 07:49:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K48vgovwTfxybn/sjq7aIlD9aIrJaUKpS9n3NGth53jpnYEdmeKvdPwxbK7FGfz1thaOZecQ9fNzInB0Uy6rvZ1G4vWZE1/LXfECcwfJYq6C4yvBvF8maK63BMrWqwrZqhUu5QYzR6+73vHK69HpugGHkWJ2rBbfm6W/MQ2t6sgXMNlUPWjn7I8r0zuBon9KiPPIJQ1LEZPYFmg3f4dh6ByXIOsf8wkJKOGLOYwWr9umwADH2sHqSKO9n4GVR+C88BkHFug4mR3LIT6RKBWcVkJHV+ix37p8/I7YfsjjMc8LB48q0pCtbIgX4G3TdKBSKwtD/efduEZ5N95BhwSSuw== 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=+osI4LbKj3h07AJ0bzz72jLom1EeJeZcgH5LXuDkbNM=; b=fcJqtpbnw32NlOUXD8LFMPAt2MYwP7Cvm+RLKZYA8/zKpeRmuhxgQEbpNe2ZwzRYMCajMD2vhSx0t0nGsMLZGN3t27TPbrkYYj6D1ugbqF2m327Ad5hzQSNN6OlspvLjaz9/YSX3nHt9L3eAxy5XthccAUy7eL7SLQ/JwNi9RuRTGXk2j8oduV5JWrtbxvvTVq4TQcYdXWtLWSilowWD+Hc34FdH1gM6Gmw99PsQzcs/T7HqoNajfOiNQxEJEJNyjQgA33iPsG74IZ1bDxLDyfmBm8rSJyG9JEDu2DKiQLqS5IR7ymPYYnKfiUONawJoU6EHS7PrdR+jDKFFQcsjEQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by BN6PR1101MB2129.namprd11.prod.outlook.com (2603:10b6:405:5a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.13; Wed, 2 Mar 2022 15:49:41 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf%7]) with mapi id 15.20.5038.014; Wed, 2 Mar 2022 15:49:41 +0000 Message-ID: <619f1f34-20d3-e4eb-e2a4-bc8208625d34@intel.com> Date: Wed, 2 Mar 2022 15:49:35 +0000 Content-Language: en-US To: Dmitry Kozlyuk , , Kevin Traynor , Luca Boccassi CC: , Viacheslav Ovsiienko , "Matan Azrad" , Ray Kinsella References: <20220223164333.3834590-1-dkozlyuk@nvidia.com> <20220301121514.41497-1-dkozlyuk@nvidia.com> <20220301121514.41497-2-dkozlyuk@nvidia.com> From: Ferruh Yigit Subject: Re: [PATCH v2 1/3] common/mlx5: add Netlink event helpers X-User: ferruhy In-Reply-To: <20220301121514.41497-2-dkozlyuk@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0392.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::19) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7ab9229e-4848-4eeb-ce8e-08d9fc6443bd X-MS-TrafficTypeDiagnostic: BN6PR1101MB2129: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: DPZ3sVMeEWt++KfYHlBRmU0zqvsJaqFH0fsam1nP51hFBkj4sGcoUPRQTbR+U0lpWBjWW764RJPKiL9p8rcm9v7U0zL/nDRzMUvQhU2KhIjZVvf5lAfI322oUmcy9G2AXbiGY2mGIgtU7GQXu3L7w0V600tnft3CrbMdf7rOSftgJrrdcW45Hnl7+eetxc1wiO1bR3kA1Vyk6WrWmYWe1MZqOZ+i/ez0A7QWi2Vhr29QSbnU4xAJMs8rwywljWEqsMZdgL8N6pzigb22XpyDpvk9gM5UEcPRwzNeTiBwjEF3jn/5u07AcYrAfTol9aNPLFbTC3BL3SXNAcczl1HPyQ2KjPIZwSnwgInUdXov8NRtm419bJQM+RA6NoiJaR+DiJd7Q0Jf+VuKULenEKZsfHeTwJWHdyI5WrsZ35fMMqQF/2iN/Bk+ShEfb6jbMKDjAvAdynavqBP4BLaUicyln1mU07jdzk6skrgiISnlXMjcqAhHQWlGA0xLHVr5nP4BQzolF8Y6g+7otW43Et8yDPk6FSDCQ4yTZiXauaw9a13vl4NA8QoZGwZl7MVJxEM4wBxypIZjPdvM7YAUl3IfGx0DEp+cvv6PRc0dkad8LocaN5Hq+elXzNK6NGkkC09VUesY2iERMOOz52ctlWKtlFDdOcCOrnSIZQ5gXmobujGrX/UI3N0lDw/7osmDUqfL0f0ce+UCJRHz4KfehtjZaQ== 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:(13230001)(366004)(6506007)(38100700002)(2906002)(6512007)(82960400001)(53546011)(186003)(83380400001)(2616005)(5660300002)(26005)(54906003)(110136005)(316002)(8936002)(4326008)(8676002)(6486002)(31686004)(66476007)(66556008)(508600001)(36756003)(66946007)(4744005)(6666004)(44832011)(31696002)(86362001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UUlIeVZWcjYvUnZCKy9qMVZvT1V4SG9ZeEdQM1IxSTgzVm14a3A5Y0IvSEVG?= =?utf-8?B?VERvMFRKZ3FaU3djeGhWM0k0ZnNGRHpUekFNWUNRUzVNdjhJYTZFOWoyV1pR?= =?utf-8?B?bUExMUV6ZW10ZWFQRzJTYmE0b0NMUmRTTktDSHQ1WmlOTkNwcHM0aTJ1V0lm?= =?utf-8?B?NzJmUVZENEdqU0ZxcE9NVGJ2dWUxc01nVzNQOExkTnlrRnlkQnJUTjJ0c2R0?= =?utf-8?B?R05wVDAzL1dzWVF1aEM0ajlSK3BIV3pESHB3cURpb2pCSlpV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M0R4eVI0VmpqTGlNbnFNWU00RmRURGh5?= =?utf-8?B?OWpUR0JEeGEzWGk3dGJ5ajJsc1FueHJSTFV2RldwWE1PeURXVnpxUnoxeXlF?= =?utf-8?Q?Y4BHUfMfa0Lb606PtFYuO48=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7ab9229e-4848-4eeb-ce8e-08d9fc6443bd X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2022 15:49:41.6670 (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: UPq17kdQswkTmeF5uE6FrXA//DcLMuGaI+QxaNrPI5xZHsxMryVb4YN7J5pRF5K+ZkkoGFlM2c43sG5J/Bv2cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2129 X-OriginatorOrg: intel.com 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 3/1/2022 12:15 PM, Dmitry Kozlyuk wrote: > Introduce mlx5_nl_read_events() to read Netlink events > (technically, messages) from a socket that was configured > to listen for them via a new mlx5_nl_init() parameter. > Add mlx5_nl_parse_link_status_update() helper > to extract information from link-related events. > This patch is a shared base for later fixes. > > Cc: stable@dpdk.org > Hi Dmitry, For clarification, this patch is not fix, but it is requested to be backported to be able to backport fixes in this patchset, right? This looks OK to me, but cc'ed LTS maintainers in case they have objection. > Signed-off-by: Dmitry Kozlyuk > Reviewed-by: Viacheslav Ovsiienko <...>