Searched refs:rule_num (Results 1 – 3 of 3) sorted by relevance
1568 u32 rule_num = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_dbg_dump_fd_tcam() local1581 if (!hdev->hclge_fd_rule_num || !rule_num) in hclge_dbg_dump_fd_tcam()1584 rule_locs = kcalloc(rule_num, sizeof(u16), GFP_KERNEL); in hclge_dbg_dump_fd_tcam()
687 u32 rule_num[MAX_STAGE_NUM]; /* rule entry number */ member
5581 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1], in hclge_init_fd_config()5582 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_2], in hclge_init_fd_config()6169 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_fd_check_spec()6173 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1] - 1); in hclge_fd_check_spec()6600 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_del_fd_entry()6634 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_clear_fd_rules_in_list()6647 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]); in hclge_clear_fd_rules_in_list()6701 cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_get_fd_rule_cnt()6981 cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_get_all_rules()7101 if (bit_id >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_add_fd_entry_by_arfs()[all …]