Lines Matching refs:act
39 (offsetof(struct ice_aqc_sw_rules_elem, pdata.lg_act.act) + \
40 ((n) * sizeof(((struct ice_sw_rule_lg_act *)0)->act[0])))
711 u32 act = 0; in ice_fill_sw_rule() local
716 s_rule->pdata.lkup_tx_rx.act = 0; in ice_fill_sw_rule()
732 act |= (f_info->fwd_id.hw_vsi_id << ICE_SINGLE_ACT_VSI_ID_S) & in ice_fill_sw_rule()
735 act |= ICE_SINGLE_ACT_VSI_FORWARDING | in ice_fill_sw_rule()
739 act |= ICE_SINGLE_ACT_VSI_LIST; in ice_fill_sw_rule()
740 act |= (f_info->fwd_id.vsi_list_id << in ice_fill_sw_rule()
744 act |= ICE_SINGLE_ACT_VSI_FORWARDING | in ice_fill_sw_rule()
748 act |= ICE_SINGLE_ACT_TO_Q; in ice_fill_sw_rule()
749 act |= (f_info->fwd_id.q_id << ICE_SINGLE_ACT_Q_INDEX_S) & in ice_fill_sw_rule()
753 act |= ICE_SINGLE_ACT_VSI_FORWARDING | ICE_SINGLE_ACT_DROP | in ice_fill_sw_rule()
759 act |= ICE_SINGLE_ACT_TO_Q; in ice_fill_sw_rule()
760 act |= (f_info->fwd_id.q_id << ICE_SINGLE_ACT_Q_INDEX_S) & in ice_fill_sw_rule()
762 act |= (q_rgn << ICE_SINGLE_ACT_Q_REGION_S) & in ice_fill_sw_rule()
770 act |= ICE_SINGLE_ACT_LB_ENABLE; in ice_fill_sw_rule()
772 act |= ICE_SINGLE_ACT_LAN_ENABLE; in ice_fill_sw_rule()
782 act |= ICE_SINGLE_ACT_PRUNE; in ice_fill_sw_rule()
783 act |= ICE_SINGLE_ACT_EGRESS | ICE_SINGLE_ACT_INGRESS; in ice_fill_sw_rule()
814 s_rule->pdata.lkup_tx_rx.act = cpu_to_le32(act); in ice_fill_sw_rule()
853 u32 act; in ice_add_marker_act() local
883 act = ICE_LG_ACT_VSI_FORWARDING | ICE_LG_ACT_VALID_BIT; in ice_add_marker_act()
884 act |= (id << ICE_LG_ACT_VSI_LIST_ID_S) & ICE_LG_ACT_VSI_LIST_ID_M; in ice_add_marker_act()
886 act |= ICE_LG_ACT_VSI_LIST; in ice_add_marker_act()
887 lg_act->pdata.lg_act.act[0] = cpu_to_le32(act); in ice_add_marker_act()
890 act = ICE_LG_ACT_GENERIC; in ice_add_marker_act()
892 act |= (1 << ICE_LG_ACT_GENERIC_VALUE_S) & ICE_LG_ACT_GENERIC_VALUE_M; in ice_add_marker_act()
893 lg_act->pdata.lg_act.act[1] = cpu_to_le32(act); in ice_add_marker_act()
895 act = (ICE_LG_ACT_GENERIC_OFF_RX_DESC_PROF_IDX << in ice_add_marker_act()
899 act |= ICE_LG_ACT_GENERIC; in ice_add_marker_act()
900 act |= (sw_marker << ICE_LG_ACT_GENERIC_VALUE_S) & in ice_add_marker_act()
903 lg_act->pdata.lg_act.act[2] = cpu_to_le32(act); in ice_add_marker_act()
910 rx_tx->pdata.lkup_tx_rx.act = in ice_add_marker_act()