Re: [PATCH net-next v1] hinic: add set_channels ethtool_ops support

2020-05-16 Thread David Miller
From: Luo bin Date: Fri, 15 May 2020 19:42:12 + > add support to change TX/RX queue number with ethtool -L > > Signed-off-by: Luo bin I don't think you are properly following the semantics of this ethtool command with your changes. In fact, you are breaking the hinic_get_channels() functi

[PATCH net-next v1] hinic: add set_channels ethtool_ops support

2020-05-15 Thread Luo bin
add support to change TX/RX queue number with ethtool -L Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 46 +++ .../net/ethernet/huawei/hinic/hinic_main.c| 2 +- drivers/net/ethernet/huawei/hinic/hinic_tx.c | 5 ++ 3 files changed, 44 insertions