Searched refs:tmpl_idx (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.c | 582 int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_set_indir_tbl() argument 610 indir_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_rss_set_indir_tbl() 653 int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_get_indir_tbl() argument 664 rss_cfg.template_id = tmpl_idx; in hinic_rss_get_indir_tbl() 683 int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_set_rss_type() argument 720 ctx_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_set_rss_type() 743 int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_get_rss_type() argument 760 ctx_tbl.template_id = tmpl_idx; in hinic_get_rss_type() 811 int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_get_template_tbl() argument 828 temp_key.template_id = tmpl_idx; in hinic_rss_get_template_tbl() [all …]
|
D | hinic_port.h | 794 int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 797 int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 808 int hinic_rss_template_alloc(struct hinic_dev *nic_dev, u8 *tmpl_idx); 810 int hinic_rss_template_free(struct hinic_dev *nic_dev, u8 tmpl_idx); 814 int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 817 int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 820 int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 823 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()
|