Searched refs:tmpl_idx (Results 1 – 3 of 3) sorted by relevance
/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 | 793 int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 796 int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 807 int hinic_rss_template_alloc(struct hinic_dev *nic_dev, u8 *tmpl_idx); 809 int hinic_rss_template_free(struct hinic_dev *nic_dev, u8 tmpl_idx); 813 int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 816 int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 819 int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 822 int hinic_rss_get_hash_engine(struct hinic_dev *nic_dev, u8 tmpl_idx,
|
D | hinic_main.c | 312 u8 tmpl_idx = nic_dev->rss_tmpl_idx; in hinic_rss_init() local 324 err = hinic_rss_set_template_tbl(nic_dev, tmpl_idx, default_rss_key); in hinic_rss_init() 328 err = hinic_rss_set_indir_tbl(nic_dev, tmpl_idx, indir_tbl); in hinic_rss_init() 332 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); in hinic_rss_init() 336 err = hinic_rss_set_hash_engine(nic_dev, tmpl_idx, in hinic_rss_init() 341 err = hinic_rss_cfg(nic_dev, 1, tmpl_idx); in hinic_rss_init()
|