Lines Matching refs:rss
268 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_set_flowkey_cfg() local
280 req->flowkey_cfg = rss->flowkey_cfg; in otx2_set_flowkey_cfg()
302 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_set_rss_table() local
303 const int index = rss->rss_size * ctx_id; in otx2_set_rss_table()
310 rss_ctx = rss->rss_ctx[ctx_id]; in otx2_set_rss_table()
312 for (idx = 0; idx < rss->rss_size; idx++) { in otx2_set_rss_table()
330 aq->rss.rq = rss_ctx->ind_tbl[idx]; in otx2_set_rss_table()
344 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_set_rss_key() local
345 u64 *key = (u64 *)&rss->key[4]; in otx2_set_rss_key()
357 (u64)(*((u32 *)&rss->key)) << 32); in otx2_set_rss_key()
358 idx = sizeof(rss->key) / sizeof(u64); in otx2_set_rss_key()
367 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_rss_init() local
371 rss->rss_size = sizeof(*rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP]); in otx2_rss_init()
374 if (!rss->enable) in otx2_rss_init()
375 netdev_rss_key_fill(rss->key, sizeof(rss->key)); in otx2_rss_init()
380 rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP] = kzalloc(rss->rss_size, in otx2_rss_init()
382 if (!rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP]) in otx2_rss_init()
385 rss_ctx = rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP]; in otx2_rss_init()
386 for (idx = 0; idx < rss->rss_size; idx++) in otx2_rss_init()
396 rss->flowkey_cfg = rss->enable ? rss->flowkey_cfg : in otx2_rss_init()
406 rss->enable = true; in otx2_rss_init()