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=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 6BB96C433DF for ; Fri, 17 Jul 2020 17:15:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 455B4206BE for ; Fri, 17 Jul 2020 17:15:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="O3U9cXdh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726859AbgGQRPd (ORCPT ); Fri, 17 Jul 2020 13:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726845AbgGQRPc (ORCPT ); Fri, 17 Jul 2020 13:15:32 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D69C0619D3 for ; Fri, 17 Jul 2020 10:15:32 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id u5so5718863pfn.7 for ; Fri, 17 Jul 2020 10:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S5C1kGzcRMh5s/xY35azbfaECu6ziYdmjWrDYnFfJwo=; b=O3U9cXdhHUGlStVnak0/NAZMRb2ktBQVCGkUKQpZK+CvTlV0dHTZ2devvh1Ckwie8a 78dPQ8dMBho4ThvDyK7I5Ipqz5GTIcOzB3yp1u7cyYjWbqM3wPSnU/197PJYnz8CMHrf gaEsnu8SzPBrY8Syh9dkwlYsvL16rLoBN9P96aSv5cc2oE3mATK++CrDXygbfMbT2hVf Lf0GdXh7QnS6WWHqz6GUgAsa/1ylTnSBW1fs2ydRokEPJuW1sx0iwlAYMGvVO/MTo2ae XrCaVJjy1l8OSbLlzc//UBrNu5dkUAvWFdz7IEvVhsMULRQziBh5n7c0vHqGwd/ups59 paqQ== 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:mime-version:content-transfer-encoding; bh=S5C1kGzcRMh5s/xY35azbfaECu6ziYdmjWrDYnFfJwo=; b=WK2t0BTvhiF5oMVF9y/7Pv6W7XuR6OkWxmCFT//0N1eySUp+tj6GP/HkL+M3Q9rnXB umSfCyGA17XTeT2YTHpxUdChwem6cILPzJPC2R/koPpCVYdJLA2wP7OxeYFtWfQynrVl uhvZJZDEd/yoM8uNjKWo/0kXkDWM36EE46i1m7xxxKYHq9V+g4PdBLGMvB3QNV23dXrt zka17x2lUxrVrxNSZKcMB32kFF1YDJHhZH0RpOJd5EuZ1kwT2XLXkQVi47Sj9eZRi8dM W99Mi+Qc+htRMJnlcLHKWY3tWE4uqTeuVBbO0oqF8wi5vEcRZ9FuH8Dm//M6/gB6yhz7 S7zg== X-Gm-Message-State: AOAM5334OuzZtrO+oJ57igfBCl7/YLj8APh+yvzBcIFKjIYhHhdT9ZsY mxgYi6C8s1Ujh+6TFAoGN6Nw3w== X-Google-Smtp-Source: ABdhPJyvFL0kYbKEv0lMOW8F4w+Qc9Y8qj8kBRC1EnjD51+LqQyMvBntqEKUB+MgAxFyS0wTKc/IEw== X-Received: by 2002:aa7:84d3:: with SMTP id x19mr9208993pfn.155.1595006131819; Fri, 17 Jul 2020 10:15:31 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id nk22sm3297605pjb.51.2020.07.17.10.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 10:15:31 -0700 (PDT) Date: Fri, 17 Jul 2020 10:15:23 -0700 From: Stephen Hemminger To: David Miller Cc: haiyangz@microsoft.com, Song.Chi@microsoft.com, kys@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org, kuba@kernel.org, ast@kernel.org, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, john.fastabend@gmail.com, kpsingh@chromium.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next] net: hyperv: Add attributes to show RX/TX indirection table Message-ID: <20200717101523.6573061b@hermes.lan> In-Reply-To: <20200717.095535.195550343235350259.davem@davemloft.net> References: <20200717082451.00c59b42@hermes.lan> <20200717.095535.195550343235350259.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-hyperv-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hyperv@vger.kernel.org On Fri, 17 Jul 2020 09:55:35 -0700 (PDT) David Miller wrote: > From: Haiyang Zhang > Date: Fri, 17 Jul 2020 16:18:11 +0000 > > > Also in some minimal installation, "ethtool" may not always be > > installed. > > This is never an argument against using the most well suited API for > exporting information to the user. > > You can write "minimal" tools that just perform the ethtool netlink > operations you require for information retrieval, you don't have to > have the ethtool utility installed. Would it be better in the long term to make the transmit indirection table available under the new rt_netlink based API's for ethtool? I can imagine that other hardware or hypervisors might have the same kind of transmit mapping. Alternatively, the hyperv network driver could integrate/replace the indirection table with something based on current receive flow steering.