Re: [PATCH ethtool] ethtool: Fix the "advertise" parameter logic.

2016-11-23 Thread John W. Linville
On Tue, Nov 22, 2016 at 06:55:47PM -0500, Michael Chan wrote: > From: Michael Chan > > The current code ignores the value of the advertise parameter. For example, > > ethtool -s ethx advertise 0x1000 > > The full_advertising_wanted parameter of 0x1000 is not passed to the

[PATCH ethtool] ethtool: Fix the "advertise" parameter logic.

2016-11-22 Thread Michael Chan
From: Michael Chan The current code ignores the value of the advertise parameter. For example, ethtool -s ethx advertise 0x1000 The full_advertising_wanted parameter of 0x1000 is not passed to the kernel. The reason is that advertising_wanted is NULL in this case, and