Searched refs:rule_num (Results 1 – 3 of 3) sorted by relevance
2233 u32 rule_num = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_dbg_dump_fd_tcam() local2246 if (!hdev->hclge_fd_rule_num || !rule_num) in hclge_dbg_dump_fd_tcam()2249 rule_locs = kcalloc(rule_num, sizeof(u16), GFP_KERNEL); in hclge_dbg_dump_fd_tcam()
716 u32 rule_num[MAX_STAGE_NUM]; /* rule entry number */ member
5589 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1], in hclge_init_fd_config()5590 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_2], in hclge_init_fd_config()6177 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_fd_check_spec()6181 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1] - 1); in hclge_fd_check_spec()6602 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_del_fd_entry()6636 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_clear_fd_rules_in_list()6649 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]); in hclge_clear_fd_rules_in_list()6703 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 …]