Skip to content

Commit cfd8068

Browse files
Jie Wangdavem330
authored andcommitted
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: 07fdc16 ("net: hns3: refactor hns3_set_ringparam()") Signed-off-by: Jie Wang <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 283847e commit cfd8068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ hns3_is_ringparam_changed(struct net_device *ndev,
11291129
if (old_ringparam->tx_desc_num == new_ringparam->tx_desc_num &&
11301130
old_ringparam->rx_desc_num == new_ringparam->rx_desc_num &&
11311131
old_ringparam->rx_buf_len == new_ringparam->rx_buf_len) {
1132-
netdev_info(ndev, "ringparam not changed\n");
1132+
netdev_info(ndev, "descriptor number and rx buffer length not changed\n");
11331133
return false;
11341134
}
11351135

0 commit comments

Comments
 (0)