Home
last modified time | relevance | path

Searched refs:old_ringparam (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1165 struct hns3_ring_param *old_ringparam, in hns3_is_ringparam_changed() argument
1176 old_ringparam->tx_desc_num = priv->ring[0].desc_num; in hns3_is_ringparam_changed()
1177 old_ringparam->rx_desc_num = priv->ring[queue_num].desc_num; in hns3_is_ringparam_changed()
1178 old_ringparam->rx_buf_len = priv->ring[queue_num].buf_size; in hns3_is_ringparam_changed()
1181 if (old_ringparam->tx_desc_num == new_ringparam->tx_desc_num && in hns3_is_ringparam_changed()
1182 old_ringparam->rx_desc_num == new_ringparam->rx_desc_num && in hns3_is_ringparam_changed()
1183 old_ringparam->rx_buf_len == new_ringparam->rx_buf_len) { in hns3_is_ringparam_changed()
1236 struct hns3_ring_param old_ringparam, new_ringparam; in hns3_set_ringparam() local
1252 &old_ringparam, &new_ringparam)) in hns3_set_ringparam()
1263 old_ringparam.tx_desc_num, old_ringparam.rx_desc_num, in hns3_set_ringparam()
[all …]