Searched refs:tmpl_idx (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/huawei/hinic/ |
| D | hinic_port.c | 578 int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_set_indir_tbl() argument 606 indir_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_rss_set_indir_tbl() 649 int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_get_indir_tbl() argument 660 rss_cfg.template_id = tmpl_idx; in hinic_rss_get_indir_tbl() 679 int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_set_rss_type() argument 716 ctx_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_set_rss_type() 739 int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_get_rss_type() argument 756 ctx_tbl.template_id = tmpl_idx; in hinic_get_rss_type() 807 int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, in hinic_rss_get_template_tbl() argument 824 temp_key.template_id = tmpl_idx; in hinic_rss_get_template_tbl() [all …]
|
| D | hinic_port.h | 546 int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 549 int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 560 int hinic_rss_template_alloc(struct hinic_dev *nic_dev, u8 *tmpl_idx); 562 int hinic_rss_template_free(struct hinic_dev *nic_dev, u8 tmpl_idx); 566 int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, 569 int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 572 int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, 575 int hinic_rss_get_hash_engine(struct hinic_dev *nic_dev, u8 tmpl_idx,
|
| D | hinic_main.c | 260 u8 tmpl_idx = nic_dev->rss_tmpl_idx; in hinic_rss_init() local 272 err = hinic_rss_set_template_tbl(nic_dev, tmpl_idx, default_rss_key); in hinic_rss_init() 276 err = hinic_rss_set_indir_tbl(nic_dev, tmpl_idx, indir_tbl); in hinic_rss_init() 280 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); in hinic_rss_init() 284 err = hinic_rss_set_hash_engine(nic_dev, tmpl_idx, in hinic_rss_init() 289 err = hinic_rss_cfg(nic_dev, 1, tmpl_idx); in hinic_rss_init()
|