Searched refs:new_ringparam (Results 1 – 1 of 1) sorted by relevance
1166 struct hns3_ring_param *new_ringparam) in hns3_is_ringparam_changed() argument1172 new_ringparam->tx_desc_num = ALIGN(param->tx_pending, in hns3_is_ringparam_changed()1174 new_ringparam->rx_desc_num = ALIGN(param->rx_pending, in hns3_is_ringparam_changed()1179 new_ringparam->rx_buf_len = kernel_param->rx_buf_len; 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() local1252 &old_ringparam, &new_ringparam)) in hns3_set_ringparam()1264 new_ringparam.tx_desc_num, new_ringparam.rx_desc_num, in hns3_set_ringparam()[all …]