Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1016656ybh; Thu, 12 Mar 2020 15:33:34 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu8d/TsvlMFkJ4lCSP8OM2zUZSsIBlo0+VPSpHVZVuLimCnhc892PuM7uzQsOdykNb5nZjg X-Received: by 2002:a9d:4f0:: with SMTP id 103mr4958677otm.336.1584052413968; Thu, 12 Mar 2020 15:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584052413; cv=none; d=google.com; s=arc-20160816; b=adjhfTC915BiOrw70CW4CkgvcOKxluIw2lXKTEwPZ4F7k27MHfL2b8myn4JSNhf/c/ N6UIEdgZibf39Ym3p3VckYZyyr2S9z/wgihckFAWXJSGFe3RqIJzyI4Y1pA1OJZxt1ap dXu244F3ulhLmIAFfqUDxBxgR9ZgzpYw7JODqlO6V7J/ou3VmBsjyrRFvvrhcw91Q4Ak 1wtJP0Hoi/AYsK7nYkQxI0YDGENxL/K0tSzwYiiLFiu4if8nojYwKsA8f3m4hyyMzJEi 3BrxPnqjcbaxdiyh6ZSvrceWCJA8zbdY88skCuAUZQkrG3OIZkFgMO9LsQT2eG1Fpm7t 0UdQ== 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 :references:in-reply-to:from:subject:cc:to:message-id:date; bh=OfdXm7OdVRGquDGkpn41Mhmp9Wm82nuqNJh3aaCIigs=; b=PmxUdMGtDZTKo/TRm34NUT7iBetPKzHM3w2zMCuQghBq9BNXfmYBejJ/49YkKJGBGh AVGU665WekOd/Vv8oBMv0RDNwAFbCullA4fwg/JsFXAql2dPFI8PaXAVUaBfiP9nHnTh rf4plfGMGR7Pad7JVn+e4Z5qPkPLddMKm1EX0H+iQBPHDwDYHjni7cVqmHTbhKoFbMtW NtbY9e/JiNUMUhb8QLydn/ggli8vtvXX85+kEYHxWwz5FGZTyL38bOJ1yxaYeg3IhoMF Ra2EbINtZxSu+mWMx9fp2CJnokMl3nCjAV2DP6iAsI7q/BrHPlB8088P2IJ+TKCUOWx7 6xvg== ARC-Authentication-Results: i=1; mx.google.com; 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 26si3393652oiz.107.2020.03.12.15.33.22; Thu, 12 Mar 2020 15:33:33 -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; 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 S1726775AbgCLWc4 (ORCPT + 99 others); Thu, 12 Mar 2020 18:32:56 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35854 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbgCLWc4 (ORCPT ); Thu, 12 Mar 2020 18:32:56 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 0DB2215841951; Thu, 12 Mar 2020 15:32:55 -0700 (PDT) Date: Thu, 12 Mar 2020 15:32:52 -0700 (PDT) Message-Id: <20200312.153252.145444897248947088.davem@davemloft.net> To: mkubecek@suse.cz Cc: kuba@kernel.org, netdev@vger.kernel.org, jiri@resnulli.us, andrew@lunn.ch, f.fainelli@gmail.com, linville@tuxdriver.com, johannes@sipsolutions.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 00/15] ethtool netlink interface, part 3 From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 12 Mar 2020 15:32:55 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michal Kubecek Date: Thu, 12 Mar 2020 21:07:33 +0100 (CET) > Implementation of more netlink request types: > > - netdev features (ethtool -k/-K, patches 3-6) > - private flags (--show-priv-flags / --set-priv-flags, patches 7-9) > - ring sizes (ethtool -g/-G, patches 10-12) > - channel counts (ethtool -l/-L, patches 13-15) > > Patch 1 is a style cleanup suggested in part 2 review and patch 2 updates > the mapping between netdev features and legacy ioctl requests (which are > still used by ethtool for backward compatibility). > > Changes in v2: > - fix netdev reference leaks in error path of ethnl_set_rings() and > ethnl_set_channels() (found by Jakub Kicinski) > - use __set_bit() rather than set_bit() (suggested by David Miller) > - in replies to RINGS_GET and CHANNELS_GET requests, omit ring and > channel types not supported by driver/device (suggested by Jakub > Kicinski) > - more descriptive message size calculations in rings_reply_size() and > channels_reply_size() (suggested by Jakub Kicinski) > - coding style cleanup (suggested by Jakub Kicinski) Series applied, thanks Michal.