Searched refs:tmp_rings (Results 1 – 1 of 1) sorted by relevance
1103 struct hns3_enet_ring *tmp_rings; in hns3_backup_ringparam() local1108 if (!tmp_rings) in hns3_backup_ringparam()1112 memcpy(&tmp_rings[i], &priv->ring[i], in hns3_backup_ringparam()1114 tmp_rings[i].skb = NULL; in hns3_backup_ringparam()1117 return tmp_rings; in hns3_backup_ringparam()1234 struct hns3_enet_ring *tmp_rings; in hns3_set_ringparam() local1250 tmp_rings = hns3_backup_ringparam(priv); in hns3_set_ringparam()1251 if (!tmp_rings) { in hns3_set_ringparam()1277 memcpy(&priv->ring[i], &tmp_rings[i], in hns3_set_ringparam()1281 hns3_fini_ring(&tmp_rings[i]); in hns3_set_ringparam()[all …]