From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F28E5C433E0 for ; Mon, 11 Jan 2021 05:31:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B7FF0205CA for ; Mon, 11 Jan 2021 05:31:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727334AbhAKFbY (ORCPT ); Mon, 11 Jan 2021 00:31:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:60130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbhAKFbX (ORCPT ); Mon, 11 Jan 2021 00:31:23 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E200205CA; Mon, 11 Jan 2021 05:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610343043; bh=Id1285G737J0aoqxJGvM/ZIcD3X+Z6IwGoKmmJf8hiU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FHxk1cJMhOftPT+9WAknjY0ya6u3uxOhe/rmd4D3f1enlZqlHuAW13kVaCKrCWKoD ZU6EkwLGRm2MXCNBLEi7zxRf6Nsw1KgO02jBD15DRuoBFn/gNMxINYLRdTOum8nsaD kVC2RynQ5phzpdufd/xLtfr7xNlPTV4VA9XWVZFBx/rBBBY5Pkc1EwES6ZJVsqYRmJ Lixsv/Kn7XlkIjoxKshGA3qt++ckT6tHhu7VlToPoK35pNBZEv9UdmhvL3rzBU9YSv EcC7ZyYIjXNozGBFvbKLNxea6u3/bzYxxJMvuTExeFax6OlfJ0zH5iwLmkN8VVQF7e fKH7zop8+gL4w== Date: Mon, 11 Jan 2021 07:30:38 +0200 From: Leon Romanovsky To: David Ahern Cc: Patrisious Haddad , Doug Ledford , Jason Gunthorpe , linux-netdev , RDMA mailing list Subject: Re: [PATCH iproute2-next v2] rdma: Add support for the netlink extack Message-ID: <20210111053038.GJ31158@unreal> References: <20210103061706.18313-1-leon@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Jan 10, 2021 at 10:23:06AM -0700, David Ahern wrote: > On 1/2/21 11:17 PM, Leon Romanovsky wrote: > > From: Patrisious Haddad > > > > Add support in rdma for extack errors to be received > > in userspace when sent from kernel, so now netlink extack > > error messages sent from kernel would be printed for the > > user. > > > > Signed-off-by: Patrisious Haddad > > Signed-off-by: Leon Romanovsky > > --- > > David, > > > > Just as a note, rdmatool is heavily influenced by the devlink and > > general code should probably be applicable for both tools. Most likely > > that any core refactoring/fix in the devlink is needed for rdmatool too. > > > > understood and it was not the best model to start with but here we are. > > Petr did a good job of refactoring when he added dcb, but rdma was > slightly different so the refactoring did not update it. I can work to reduce the gaps, just need to know them. Thanks