Searched refs:tmpl_idx (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.c | 597 int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_set_indir_tbl() argument 625 indir_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_rss_set_indir_tbl() 668 int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_get_indir_tbl() argument 679 rss_cfg.template_id = tmpl_idx; in hinic_rss_get_indir_tbl() 698 int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_set_rss_type() argument 735 ctx_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_set_rss_type() 758 int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_get_rss_type() argument 775 ctx_tbl.template_id = tmpl_idx; in hinic_get_rss_type() 826 int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_get_template_tbl() argument 843 temp_key.template_id = tmpl_idx; in hinic_rss_get_template_tbl() [all …]
|
D | hinic_port.h | 804 int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 807 int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 818 int hinic_rss_template_alloc(struct hinic_dev *nic_dev, u8 *tmpl_idx); 820 int hinic_rss_template_free(struct hinic_dev *nic_dev, u8 tmpl_idx); 824 int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 827 int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 830 int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 833 int hinic_rss_get_hash_engine(struct hinic_dev *nic_dev, u8 tmpl_idx,
|
D | hinic_main.c | 305 u8 tmpl_idx = nic_dev->rss_tmpl_idx; in hinic_rss_init() local 317 err = hinic_rss_set_template_tbl(nic_dev, tmpl_idx, default_rss_key); in hinic_rss_init() 321 err = hinic_rss_set_indir_tbl(nic_dev, tmpl_idx, indir_tbl); in hinic_rss_init() 325 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); in hinic_rss_init() 329 err = hinic_rss_set_hash_engine(nic_dev, tmpl_idx, in hinic_rss_init() 334 err = hinic_rss_cfg(nic_dev, 1, tmpl_idx); in hinic_rss_init()
|