Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drss.c576 struct mlx5e_rss *old_rss; in mlx5e_rss_set_rxfh() local
579 old_rss = mlx5e_rss_init_copy(rss); in mlx5e_rss_set_rxfh()
580 if (IS_ERR(old_rss)) in mlx5e_rss_set_rxfh()
581 return PTR_ERR(old_rss); in mlx5e_rss_set_rxfh()
614 mlx5e_rss_copy(rss, old_rss); in mlx5e_rss_set_rxfh()
623 mlx5e_rss_params_indir_cleanup(&old_rss->indir); in mlx5e_rss_set_rxfh()
624 kvfree(old_rss); in mlx5e_rss_set_rxfh()
/linux/drivers/net/
H A Dvirtio_net.c3414 struct virtio_net_ctrl_rss old_rss; in virtnet_set_queues() local
3429 memcpy(&old_rss, &vi->rss, sizeof(old_rss)); in virtnet_set_queues()
3431 vi->rss.indirection_table = old_rss.indirection_table; in virtnet_set_queues()
3440 memcpy(&vi->rss, &old_rss, sizeof(old_rss)); in virtnet_set_queues()
3446 rss_indirection_table_free(&old_rss); in virtnet_set_queues()