Re: [PATCH net-next] ibmvnic: Improve output for unsupported stats

2017-10-02 Thread David Miller
From: Andrew Lunn Date: Mon, 2 Oct 2017 23:57:23 +0200 > On Mon, Oct 02, 2017 at 03:31:39PM -0500, John Allen wrote: >> The vnic server can report -1 in the event that a given statistic is not >> supported. Currently, the -1 value is implicitly cast to an unsigned >> integer and appears through t

Re: [PATCH net-next] ibmvnic: Improve output for unsupported stats

2017-10-02 Thread Andrew Lunn
On Mon, Oct 02, 2017 at 03:31:39PM -0500, John Allen wrote: > The vnic server can report -1 in the event that a given statistic is not > supported. Currently, the -1 value is implicitly cast to an unsigned > integer and appears through the ethtool -S output as a very large number. > This patch impr

[PATCH net-next] ibmvnic: Improve output for unsupported stats

2017-10-02 Thread John Allen
The vnic server can report -1 in the event that a given statistic is not supported. Currently, the -1 value is implicitly cast to an unsigned integer and appears through the ethtool -S output as a very large number. This patch improves this behavior by reporting 0 in the event that a given statisti