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

2020-06-01 Thread luobin (L)
On 2020/6/2 1:53, David Miller wrote: From: Luo bin Date: Mon, 1 Jun 2020 18:57:48 +0800 @@ -470,6 +470,11 @@ netdev_tx_t hinic_xmit_frame(struct sk_buff *skb, struct net_device *netdev) struct hinic_txq *txq; struct hinic_qp *qp; + if (unlikely(!netif_carrier_ok(netdev)))

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

2020-06-01 Thread David Miller
From: Luo bin Date: Mon, 1 Jun 2020 18:57:48 +0800 > @@ -470,6 +470,11 @@ netdev_tx_t hinic_xmit_frame(struct sk_buff *skb, struct > net_device *netdev) > struct hinic_txq *txq; > struct hinic_qp *qp; > > + if (unlikely(!netif_carrier_ok(netdev))) { > +

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

2020-06-01 Thread Luo bin
add support to change TX/RX queue number with "ethtool -L combined". V4 -> V5: change time zone in patch header V4 -> V3: update date in patch header V3 -> V2: remove check for zero channels->combined_count V1 -> V2: update commit message("ethtool -L" to "ethtool -L combined") V0 -> V1: remove