RE: [PATCH net-next] net: hyperv: Add attributes to show RX/TX indirection table
From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2020-07-17 17:33:19
Also in:
linux-hyperv
-----Original Message----- From: Stephen Hemminger <stephen@networkplumber.org> Sent: Friday, July 17, 2020 1:15 PM To: David Miller <davem@davemloft.net> Cc: Haiyang Zhang <haiyangz@microsoft.com>; Chi Song [off-list ref]; KY Srinivasan [off-list ref]; Stephen Hemminger [off-list ref]; 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 On Fri, 17 Jul 2020 09:55:35 -0700 (PDT) David Miller [off-list ref] wrote:quoted
From: Haiyang Zhang <haiyangz@microsoft.com> Date: Fri, 17 Jul 2020 16:18:11 +0000quoted
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.
I think it should be a good long term plan, if going forward more NIC drivers start to use TX table in the future. Thanks, - Haiyang