[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BL0PR2101MB09308AB4F78EA5B1B27B1CCBCA760@BL0PR2101MB0930.namprd21.prod.outlook.com>
Date: Thu, 23 Jul 2020 19:55:20 +0000
From: Haiyang Zhang <haiyangz@...rosoft.com>
To: Michal Kubecek <mkubecek@...e.cz>,
Chi Song <Song.Chi@...rosoft.com>
CC: KY Srinivasan <kys@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v7 net-next] net: hyperv: dump TX indirection table to
ethtool regs
> -----Original Message-----
> From: Michal Kubecek <mkubecek@...e.cz>
> Sent: Thursday, July 23, 2020 3:36 PM
> To: Chi Song <Song.Chi@...rosoft.com>
> Cc: KY Srinivasan <kys@...rosoft.com>; Haiyang Zhang
> <haiyangz@...rosoft.com>; Stephen Hemminger <sthemmin@...rosoft.com>;
> Wei Liu <wei.liu@...nel.org>; David S. Miller <davem@...emloft.net>; Jakub
> Kicinski <kuba@...nel.org>; linux-hyperv@...r.kernel.org;
> netdev@...r.kernel.org; linux-kernel@...r.kernel.org
> Subject: Re: [PATCH v7 net-next] net: hyperv: dump TX indirection table to
> ethtool regs
>
> On Wed, Jul 22, 2020 at 11:59:09PM -0700, Chi Song wrote:
> > An imbalanced TX indirection table causes netvsc to have low
> > performance. This table is created and managed during runtime. To help
> > better diagnose performance issues caused by imbalanced tables, it needs
> > make TX indirection tables visible.
> >
> > Because TX indirection table is driver specified information, so
> > display it via ethtool register dump.
>
> Is the Tx indirection table really unique to netvsc or can we expect
> other drivers to support similar feature? Also, would it make sense to
> allow also setting the table with ethtool? (AFAICS it can be only set
> from hypervisor at the moment.)
Currently, TX indirection table is only used by the Hyper-V synthetic NIC. I'm
not aware of any other NIC planning to use this.
This table is created by host dynamically based on host side CPU usage,
and provided to the VM periodically. Our protocol doesn't let the guest side
to change it.
Thanks,
- Haiyang
Powered by blists - more mailing lists