Merge branch 'hns3-add-some-new-features-and-fix-some-bugs'
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Jan 2018 15:12:33 +0000 (10:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jan 2018 15:12:33 +0000 (10:12 -0500)
commit6bd39bc3da0f4a301fae69c4a32db2768f5118be
tree2cd1e3db2f3646cb93b150cc7aa929f7a7f66afa
parent19d28fbd306e7ae7c1acf05c3e6968b56f0d196b
parentbd368416c3c432acd5b525f3e6b038bef5ee9e40
Merge branch 'hns3-add-some-new-features-and-fix-some-bugs'

Peng Li says:

====================
hns3: add some new features and fix some bugs

This patchset adds 3 ethtool features: get_channels,
get_coalesce and get_coalesce, and fix some bugs.

[patch 1/11] adds ethtool_ops.get_channels (ethtool -l) support
for VF.

[patch 2/11] removes TSO config command from VF driver,
as only main PF can config TSO MSS length according to
hardware.

[patch 3/11 - 4/11] add ethtool_ops {get|set}_coalesce
(ethtool -c/-C) support to PF.
[patch 5/11 - 9/11] fix some bugs related to {get|set}_coalesce.

[patch 10/11 - 11/11] fix the features handling in
hns3_nic_set_features(). Local variable "changed" was defined
to indicates features changed, but was used only for feature
NETIF_F_HW_VLAN_CTAG_RX. Add checking to improve the reliability.

---
Change log:
V1 -> V2:
1, Rewrite the cover letter requested by David Miller.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>