Lines Matching refs:p_config
436 struct eth_vport_rss_config *p_config; in qed_sp_vport_update_rss() local
445 p_config = &p_ramrod->rss_config; in qed_sp_vport_update_rss()
449 rc = qed_fw_rss_eng(p_hwfn, p_rss->rss_eng_id, &p_config->rss_id); in qed_sp_vport_update_rss()
454 p_config->update_rss_capabilities = p_rss->update_rss_capabilities; in qed_sp_vport_update_rss()
455 p_config->update_rss_ind_table = p_rss->update_rss_ind_table; in qed_sp_vport_update_rss()
456 p_config->update_rss_key = p_rss->update_rss_key; in qed_sp_vport_update_rss()
458 p_config->rss_mode = p_rss->rss_enable ? in qed_sp_vport_update_rss()
480 p_config->tbl_size = p_rss->rss_table_size_log; in qed_sp_vport_update_rss()
482 p_config->capabilities = cpu_to_le16(capabilities); in qed_sp_vport_update_rss()
487 p_config->rss_mode, in qed_sp_vport_update_rss()
488 p_config->update_rss_capabilities, in qed_sp_vport_update_rss()
489 p_config->capabilities, in qed_sp_vport_update_rss()
490 p_config->update_rss_ind_table, p_config->update_rss_key); in qed_sp_vport_update_rss()
493 1 << p_config->tbl_size); in qed_sp_vport_update_rss()
500 p_config->indirection_table[i] = in qed_sp_vport_update_rss()
511 le16_to_cpu(p_config->indirection_table[i]), in qed_sp_vport_update_rss()
512 le16_to_cpu(p_config->indirection_table[i + 1]), in qed_sp_vport_update_rss()
513 le16_to_cpu(p_config->indirection_table[i + 2]), in qed_sp_vport_update_rss()
514 le16_to_cpu(p_config->indirection_table[i + 3]), in qed_sp_vport_update_rss()
515 le16_to_cpu(p_config->indirection_table[i + 4]), in qed_sp_vport_update_rss()
516 le16_to_cpu(p_config->indirection_table[i + 5]), in qed_sp_vport_update_rss()
517 le16_to_cpu(p_config->indirection_table[i + 6]), in qed_sp_vport_update_rss()
518 le16_to_cpu(p_config->indirection_table[i + 7]), in qed_sp_vport_update_rss()
519 le16_to_cpu(p_config->indirection_table[i + 8]), in qed_sp_vport_update_rss()
520 le16_to_cpu(p_config->indirection_table[i + 9]), in qed_sp_vport_update_rss()
521 le16_to_cpu(p_config->indirection_table[i + 10]), in qed_sp_vport_update_rss()
522 le16_to_cpu(p_config->indirection_table[i + 11]), in qed_sp_vport_update_rss()
523 le16_to_cpu(p_config->indirection_table[i + 12]), in qed_sp_vport_update_rss()
524 le16_to_cpu(p_config->indirection_table[i + 13]), in qed_sp_vport_update_rss()
525 le16_to_cpu(p_config->indirection_table[i + 14]), in qed_sp_vport_update_rss()
526 le16_to_cpu(p_config->indirection_table[i + 15])); in qed_sp_vport_update_rss()
530 p_config->rss_key[i] = cpu_to_le32(p_rss->rss_key[i]); in qed_sp_vport_update_rss()