Home
last modified time | relevance | path

Searched refs:mpls_push (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c42 if (act->mpls_push.bos != ACT_MPLS_BOS_NOT_SET) { in nfp_fl_push_mpls()
43 mpls_lse |= act->mpls_push.bos << MPLS_LS_S_SHIFT; in nfp_fl_push_mpls()
50 if (act->mpls_push.tc != ACT_MPLS_TC_NOT_SET) in nfp_fl_push_mpls()
51 mpls_lse |= act->mpls_push.tc << MPLS_LS_TC_SHIFT; in nfp_fl_push_mpls()
54 mpls_lse |= act->mpls_push.label << MPLS_LS_LABEL_SHIFT; in nfp_fl_push_mpls()
55 mpls_lse |= act->mpls_push.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_push_mpls()
56 push_mpls->ethtype = act->mpls_push.proto; in nfp_fl_push_mpls()
/Linux-v5.4/include/net/
Dflow_offload.h206 } mpls_push; member
/Linux-v5.4/net/sched/
Dcls_api.c3547 entry->mpls_push.proto = tcf_mpls_proto(act); in tc_setup_flow_action()
3548 entry->mpls_push.label = tcf_mpls_label(act); in tc_setup_flow_action()
3549 entry->mpls_push.tc = tcf_mpls_tc(act); in tc_setup_flow_action()
3550 entry->mpls_push.bos = tcf_mpls_bos(act); in tc_setup_flow_action()
3551 entry->mpls_push.ttl = tcf_mpls_ttl(act); in tc_setup_flow_action()
/Linux-v5.4/net/core/
Dpktgen.c2597 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push() function
2760 mpls_push(mpls, pkt_dev); in fill_packet_ipv4()
2888 mpls_push(mpls, pkt_dev); in fill_packet_ipv6()