Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3495939imj; Tue, 19 Feb 2019 04:39:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IZvlSkUdRRl4y5U1uBUTu2M8QPtLXVOCDrDp9T89AVmNhijMAYIDb5aC3LL+unrpua0foB3 X-Received: by 2002:a62:564d:: with SMTP id k74mr20722464pfb.19.1550579948149; Tue, 19 Feb 2019 04:39:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550579948; cv=none; d=google.com; s=arc-20160816; b=mHe82MwIKhbcT8Ttm7xiKZegfTTv0FauNdFuE+S1Gf1w7vaJUamZjnaTUS/H+c0dhi 7HqRQCOldo/0AcUpw1bOWZvKIhU4oP77YeSCRRsEe2S29kZgdCIscu/xNfDDmNuc/60h d27JQlEiyPiCOEPSAB1ABonoO5IMrqw1Cv7O2nTBFElD/zA4fd9Akl06AYF2TDVRx4LH 2eTSJPDjTOqSCYWrvaVF1aQc1uooVpaR1bPUPyPICCeMq9GZnfwLDeHCGyZLeTt758n9 I6gqxv3XOaMq22vTrqCyW2oB64PUoQIBBvKiGk1lTCiUd/ZRjMA7/u9hx1fFYyxVRFw0 ya6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wk1ZskZt9SLsSnbGhbNQhR7+wNdHNYlLVpLOz+Fvoro=; b=iJsQlK+zY1GvhexaqQlvFQVMJfTtMCBtDYZ/YYvpzz6xteRMGYX6rj28ZAQoxA8d0V cXDmgOX/smvvI7Ua4v6e/VnGNZfc+OvWCFSKBHarUQWcAfM53IU31K61HOHctmIhFjli T8zCJRPWuNKtU4A48koUlzIIb9/Myr3laQmQNL82H3wwd4ObL/2QgK5zAEGwaXL/hI2b T/GikSoBlstPXMBFLm/HZ0Rgigs0AByoLi9fKtwgpVOzWacSXF59cU3IUva9/bb6Opsw gOQzqxjh+lsp1t7a3rllDGiSuEuROJJ8TkJv5HNdwQLy7oqCm4hdxaZUvKd63bjdlWoW WFCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=dMr9A99D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s6si8177757plq.160.2019.02.19.04.38.52; Tue, 19 Feb 2019 04:39:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=dMr9A99D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728268AbfBSMgw (ORCPT + 99 others); Tue, 19 Feb 2019 07:36:52 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54371 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbfBSMgw (ORCPT ); Tue, 19 Feb 2019 07:36:52 -0500 Received: by mail-wm1-f68.google.com with SMTP id a62so2638973wmh.4 for ; Tue, 19 Feb 2019 04:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wk1ZskZt9SLsSnbGhbNQhR7+wNdHNYlLVpLOz+Fvoro=; b=dMr9A99Di8p/NqtLMbO3KGSBa3OjMOkED5hKAlK0Mgv/jvjjYZI3ZzPKxhd8We10CR YtYtienypxSfSWo2vVyX9NFMGLs+wZFG0Q2fZEb3gWI+EmaZs5DfoMvJpBmgfEDCq7lv mSYmsjra00KmqIMslgVWpB5Q9nRadJsLEYug7uYDsWjGcA9nbGPoiOs+lpQy+dWD43No 59mgHHvE43oKwJJwUzLLeKOoNZKwTabJeVe/dzdjUnLMQ4LY9oO7+sl8I3t1BUXh8Kwz 5uDFG5fJvjGOl+r63lbGK6a67gfH0lKzZyUzeu1KCGwpnz6bgmW4NkBPS2DJDerR9Bd6 BQNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wk1ZskZt9SLsSnbGhbNQhR7+wNdHNYlLVpLOz+Fvoro=; b=kd1pd8g4HLwpwKcqB2u6U5Mw5/7UDik4RjVTcYHwXXSBTph+Xt3/U5aPhJ0wEQbR/p rwje+iP5nEDYZAtCYbT7qeWvIyMj/ozB0Nf3LPKK225Bvce4tmpAHpKGdDAbI+c4BGCV 6Drs5YlGKn138JuMmcv4+mA1hO7aWYlgj8up856x/5QMeGDipnjZwOUW+g9FYgvKIwzu s4U/CEfNcPRRd3B/jZ23XFNwGb44L/2r+0k0fb3jRZ23yQhxoj3zq6UvXbnpGIGNplwH xTw2AzFqg1vEEJrr3/ad2BsNSMM0X6Lpk8NgR72L/aCUv4NCtg6A5+3vxQkFEinzOr+L 1q7g== X-Gm-Message-State: AHQUAubyLnLPEWjKGbRV40ZYpjn8TWO+h5rOfEPD5meir5USadexRFNg FYpLH24HfR89LYxhY1tWNxC9Hg== X-Received: by 2002:a5d:68c2:: with SMTP id p2mr19196194wrw.23.1550579809761; Tue, 19 Feb 2019 04:36:49 -0800 (PST) Received: from localhost (ip-213-220-234-21.net.upcbroadband.cz. [213.220.234.21]) by smtp.gmail.com with ESMTPSA id h142sm3805927wme.33.2019.02.19.04.36.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Feb 2019 04:36:49 -0800 (PST) Date: Tue, 19 Feb 2019 13:27:14 +0100 From: Jiri Pirko To: Michal Kubecek Cc: netdev@vger.kernel.org, David Miller , Andrew Lunn , Jakub Kicinski , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH net-next v3 00/21] ethtool netlink interface, part 1 Message-ID: <20190219122714.GE3080@nanopsycho> References: <20190219103508.GD3080@nanopsycho> <20190219115727.GE23151@unicorn.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190219115727.GE23151@unicorn.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tue, Feb 19, 2019 at 12:57:27PM CET, mkubecek@suse.cz wrote: >On Tue, Feb 19, 2019 at 11:35:08AM +0100, Jiri Pirko wrote: >> >- some features provided by ethtool would rather belong to devlink (and >> > some are already superseded by devlink); however, only few drivers >> > provide devlink interface at the moment and as recent discussion on >> > flashing revealed, we cannot rely on devlink's presence >> >> Could you explain why please? > >What I mean is the problem discussed under Jakub's devlink flash >patchset: that he couldn't implement only the devlink callback in nfp >and rely on the generic fallback to devlink because it wouldn't work if >devlink is built as a module. So let's fix that. > >But I think this should be addressed. If we agree that flashing (and >other features provided by ethtool at the moment) rather belongs to >devlink (which nobody seems to oppose), we should rather try to make it >possible for drivers to provide only the devlink callback and gradually >move all in-tree drivers to doing so. (And one day, remove it from >ethtool_ops.) It doesn't seem to make much sense to have devlink as >a module in such scenario. Agreed. > >Michal