Lines Matching refs:old_ringparam
1165 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()
1265 old_ringparam.rx_buf_len, new_ringparam.rx_buf_len); in hns3_set_ringparam()
1278 hns3_change_rx_buf_len(ndev, old_ringparam.rx_buf_len); in hns3_set_ringparam()
1279 hns3_change_all_ring_bd_num(priv, old_ringparam.tx_desc_num, in hns3_set_ringparam()
1280 old_ringparam.rx_desc_num); in hns3_set_ringparam()