Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp267023ybp; Thu, 10 Oct 2019 17:50:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/vvoMFKOdw7fnJ7l5xBmeBgKwL5lnZeyuXV4TjdKUaDIMYRRGEXfGZ2UtWkDL3cjFX6SN X-Received: by 2002:a17:906:300a:: with SMTP id 10mr11222876ejz.104.1570755002499; Thu, 10 Oct 2019 17:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570755002; cv=none; d=google.com; s=arc-20160816; b=U5Qy4ZcJxnZ2UQCbl8IHUXA5bRgnHWOlrkGbeBukfaFn3GfFL80P8+cBAstI+YDpqr I3MNuFvp5tgONP6JpZblVX5sci/TaVYY1mK/q/K57dapmbd+5MEH1LAz2tb4x+iADEgt 29Y/3LK/gsZ6sVEQRJH+dUpmzryg6MaJ0MWALzQ1irIU7c+ICSUKy/bKr0lbDuGaIvD1 7rWWZe+KETF0VUPudS/QkPlXIc7sNvlAdW5TOqvACl9SV59rDkHQb7W/imDHusFp0mAE +YdgiJfE9Szw14i0HUcWqjxKo6da5pkFdr2BDVu+TOBveKPrs9Nc7F9GFz+VzIXpZ8yr aZcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=QU4wqiF8JyGpQM5MISLkrt1uWMuNVRRyuUjZmBQ6ej8=; b=aa2o5OCakIBi2d+/fVyiWzPI9d7yxIAccs0cLrbXfFVHWA2jnEMuV6KTo4qsDBIqv2 z93/Wh7keUG2vQn2UWiYyH/xL4TZ0jqBRJjFzDXcHYmgvnbjyjT2zLjy5+K5SpK5Jn/2 LVzRJH1zswKM2cRLYN1EKvHe840Nj+u/BDbnvsNFFMPcg52C7vTznszJ24WxTDqlJe6e oK9vAU0EGknZB4Gt2TibnJMW354PY15GPW1wGyAS/3rMGKgLE5mu07nkIy3MdDl2EpCR B5vdaQproxm2HGk5HJCyUWumSTIkve5BimA8GVkKbpxmlRvfgqwzXRW17OCX5LgecrH+ Mjcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=a2HrG71e; 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 ot41si4161756ejb.215.2019.10.10.17.49.38; Thu, 10 Oct 2019 17:50:02 -0700 (PDT) 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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=a2HrG71e; 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 S1727794AbfJKAs5 (ORCPT + 99 others); Thu, 10 Oct 2019 20:48:57 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:40721 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727510AbfJKAs5 (ORCPT ); Thu, 10 Oct 2019 20:48:57 -0400 Received: by mail-qk1-f196.google.com with SMTP id y144so7376121qkb.7 for ; Thu, 10 Oct 2019 17:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=QU4wqiF8JyGpQM5MISLkrt1uWMuNVRRyuUjZmBQ6ej8=; b=a2HrG71ePNNWoHJSw+SvYuVP4ZxWJ9fpQ/PWLjjFbbobTU81mQPXkouf5Kv5PnFvoE XVRbO2TUAnUhXGGi4aaUmFu38ZSgBGb9EnLIpp2tfaqufd22zXQykJpNShMnvxzwK8qJ i6gKV8B1a7wbjUUMdInwGR58oDZG731zm0BMdFq9yclFP68ED+FJOkLZCyZTAm/ud7g6 8AMh9XD4cTbEXJccGmaeRcflgfC0TS2QDxkVGQmQx2l6JR5JsjbzgWSl1oeQuzzima/N RtM9aAo/HWx78cb7p8U+RjXEQFK0XxWcEWRY7LVw02g9RlR50lOSQk7nLaxeqO9AxDGH CwRQ== 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:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=QU4wqiF8JyGpQM5MISLkrt1uWMuNVRRyuUjZmBQ6ej8=; b=SNarlhjUWlBRPMiqxEUli8gS0Kam8Nt0YAbFQB+Mozc50bfAfBqIk+N9xUVNtoo8Jh 54pwceeovTc0cM/CU1VM3iLJy5U0bQzrPCpnub9sFCDQGkSUVc+D761d5tcsncyHyKO9 ouqzoa82He26U16WQMffzKoE1BarjEizEnNsgXYb7HKzbNg42VLL2MpFDMY9srrLJ9Sz +XgXOCNXZ3GfvSuBEhJtG6V7gTfbp1STLlTaB9LNPFoywjMmLJjsNCnM8PTU5lMx4KYr w6XTVivJsimhrhJonB6Eb+pYULj5Ea+Xc3fsIHoR6RZEj77fn3JphQqMYaTqtVyaZ4Rl iKuQ== X-Gm-Message-State: APjAAAXo97TDQkAw/4PJpgk3BIPnUrLdNT9F5WEVZ5dgwUMELfF7+0Zy 4Qjb7xt2ewqEHRUnnpIhfrsm+A== X-Received: by 2002:a37:983:: with SMTP id 125mr12748039qkj.411.1570754936223; Thu, 10 Oct 2019 17:48:56 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id 56sm6415628qty.15.2019.10.10.17.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 17:48:56 -0700 (PDT) Date: Thu, 10 Oct 2019 17:48:39 -0700 From: Jakub Kicinski To: Michal Kubecek Cc: David Miller , netdev@vger.kernel.org, Jiri Pirko , Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , Johannes Berg , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v7 00/17] ethtool netlink interface, part 1 Message-ID: <20191010174839.6e44158b@cakuba.netronome.com> In-Reply-To: References: Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Oct 2019 22:59:00 +0200 (CEST), Michal Kubecek wrote: > This is first part of netlink based alternative userspace interface for > ethtool. It aims to address some long known issues with the ioctl > interface, mainly lack of extensibility, raciness, limited error reporting > and absence of notifications. The goal is to allow userspace ethtool > utility to provide all features it currently does but without using the > ioctl interface. However, some features provided by ethtool ioctl API will > be available through other netlink interfaces (rtnetlink, devlink) if it's > more appropriate. Looks like perhaps with ETHTOOL_A_HEADER_RFLAGS checking taken out of the picture we can proceed as is and potentially work on defining some best practices around attrs and nesting for the future generations? :) I was trying to find a way to perhaps start merging something.. Would it make sense to spin out patches 1, 2, 3, and 8 as they seem to be ready (possibly 11, too if the reorder isn't painful)?