Searched refs:mpls_push (Results 1 – 5 of 5) sorted by relevance
43 if (act->mpls_push.bos != ACT_MPLS_BOS_NOT_SET) { in nfp_fl_push_mpls()44 mpls_lse |= act->mpls_push.bos << MPLS_LS_S_SHIFT; in nfp_fl_push_mpls()51 if (act->mpls_push.tc != ACT_MPLS_TC_NOT_SET) in nfp_fl_push_mpls()52 mpls_lse |= act->mpls_push.tc << MPLS_LS_TC_SHIFT; in nfp_fl_push_mpls()55 mpls_lse |= act->mpls_push.label << MPLS_LS_LABEL_SHIFT; in nfp_fl_push_mpls()56 mpls_lse |= act->mpls_push.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_push_mpls()57 push_mpls->ethtype = act->mpls_push.proto; in nfp_fl_push_mpls()
255 } mpls_push; member
3679 entry->mpls_push.proto = tcf_mpls_proto(act); in tc_setup_flow_action()3680 entry->mpls_push.label = tcf_mpls_label(act); in tc_setup_flow_action()3681 entry->mpls_push.tc = tcf_mpls_tc(act); in tc_setup_flow_action()3682 entry->mpls_push.bos = tcf_mpls_bos(act); in tc_setup_flow_action()3683 entry->mpls_push.ttl = tcf_mpls_ttl(act); in tc_setup_flow_action()
2597 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push() function2760 mpls_push(mpls, pkt_dev); in fill_packet_ipv4()2888 mpls_push(mpls, pkt_dev); in fill_packet_ipv6()
4125 bool mpls_push = false; in parse_tc_fdb_actions() local4156 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in parse_tc_fdb_actions()4161 mpls_push = true; in parse_tc_fdb_actions()4216 if (mpls_push && !netif_is_bareudp(out_dev)) { in parse_tc_fdb_actions()