Lines Matching refs:indir_size
3765 u32 indir_size, u32 *indir) in print_indir_table() argument
3772 if (!indir_size) in print_indir_table()
3775 for (i = 0; i < indir_size; i++) { in print_indir_table()
3779 if (i % 8 == 7 || i == indir_size - 1) in print_indir_table()
3862 rss_head.indir_size * sizeof(rss_head.rss_config[0]) + in do_grxfh()
3871 rss->indir_size = rss_head.indir_size; in do_grxfh()
3880 print_indir_table(ctx, &ring_count, rss->indir_size, rss->rss_config); in do_grxfh()
3882 indir_bytes = rss->indir_size * sizeof(rss->rss_config[0]); in do_grxfh()
3920 static int fill_indir_table(u32 *indir_size, u32 *indir, int rxfhindir_default, in fill_indir_table() argument
3927 for (i = 0; i < *indir_size; i++) in fill_indir_table()
3943 if (sum > *indir_size) { in fill_indir_table()
3951 for (i = 0; i < *indir_size; i++) { in fill_indir_table()
3952 while (i >= (*indir_size) * partial / sum) { in fill_indir_table()
3961 *indir_size = 0; in fill_indir_table()
3963 *indir_size = ETH_RXFH_INDIR_NO_CHANGE; in fill_indir_table()
4183 indir_bytes = rss_head.indir_size * entry_size; in do_srxfh()
4219 rss->indir_size = rss->key_size = 0; in do_srxfh()
4221 rss->indir_size = rss_head.indir_size; in do_srxfh()
4223 if (fill_indir_table(&rss->indir_size, rss->rss_config, in do_srxfh()