Searched refs:rule_num (Results 1 – 3 of 3) sorted by relevance
1520 u32 rule_num = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_dbg_dump_fd_tcam() local1533 if (!hdev->hclge_fd_rule_num || !rule_num) in hclge_dbg_dump_fd_tcam()1536 rule_locs = kcalloc(rule_num, sizeof(u16), GFP_KERNEL); in hclge_dbg_dump_fd_tcam()
674 u32 rule_num[MAX_STAGE_NUM]; /* rule entry number */ member
5706 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1], in hclge_init_fd_config()5707 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_2], in hclge_init_fd_config()6294 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_fd_check_spec()6298 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1] - 1); in hclge_fd_check_spec()6725 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_del_fd_entry()6762 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_clear_fd_rules_in_list()6775 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]); in hclge_clear_fd_rules_in_list()6826 cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_get_fd_rule_cnt()7090 cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_get_all_rules()7210 if (bit_id >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_add_fd_entry_by_arfs()[all …]