Searched refs:fd_cfg (Results 1 – 3 of 3) sorted by relevance
4954 stage = &hdev->fd_cfg.key_cfg[stage_num]; in hclge_set_fd_key_config()4980 ret = hclge_get_fd_mode(hdev, &hdev->fd_cfg.fd_mode); in hclge_init_fd_config()4984 switch (hdev->fd_cfg.fd_mode) { in hclge_init_fd_config()4986 hdev->fd_cfg.max_key_length = MAX_KEY_LENGTH; in hclge_init_fd_config()4989 hdev->fd_cfg.max_key_length = MAX_KEY_LENGTH / 2; in hclge_init_fd_config()4994 hdev->fd_cfg.fd_mode); in hclge_init_fd_config()4998 key_cfg = &hdev->fd_cfg.key_cfg[HCLGE_FD_STAGE_1]; in hclge_init_fd_config()5011 if (hdev->fd_cfg.fd_mode == HCLGE_FD_MODE_DEPTH_2K_WIDTH_400B_STAGE_1) in hclge_init_fd_config()5021 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1], in hclge_init_fd_config()5022 &hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_2], in hclge_init_fd_config()[all …]
817 struct hclge_fd_cfg fd_cfg; member
1090 !hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) in hclge_dbg_fd_tcam()1093 rule_locs = kcalloc(hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1], in hclge_dbg_fd_tcam()