Re: [PATCH v6 net-next] net: hyperv: Add attributes to show TX indirection table

From: Jakub Kicinski
Date: Tue Jul 21 2020 - 15:21:31 EST


On Tue, 21 Jul 2020 04:58:59 +0000 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, add
> device attributes to show the content of TX indirection tables.
>
> Signed-off-by: Chi Song <chisong@xxxxxxxxxxxxx>

Sorry for waiting until v6 but sysfs feel like a very strange place to
expose this. Especially under the netdev, not the bus device.

This looks like device specific state, perhaps ethtool -d is a more
appropriate place?