Lines Matching defs:indir_size
17 u32 indir_size;
122 data->indir_size = 0;
125 data->indir_size = ops->get_rxfh_indir_size(dev);
129 indir_bytes = data->indir_size * sizeof(u32);
135 if (data->indir_size)
165 rxfh.indir_size = data->indir_size;
186 if (WARN_ON_ONCE(data->indir_size != ctx->indir_size ||
195 data->indir_size * sizeof(u32));
217 data->indir_size = ctx->indir_size;
220 indir_bytes = data->indir_size * sizeof(u32);
286 nla_total_size(sizeof(u32) * data->indir_size) + /* _RSS_INDIR */
306 if ((data->indir_size &&
308 sizeof(u32) * data->indir_size, data->indir_table)))
632 if (!data->indir_size)
652 } else if (data->indir_size % user_size) {
655 user_size, data->indir_size);
659 rxfh->indir_size = data->indir_size;
660 alloc_size = array_size(data->indir_size, sizeof(rxfh->indir[0]));
679 for (i = user_size; i < data->indir_size; i++)
682 for (i = 0; i < data->indir_size; i++)
687 *mod |= memcmp(rxfh->indir, data->indir_table, data->indir_size);
809 for (i = 0; i < data->indir_size; i++)
1055 ctx = ethtool_rxfh_ctx_alloc(ops, data.indir_size, data.hkey_size);