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

2020-07-20 Thread David Miller
From: Chi Song Date: Tue, 21 Jul 2020 02:37:42 + > +static ssize_t tx_indirection_show(struct device *dev, > +struct device_attribute *dev_attr, char *buf) > +{ > + struct net_device *ndev = to_net_dev(dev); > + struct net_device_context *ndc =

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

2020-07-20 Thread Chi Song
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 --- v4: