]> git.baikalelectronics.ru Git - kernel.git/commit
hinic: add set_channels ethtool_ops support
authorLuo bin <luobin9@huawei.com>
Tue, 2 Jun 2020 00:40:32 +0000 (08:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2020 22:10:24 +0000 (15:10 -0700)
commit99b3f086ded0dbaa385c40926eba5b316c601d0a
tree312a4b1c5a7e2f7a939a59bb7ef859958f3fa539
parenta0a002aaf0bece08276eb55d1940a4699e19da60
hinic: add set_channels ethtool_ops support

add support to change TX/RX queue number with "ethtool -L combined".

V5 -> V6: remove check for carrier in hinic_xmit_frame
V4 -> V5: change time zone in patch header
V3 -> V4: update date in patch header
V2 -> V3: remove check for zero channels->combined_count
V1 -> V2: update commit message("ethtool -L" to "ethtool -L combined")
V0 -> V1: remove check for channels->tx_count/rx_count/other_count

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_main.c