HCLGE_FD_STAGE_1
rule_num = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1];
tcam_msg.stage = HCLGE_FD_STAGE_1;
key_cfg = &hdev->fd_cfg.key_cfg[HCLGE_FD_STAGE_1];
&hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1],
&hdev->fd_cfg.cnt_num[HCLGE_FD_STAGE_1],
return hclge_set_fd_key_config(hdev, HCLGE_FD_STAGE_1);
if (hdev->fd_cfg.cnt_num[HCLGE_FD_STAGE_1]) {
hdev->fd_cfg.cnt_num[HCLGE_FD_STAGE_1];
u32 tuple_active = hdev->fd_cfg.key_cfg[HCLGE_FD_STAGE_1].tuple_active;
if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) {
hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1] - 1);
ret = hclge_config_action(hdev, HCLGE_FD_STAGE_1, rule);
return hclge_config_key(hdev, HCLGE_FD_STAGE_1, rule);
if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1])
ret = hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true, fs->location,
hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1])
hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true, location,
hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]);
cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1];
cmd->data = hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1];
if (bit_id >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) {
ret = hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true,
prio > hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) {
prio, hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]);
ret = hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true, rule->location,
ret = hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true,