• Home
  • Raw
  • Download

Lines Matching refs:ad_data

5085 	u64 ad_data = 0;  in hclge_fd_ad_config()  local
5094 hnae3_set_bit(ad_data, HCLGE_FD_AD_WR_RULE_ID_B, in hclge_fd_ad_config()
5096 hnae3_set_field(ad_data, HCLGE_FD_AD_RULE_ID_M, HCLGE_FD_AD_RULE_ID_S, in hclge_fd_ad_config()
5098 ad_data <<= 32; in hclge_fd_ad_config()
5099 hnae3_set_bit(ad_data, HCLGE_FD_AD_DROP_B, action->drop_packet); in hclge_fd_ad_config()
5100 hnae3_set_bit(ad_data, HCLGE_FD_AD_DIRECT_QID_B, in hclge_fd_ad_config()
5102 hnae3_set_field(ad_data, HCLGE_FD_AD_QID_M, HCLGE_FD_AD_QID_S, in hclge_fd_ad_config()
5104 hnae3_set_bit(ad_data, HCLGE_FD_AD_USE_COUNTER_B, action->use_counter); in hclge_fd_ad_config()
5105 hnae3_set_field(ad_data, HCLGE_FD_AD_COUNTER_NUM_M, in hclge_fd_ad_config()
5107 hnae3_set_bit(ad_data, HCLGE_FD_AD_NXT_STEP_B, action->use_next_stage); in hclge_fd_ad_config()
5108 hnae3_set_field(ad_data, HCLGE_FD_AD_NXT_KEY_M, HCLGE_FD_AD_NXT_KEY_S, in hclge_fd_ad_config()
5111 req->ad_data = cpu_to_le64(ad_data); in hclge_fd_ad_config()
5341 struct hclge_fd_ad_data ad_data; in hclge_config_action() local
5343 ad_data.ad_id = rule->location; in hclge_config_action()
5346 ad_data.drop_packet = true; in hclge_config_action()
5347 ad_data.forward_to_direct_queue = false; in hclge_config_action()
5348 ad_data.queue_id = 0; in hclge_config_action()
5350 ad_data.drop_packet = false; in hclge_config_action()
5351 ad_data.forward_to_direct_queue = true; in hclge_config_action()
5352 ad_data.queue_id = rule->queue_id; in hclge_config_action()
5355 ad_data.use_counter = false; in hclge_config_action()
5356 ad_data.counter_id = 0; in hclge_config_action()
5358 ad_data.use_next_stage = false; in hclge_config_action()
5359 ad_data.next_input_key = 0; in hclge_config_action()
5361 ad_data.write_rule_id_to_bd = true; in hclge_config_action()
5362 ad_data.rule_id = rule->location; in hclge_config_action()
5364 return hclge_fd_ad_config(hdev, stage, ad_data.ad_id, &ad_data); in hclge_config_action()