Home
last modified time | relevance | path

Searched refs:sw_act (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_switch.c5851 return first->sw_act.flag == second->sw_act.flag && in ice_rules_equal()
5929 if (cur_fltr->sw_act.fltr_act == ICE_FWD_TO_Q || in ice_adv_add_update_vsi_list()
5930 cur_fltr->sw_act.fltr_act == ICE_FWD_TO_QGRP || in ice_adv_add_update_vsi_list()
5931 cur_fltr->sw_act.fltr_act == ICE_DROP_PACKET) in ice_adv_add_update_vsi_list()
5934 if ((new_fltr->sw_act.fltr_act == ICE_FWD_TO_Q || in ice_adv_add_update_vsi_list()
5935 new_fltr->sw_act.fltr_act == ICE_FWD_TO_QGRP) && in ice_adv_add_update_vsi_list()
5936 (cur_fltr->sw_act.fltr_act == ICE_FWD_TO_VSI || in ice_adv_add_update_vsi_list()
5937 cur_fltr->sw_act.fltr_act == ICE_FWD_TO_VSI_LIST)) in ice_adv_add_update_vsi_list()
5949 if (cur_fltr->sw_act.fwd_id.hw_vsi_id == in ice_adv_add_update_vsi_list()
5950 new_fltr->sw_act.fwd_id.hw_vsi_id) in ice_adv_add_update_vsi_list()
[all …]
Dice_tc_lib.c750 rule_info.sw_act.fltr_act = fltr->action.fltr_act; in ice_eswitch_add_tc_fltr()
752 rule_info.sw_act.vsi_handle = fltr->dest_vsi->idx; in ice_eswitch_add_tc_fltr()
764 rule_info.sw_act.flag |= ICE_FLTR_RX; in ice_eswitch_add_tc_fltr()
765 rule_info.sw_act.src = hw->pf_id; in ice_eswitch_add_tc_fltr()
770 rule_info.sw_act.flag |= ICE_FLTR_TX; in ice_eswitch_add_tc_fltr()
771 rule_info.sw_act.src = vsi->idx; in ice_eswitch_add_tc_fltr()
775 rule_info.sw_act.flag |= ICE_FLTR_TX; in ice_eswitch_add_tc_fltr()
776 rule_info.sw_act.src = vsi->idx; in ice_eswitch_add_tc_fltr()
974 rule_info.sw_act.fltr_act = tc_fltr->action.fltr_act; in ice_add_tc_flower_adv_fltr()
980 rule_info.sw_act.vsi_handle = dest_vsi->idx; in ice_add_tc_flower_adv_fltr()
[all …]
Dice_eswitch_br.c73 rule_info->sw_act.vsi_handle = vf_vsi_idx; in ice_eswitch_br_ingress_rule_setup()
74 rule_info->sw_act.flag |= ICE_FLTR_RX; in ice_eswitch_br_ingress_rule_setup()
75 rule_info->sw_act.src = pf_id; in ice_eswitch_br_ingress_rule_setup()
83 rule_info->sw_act.vsi_handle = pf_vsi_idx; in ice_eswitch_br_egress_rule_setup()
84 rule_info->sw_act.flag |= ICE_FLTR_TX; in ice_eswitch_br_egress_rule_setup()
163 rule_info.sw_act.fltr_act = ICE_FWD_TO_VSI; in ice_eswitch_br_fwd_rule_create()
208 rule_info.sw_act.vsi_handle = vsi_idx; in ice_eswitch_br_guard_rule_create()
209 rule_info.sw_act.fltr_act = ICE_NOP; in ice_eswitch_br_guard_rule_create()
Dice_eswitch.c37 rule_info.sw_act.flag = ICE_FLTR_TX; in ice_eswitch_add_vf_sp_rule()
38 rule_info.sw_act.vsi_handle = ctrl_vsi->idx; in ice_eswitch_add_vf_sp_rule()
39 rule_info.sw_act.fltr_act = ICE_FWD_TO_Q; in ice_eswitch_add_vf_sp_rule()
40 rule_info.sw_act.fwd_id.q_id = hw->func_caps.common_cap.rxq_first_id + in ice_eswitch_add_vf_sp_rule()
Dice_switch.h207 struct ice_sw_act_ctrl sw_act; member