Lines Matching refs:rss_new
1620 struct iavf_adv_rss *rss_old, *rss_new; in iavf_set_adv_rss_hash_opt() local
1637 rss_new = kzalloc(sizeof(*rss_new), GFP_KERNEL); in iavf_set_adv_rss_hash_opt()
1638 if (!rss_new) in iavf_set_adv_rss_hash_opt()
1641 if (iavf_fill_adv_rss_cfg_msg(&rss_new->cfg_msg, hdrs, hash_flds)) { in iavf_set_adv_rss_hash_opt()
1642 kfree(rss_new); in iavf_set_adv_rss_hash_opt()
1648 kfree(rss_new); in iavf_set_adv_rss_hash_opt()
1663 memcpy(&rss_old->cfg_msg, &rss_new->cfg_msg, in iavf_set_adv_rss_hash_opt()
1664 sizeof(rss_new->cfg_msg)); in iavf_set_adv_rss_hash_opt()
1671 rss_new->state = IAVF_ADV_RSS_ADD_REQUEST; in iavf_set_adv_rss_hash_opt()
1672 rss_new->packet_hdrs = hdrs; in iavf_set_adv_rss_hash_opt()
1673 rss_new->hash_flds = hash_flds; in iavf_set_adv_rss_hash_opt()
1674 list_add_tail(&rss_new->list, &adapter->adv_rss_list_head); in iavf_set_adv_rss_hash_opt()
1685 kfree(rss_new); in iavf_set_adv_rss_hash_opt()