Lines Matching refs:rss_cfg
656 struct hinic_rss_indir_table rss_cfg = { 0 }; in hinic_rss_get_indir_tbl() local
660 u16 out_size = sizeof(rss_cfg); in hinic_rss_get_indir_tbl()
663 rss_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_get_indir_tbl()
664 rss_cfg.template_id = tmpl_idx; in hinic_rss_get_indir_tbl()
668 &rss_cfg, sizeof(rss_cfg), &rss_cfg, in hinic_rss_get_indir_tbl()
670 if (err || !out_size || rss_cfg.status) { in hinic_rss_get_indir_tbl()
672 err, rss_cfg.status, out_size); in hinic_rss_get_indir_tbl()
676 hinic_be32_to_cpu(rss_cfg.indir, HINIC_RSS_INDIR_SIZE); in hinic_rss_get_indir_tbl()
678 indir_table[i] = rss_cfg.indir[i]; in hinic_rss_get_indir_tbl()
905 struct hinic_rss_config rss_cfg = { 0 }; in hinic_rss_cfg() local
908 u16 out_size = sizeof(rss_cfg); in hinic_rss_cfg()
911 rss_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_cfg()
912 rss_cfg.rss_en = rss_en; in hinic_rss_cfg()
913 rss_cfg.template_id = template_id; in hinic_rss_cfg()
914 rss_cfg.rq_priority_number = 0; in hinic_rss_cfg()
917 &rss_cfg, sizeof(rss_cfg), in hinic_rss_cfg()
918 &rss_cfg, &out_size); in hinic_rss_cfg()
919 if (err || !out_size || rss_cfg.status) { in hinic_rss_cfg()
922 err, rss_cfg.status, out_size); in hinic_rss_cfg()