net: hns3: modify the ring param print info
Currently tx push is also a ring param. So the original ring param print
info in hns3_is_ringparam_changed should be adjusted.
Fixes: 07fdc163ac
("net: hns3: refactor hns3_set_ringparam()")
Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
283847e3ef
commit
cfd80687a5
|
@ -1129,7 +1129,7 @@ hns3_is_ringparam_changed(struct net_device *ndev,
|
|||
if (old_ringparam->tx_desc_num == new_ringparam->tx_desc_num &&
|
||||
old_ringparam->rx_desc_num == new_ringparam->rx_desc_num &&
|
||||
old_ringparam->rx_buf_len == new_ringparam->rx_buf_len) {
|
||||
netdev_info(ndev, "ringparam not changed\n");
|
||||
netdev_info(ndev, "descriptor number and rx buffer length not changed\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue