Searched refs:rule_num (Results 1 – 3 of 3) sorted by relevance
1588 u32 rule_num = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_dbg_dump_fd_tcam() local1601 if (!hdev->hclge_fd_rule_num || !rule_num) in hclge_dbg_dump_fd_tcam()1604 rule_locs = kcalloc(rule_num, sizeof(u16), GFP_KERNEL); in hclge_dbg_dump_fd_tcam()
698 u32 rule_num[MAX_STAGE_NUM]; /* rule entry number */ member
5532 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1], in hclge_init_fd_config()5533 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_2], in hclge_init_fd_config()6120 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_fd_check_spec()6124 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1] - 1); in hclge_fd_check_spec()6545 if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_del_fd_entry()6579 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_clear_fd_rules_in_list()6592 hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]); in hclge_clear_fd_rules_in_list()6646 cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_get_fd_rule_cnt()6926 cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]; in hclge_get_all_rules()7046 if (bit_id >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_add_fd_entry_by_arfs()[all …]